|How to use MPICH v2 for gnu compilers|
MPICH2 version 0.9.8-12 is available for the gnu compilers and uses the OpenFabrics stack to access the infiniband network. To setup the gnu compilers for mpich, execute one of following based on your shell:
source /usr/local/profile.d/mpichv2-gnu.cshfor bourne shell users
Once setup, users should find in their path mpicc, mpicxx, mpif90 and mpif77. See the MOAB documentation for an example of using MPICH2 with MOAB submission scripts.
Running programs with mvapich2
You need a configuration file for the MPD daemons in your home directory ($HOME/.mpd.conf). This file chould contain the following line:
The string should be unique to you but not any regular password. In older versions of mvapich2, the string could not start with a number, this should have been fixed. Also,
chmod 600 $HOME/.mpd.conf
or the MPD daemons will not start properly.