Compiling

The following compilers are available on Frost:

The default compilers on Frost are the Intel compilers, though PGI and Pathscale are available. While it is not required to unload other compilers when loading a compiler, it is strongly recommended.

Note that there are no compiler wrappers on Frost, so all compiles must call the compiler directly: icc and ifort for Intel, pgcc and pgf90 or pgf95 for PGI, and pathcc and pathf90 or pathf95 for Pathscale.

Message Passing Libraries

To use the Intel compilers with MPI, no special configuration is needed; simply use the compiler command.

icc hello.c -lmpi

For PGI, the MPT_LIB environment variable needs to be in the command, e.g.

pgcc $MPT_LIB hello.c -lmpi

Note that, if you load a different version of mpt, the MPT_LIB variable will change automatically.

Last modified on February 15th, 2010 at 4:18 pm