Product specifications

Table Of Contents
3–Step-by-Step Cluster Setup and MPI Usage Checklists
Using MPI
3-2 IB6054601-00 H
S
Using MPI
1. Verify that the QLogic hardware and software has been installed on all the
nodes you will be using, and that ssh is set up on your cluster (see all the
steps in the Cluster Setup checklist).
2. Copy the examples to your working directory. See “Copy Examples” on
page 5-3.
3. Make an mpihosts file that lists the nodes on which your programs will run.
See “Create the mpihosts File” on page 5-3.
4. Compile the example C program using the default wrapper script mpicc.
Use mpirun to run it. See “Compile and Run an Example C Program” on
page 5-3.
5. Try the examples with other programming languages, C++, Fortran 77, and
Fortran 90 in “Examples Using Other Programming Languages” on
page 5-4.
6. To test using other MPIs that run over PSM, such as MVAPICH, Open MPI,
HP
®
-MPI, Platform MPI, and Intel MPI, see “Using Other MPIs” on page 6-1.
7. To switch between multiple versions of Open MPI, MVAPICH, and QLogic
MPI, use the mpi-selector. See “Managing Open MPI, MVAPICH, and
QLogic MPI with the mpi-selector Utility” on page 6-6.
8. Refer to “QLogic MPI Details” on page 5-5 for more information about
QLogic MPI, and to “Performance Tuning” on page 5-21 to read more about
runtime performance tuning.
9. Refer to “Using Other MPIs” on page 6-1 to learn about using other MPI
implementations.