4
–
Running MPI on QLogic Adapters
Open MPI
4-6
IB0054606-02 A
The easiest way to use other compilers with any MPI that comes with QLogic
OFED+ is to use
mpi-selector
to change the selected MPI/compiler
“Managing MVAPICH, and MVAPICH2 with the mpi-selector
.
These compilers can be invoked on the command line by passing options to the
wrapper scripts. Command line options override environment variables, if set.
and
show the options for each of the compilers.
In each case,
.....
stands for the remaining options to the
mpicxx
script, the
options to the compiler in question, and the names of the files that it operates.
Also, use
mpif77
,
mpif90
, or
mpif95
for linking; otherwise,
.true
.
may have
the wrong value.
If you are not using the provided scripts for linking, link a sample program using
the
-show
option as a test (without the actual build) to see what libraries to add to
your link line. Some examples of the using the PGI compilers follow.
Table 4-3. Intel
Compiler
Command
C
$
mpicc -cc=icc .....
C++
$ mpicc -CC=icpc
Fortran 77
$ mpif77 -fc=ifort .....
Fortran 90/95
$ mpif90 -f90=ifort .....
$ mpif95 -f95=ifort .....
Table 4-4. Portland Group (PGI)
Compiler
Command
C
mpicc -cc=pgcc .....
C++
mpicc -CC=pgCC
Fortran 77
mpif77 -fc=pgf77 .....
Fortran 90/95
mpif90 -f90=pgf90 .....
mpif95 -f95=pgf95 .....
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: ......