Saturday, February 27, 2016

ifort command not found

After install Intel FORTRAN on Ubuntu, compiling fortran source code gives:


ifort: command not found
This is because the current user doesn't have correct environment variables. Run

source /opt/intel/compilers_and_libraries_2016.2.181/linux/bin/ifortvars.sh intel64
or add this line to the .bashrc file at home directory.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home