Product specifications

Table Of Contents
6–Using Other MPIs
Managing Open MPI, MVAPICH, and QLogic MPI with the mpi-selector Utility
6-6 IB6054601-00 H
S
To compile your program in C, type:
$ mpicc mpi_app_name.c -o mpi_app_name
To check the default configuration for the installation, check the following file:
/usr/mpi/<$compiler>/<$mpi>/etc/mvapich.conf
Running MVAPICH Applications
By default, the MVAPICH shipped with the InfiniPath software stack runs over
PSM once it is installed.
Here is an example of a simple mpirun command running with four processes:
$ mpirun -np 4 -hostfile mpihosts mpi_app_name
Password-less ssh is used unless the -rsh option is added to the command line
above.
Further Information on MVAPICH
For more information about MVAPICH, see:
http://mvapich.cse.ohio-state.edu/
Managing Open MPI, MVAPICH, and QLogic MPI
with the mpi-selector Utility
When multiple MPI implementations have been installed on the cluster, you can
use the mpi-selector to switch between them. The MPIs that can be managed
with the mpi-selector are:
Open MPI
MVAPICH
MVAPICH2
QLogic MPI
The mpi-selector is an OFED utility that is installed as a part of QLogic
OFED 1.4. Its basic functions include:
Listing available MPI implementations
Setting a default MPI to use (per user or site wide)
Unsetting a default MPI to use (per user or site wide)
Querying the current default MPI in use