Intel MPI

From HP-SEE Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "Intel-MPI is a commercial implementation based on mpich2 which is a public domain implementation of the MPI 2 standard provided by the Mathematics and Computer Science Division o...")
Line 4: Line 4:
To use the Intel implementation you must load the appropriate modules just like in the PGI exemple in the OpenMPI section.
To use the Intel implementation you must load the appropriate modules just like in the PGI exemple in the OpenMPI section.
 +
 +
  CC=${CC:-gcc}
 +
  CXX=${CXX:-g++}
 +
  FC=${FC:-f77}
 +
  F90=${F90:-f90}
 +
  MX_HOME=${MX_HOME:-/opt/mx}
 +
  PREFIX=${PREFIX:-/opt/mpich-mx}
 +
  RSHCOMMAND=${RSHCOMMAND:-ssh}
Usage Examples:
Usage Examples:

Revision as of 15:35, 20 April 2012

Intel-MPI is a commercial implementation based on mpich2 which is a public domain implementation of the MPI 2 standard provided by the Mathematics and Computer Science Division of the Argonne National Laboratory.

The compiler drivers mpifc, mpiifort, mpiicc, mpiicpc, mpicc and mpicxx and the instruction for starting an MPI application mpiexec will be included in the search path. There are two dierent versions of compiler driver: mpiifort, mpiicc and mpiicpc are the compiler driver for Intel Compiler. mpifc, mpicc and mpicxx are the compiler driver for GCC (GNU Compiler Collection).

To use the Intel implementation you must load the appropriate modules just like in the PGI exemple in the OpenMPI section.

 CC=${CC:-gcc}
 CXX=${CXX:-g++}
 FC=${FC:-f77}
 F90=${F90:-f90}
 MX_HOME=${MX_HOME:-/opt/mx}
 PREFIX=${PREFIX:-/opt/mpich-mx}
 RSHCOMMAND=${RSHCOMMAND:-ssh}

Usage Examples: $ mpiifort -c ... *.f90 $ mpiicc -o a.out *.o $ mpirun -np 4 a.out: $ ifort -I$MPI_INCLUDE -c prog.f90 $ mpirun -np 4 a.out

Personal tools