Compiling MPI Programs on Sequoia
Sequoia is our primary cluster. It has Intel C, C++, and Fortran compilers. It uses SGI’s MPI implementation, MPT. To compile an MPI program, first setup your environment to use the compilers and MPT:
module load intel
module load mpt
Then you can compile the program like:
icc -lmpi -o program program.c
replacing program.c with the source file of your program.
Larger programs often have Makefiles or more elaborate scripts for compilation. We are always happy to compile programs for you.
mpiexec inside PBS to execute an MPI program.