5
–
Using Other MPIs
Intel MPI
5-10
IB0054606-02 A
Substitute
bin
if using 32-bit.
Compiling Intel MPI Applications
As with Open MPI, QLogic recommended that you use the included wrapper
scripts that invoke the underlying compiler. The default underlying compiler is
GCC, including gfortran. Note that there are more compiler drivers (wrapper
scripts) with Intel MPI than are listed here (see
); check the Intel
documentation for more information.
To compile your program in C using the default compiler, type:
$
mpicc mpi_app_name.c -o mpi_app_name
To use the Intel compiler wrappers (
mpiicc
,
mpiicpc
,
mpiifort
), the Intel
compilers must be installed and resolvable from the user’s environment.
Running Intel MPI Applications
Here is an example of a simple
mpirun
command running with four processes:
$
mpirun -np 4 -f mpihosts mpi_app_name
For more information, follow the Intel MPI instructions for usage of
mpirun,
mpdboot,
and
mpiexec
(mpirun is a wrapper script that invoked both
mpdboot
and
mpiexec
). Remember to use
-r ssh
with
mpdboot
if you use
ssh
.
Pass the following option to
mpirun
to select TMI:
-genv I_MPI_FABRICS tmi
Pass the following option to
mpirun
to select uDAPL:
Table 5-5. Intel MPI Wrapper Scripts
Wrapper Script Name
Language
mpicc
C
mpiCC
C++
mpif77
Fortran 77
mpif90
Fortran 90
mpiicc
C (uses Intel C compiler)
mpiicpc
C++ (uses Intel C++ compiler)
mpiifort
Fortran 77/90 (uses Intel Fortran compiler)
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: ......