ifort: command not found

I have downloaded and installed Intel Parallel_Studio_xe_2016_update1. After that I have edited my .bashrc file and compiled two programs. After closing the terminal, I have tried to compile again and then I got ifort not found. My .bashrc contains:

PATH=/opt/intel/parallel_studio_xe_2016.1.056/compilers_and_libraries_2016/linux/bin:$PATH
export PATH

If I do:

source /opt/intel/parallel_studio_xe_2016.1.056/compilers_and_libraries_2016/linux/bin/ifortvars.sh intel64

I can compile fortran code. But when I close the terminal, in a new terminal compiling is not available. What's the problem?

4

1 Answer

You say that after you do this in the terminal, you are able to compile Fortran code:

source /opt/intel/parallel_studio_xe_2016.1.056/compilers_and_libraries_2016/linux/bin/ifortvars.sh intel64

So add it to your .bashrc file. After that, when you open a new terminal, you should be able to compile.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like