Product specifications

Table Of Contents
6–Using Other MPIs
HP-MPI
6-8 IB6054601-00 H
S
Installation
Follow the instructions for downloading and installing HP-MPI from the HP web
site.
Setup
No special setup is needed.
Compiling HP-MPI Applications
As with QLogic MPI, QLogic recommends that you use the included wrapper
scripts that invoke the underlying compiler (see Table 6-4).
To compile your program in C using the default compiler, type:
$ mpicc mpi_app_name.c -o mpi_app_name
Running HP-MPI Applications
Here is an example of a simple mpirun command running with four processes,
over PSM:
$ mpirun -np 4 -hostfile mpihosts -PSM mpi_app_name
To run over IB Verbs, type:
$ mpirun -np 4 -hostfile mpihosts -IBV mpi_app_name
To run over TCP (which could be IPoIB if the hostfile is setup for IPoIB interfaces),
type:
$ mpirun -np 4 -hostfile mpihosts -TCP mpi_app_name
More Information on HP-MPI
For more information on HP-MPI, see: http://www.hp.com/
Table 6-4. HP-MPI Wrapper Scripts
Wrapper Script Name Language
mpicc C
mpiCC C
mpi77 Fortran 77
mpif90 Fortran 90