MPICH2 is an implementation of MPI (v2.x) that runs over Ethernet.
WARNING: The MPICH modules at UB CCR have not been tested in
the SLURM environment. According to wiki.mpich.org these
modules SHOULD work so long as the hydra process manager is
used and jobs are launched according to the approach given
Compiler "wrappers" around the compiler suite (mpif90, mpicc, mpicxx).
Show the software versions: module avail mpich2
Loading the module will set the path and any necessary variables: module load mpich2/version
MPICH2 no longer recommends using (mulitpurpose) daemons to launch tasks.
To run under SLURM you should use a combination of salloc and mpiexec, which by default will use the new hydra process launcher.
The following sample code for launching the tasks is written in
salloc -N $SLURM_NNODES mpiexec ./a.out