Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

setting the paths for MKL library and ifort compiler

$
0
0

Hi everybody

I downloaded the MKL package from this link https://software.intel.com/en-us/articles/free_mkl and installed it successfully. Now, I would like to run some examples included in the folder /mkl/examples but obviously I need the ifort compiler. I guess that the ifort compiler is included in some of the folders within the main folder, but I don't know how to set the environment variables for ifort in the .bashrc file. I added the following lines

# add the intel compilers to the PATH
export PATH=/home/oscar/tmp/psxe_staging_area/bin:$PATH

# add MKL and the compiler libs to the path
export LD_LIBRARY_PATH=/home/oscar/tmp/psxe_staging_area/mkl/lib/intel64/:$$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/oscar/tmp/psxe_staging_area/lib/intel64/:$LD_LIBRARY_PATH

and updated the file, but, when I use the ifort command in the terminal I still get

ifort: command not found

Am I missing something? I will really appreciate if someone could give me some insight on the problem at hand. Thank you in advance for your help.


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>