Setting Up the Compiler Environment
The programs in the Intel Fortran Compiler 9.0 for Linux product rely on the environment variables PATH and LD_LIBRARY_PATH. The installation script (install.sh) creates compiler environment script files (ifortvars.sh/idbvars.sh) that set these variables. It is strongly recommended that you add those script files into your login script (.login file). Once the variables are set in the ".login" file there is no need to run the script files for each session.
source the script to setup the compiler environment:
* > source <install-dir>/bin/ifortvars.sh(.csh)
to use ifort
* > source <install-dir>/bin/idbvars.sh(.csh)
to use idb
The installation program also creates compiler configuration files named <install-dir>/bin/ifort.cfg that contain common settings for all compilations. You can edit these files to add additional default options. Note, if you install a compiler update package, you need to save the configuration file, if you have modified it, to another filename so that the installation doesn't overwrite your modified file.
多谢!