|
Article ID: 102
Last updated: 23 Feb, 2022
You can use the Intel MPI library to build and run your MPI application. The Intel MPI modules available on NAS resources are:
For more information, see Modules. Compiling Your ApplicationsBefore you compile an application, load an Intel compiler module and an Intel MPI module. Ensure that no other MPI module (MPT or MVAPICH2) is loaded. For example:
Compile your application by running either the mpiifort script to invoke the ifort compiler or the mpiicc script to invoke the icc compiler. For example:
To view more information about the scripts, use the help option: mpiifort -help or mpiicc -help. Running Your ApplicationsThe following script provides an example of using the Hydra process manager command. You can replace mpiexec.hydra with mpiexec as the two binaries are identical.
To view more mpiexec.hydra options, use the help option: mpiexec.hydra -help. For more information about using Intel MPI libraries, see the Intel MPI Library Documentation website. |