|How to Setup MPICH v2 for PGI Compilers|
Mvapich version 0.9.8-12(based upon mpich version 2) is available for the pgi compilers and uses the OpenFabrics stack to access the infiniband network. To setup an environment for mpich version 1, execute one of following based on your shell:
source /usr/local/profile.d/mpichv2-pgi.cshfor bourne shell users
Don't forget to also source the pgi script.
Once setup, users should find in their path mpicc, mpiCC, mpif90 and mpif77. MOAB job submissions should include the line above so that the environment is setup for mpich on the compute nodes. Users should also source the startup scripts for the pgi compilers before using the compilers or the runtime environment. See the moab documention for example job 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.