Setting Up the Compiler
Systems & Access :: Learning to Use :: Linux Computing Resource
If you plan to use the regular compiler instead of the MPI compilers, uschpc has GNU, Portland group, Intel and Absoft compilers installed under /usr/usc. The respective setup.csh or setup.sh file has to be sourced every time you login. For example, the command
source /usr/usc/pgi/default/setup.csh
sets up the Portland group compiler.
If you are planning to use only the Portland group compilers, add the following to your .login or .profile file to set up your environment.
if (-r /usr/usc/pgi/default/setup.csh) then
source /usr/usc/pgi/default/setup.csh
endif