User guide
5–Using Other MPIs
Open MPI
IB0054606-02 A 5-3
Open MPI
Open MPI is an open source MPI-2 implementation from the Open MPI Project.
Pre-compiled versions of Open MPI version 1.4.3 that run over PSM and are built
with the GCC, PGI, and Intel compilers are available with the QLogic download.
Details on Open MPI operation are provided in Section 4.
MVAPICH
Pre-compiled versions of MVAPICH 1.2 built with the GNU, PGI, and Intel
compilers, and that run over PSM, are available with the QLogic download.
MVAPICH that runs over Verbs and is pre-compiled with the GNU compiler is also
available.
MVAPICH can be managed with the mpi-selector utility, as described in
“Managing MVAPICH, and MVAPICH2 with the mpi-selector Utility” on page 5-5.
Compiling MVAPICH Applications
As with Open MPI, QLogic recommends that you use the included wrapper scripts
that invoke the underlying compiler (see Table 5-2).
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 QLogic OFED+ and IFS (IFS), runs
over PSM once it is installed.
Table 5-2. MVAPICH Wrapper Scripts
Wrapper Script Name Language
mpicc C
mpiCC, mpicxx C++
mpif77 Fortran 77
mpif90 Fortran 90