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 PATHIf I do:
source /opt/intel/parallel_studio_xe_2016.1.056/compilers_and_libraries_2016/linux/bin/ifortvars.sh intel64I can compile fortran code. But when I close the terminal, in a new terminal compiling is not available. What's the problem?
41 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 intel64So add it to your .bashrc file. After that, when you open a new terminal, you should be able to compile.