To make compiling of an MPI-enabled code more convenient, a set of
MPI wrapper scripts, such as mpicc, can be used in place of, say, gcc. The
wrapper script includes the necessary MPI libraries and header files paths. On the SCC, these wrappers by default use the GNU compilers to build your executables.
If Portland Group compilers are preferred, run this before compilation:
scc1% setenv MPI_COMPILER pgi
scc1% mpicc -o mycode mycode.c