User guide
5–Using Other MPIs
Managing MVAPICH, and MVAPICH2 with the mpi-selector Utility
IB0054606-02 A 5-5
Running MVAPICH2 Applications
By default, the MVAPICH2 options in mpi-selector with 'qlc' as part of their name
run over PSM once it is installed.
Here is an example of a simple mpirun command running with four processes:
$ mpirun_rsh -np 4 -hostfile mpihosts ./mpi_app_name
Further Information on MVAPICH2
For more information about MVAPICH2, see:
http://mvapich.cse.ohio-state.edu/support/mvapich2-1.7-quick-start.html
or for more detail:
http://mvapich.cse.ohio-state.edu/support/mvapich2-1.7rc2_user_guide.pdf
Managing MVAPICH, and MVAPICH2
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:
MVAPICH
MVAPICH2
The mpi-selector is an OFED utility that is installed as a part of QLogic OFED+
1.5.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
Following is an example for listing and selecting an MPI:
$ mpi-selector --list
mpi-1.2.3
mpi-3.4.5
$ mpi-selector --set mpi-3.4.5
The new default takes effect in the next shell that is started. See the
mpi-selector man page for more information.