Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
53 Views

setting the paths for MKL library and ifort compiler

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.

0 Kudos
1 Reply
Highlighted
53 Views

No compilers are provided in that free libraries package. It is libraries only and assumes you already have a compiler.

If you are a student or open-source developer you may qualify for a free compiler license. See https://software.intel.com/en-us/qualify-for-free-software

0 Kudos