Before you first invoke the compiler, you need to set the environment variables to specify locations for the various components.
The Intel Fortran Compiler installation includes a shell script that you can use to set environment variables.
Use the source command to execute the shell script from the command line. For example, to execute this script file for the bash shell:
If you use the C shell, use the .csh version of this script file:
If you want ifortvars.sh to run automatically when you start Linux*, edit your .bash_profile file and add the line above to the end of your file. For example:
# set up environment for Intel compiler