Skip to main content

openmpi

Versions and Availability

About the Software

An open source Message Passing Interface implementation.

Usage

  1. On clusters using softenv, set up your .soft file to select the library version, and compilers you want to use for building your code. Keep in mind the softenv keys take effect in the order they appear.
    The following shows how to select an OpenMPI library and use it with the GNU gcc compiler.
    +openmpi-1.3.4-gcc-4.3.2
    +gcc-4.3.2
    @default
    
    On clusters using module, set up your ~/.modules file to load the openmpi library version you want to use.
    moduel load openmpi/1.8.1/INTEL-14.0.2
          
    Do not simply copy them, as they are subject to change. Use the softenv or module av command on clusters to verify them before use.
  2. The mpi compiler, mpicc or mpif90, will use the associated compiler and link with openmpi with no further ado.
  3. Run with: mpirun -machinefile $PBS_NODEFILE -np $NPROCS /path/to/executable
  4. An example PBS script can be viewed below.

▶ Open Example?

▶ QSub FAQ?

Resources

Last modified: September 10 2020 11:58:50.