27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5–Using Other MPIs<br />

Managing Open MPI, MVAPICH, and <strong>QLogic</strong> MPI with the mpi-selector Utility<br />

Table 5-3. MVAPICH Wrapper Scripts<br />

Wrapper Script Name<br />

Language<br />

mpiCC, mpicxx<br />

C++<br />

mpif77 Fortran 77<br />

mpif90 Fortran 90<br />

To compile your program in C, type:<br />

$ mpicc mpi_app_name.c -o mpi_app_name<br />

To check the default configuration for the installation, check the following file:<br />

/usr/mpi///etc/mvapich.conf<br />

Running MVAPICH Applications<br />

By default, the MVAPICH shipped with the InfiniPath software stack runs over<br />

PSM once it is installed.<br />

Here is an example of a simple mpirun command running with four processes:<br />

$ mpirun -np 4 -hostfile mpihosts mpi_app_name<br />

Password-less ssh is used unless the -rsh option is added to the command line<br />

above.<br />

Further Information on MVAPICH<br />

For more information about MVAPICH, see:<br />

http://mvapich.cse.ohio-state.edu/<br />

Managing Open MPI, MVAPICH, and <strong>QLogic</strong> MPI<br />

with the mpi-selector Utility<br />

When multiple MPI implementations have been installed on the cluster, you can<br />

use the mpi-selector to switch between them. The MPIs that can be managed<br />

with the mpi-selector are:<br />

• Open MPI<br />

• MVAPICH<br />

• MVAPICH2<br />

• <strong>QLogic</strong> MPI<br />

The mpi-selector is an OFED utility that is installed as a part of <strong>QLogic</strong> OFED<br />

1.4.2. Its basic functions include:<br />

5-6 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!