5
–
Using Other MPIs
MVAPICH2
5-4
IB0054606-02 A
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/
MVAPICH2
Pre-compiled versions of MVAPICH2 1.7 built with the GNU, PGI, and Intel
compilers, and that run over PSM, are available with the QLogic download.
MVAPICH2 that runs over Verbs and is pre-compiled with the GNU compiler is
also available.
MVAPICH2 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 MVAPICH2 Applications
As with Open MPI, QLogic recommends that you use the included wrapper scripts
that invoke the underlying compiler (see
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
Table 5-3. MVAPICH Wrapper Scripts
Wrapper Script Name
Language
mpicc
C
mpiCC
,
mpicxx
C++
mpif77
Fortran 77
mpif90
Fortran 90
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......