Open MPI is an open source implementation of MPI (v2.x).


Category:  MPI


Availability: Open access for all academic users


Compiler "wrappers" around the compiler suite (mpif90, mpicc, mpicxx).



Usage Notes

Show the software versions:  module avail openmpi

Loading the module will set the path and any necessary variables:  module load openmpi/version

 

Java Support

Version 1.8.4 (and above) of OpenMPI has support for java-based applications.

An example that includes a SLURM sbatch script (i.e. slurm-java-openmpi)  may be found at: /util/common/openmpi/example_java_pi


Job Startup

OpenMPI version 1.8.4 (and above) have been tested using srun to launch tasks under SLURM and this is the recommended approach for all applications except those using javaExample applications and sbatch scripts may be found at:

/util/common/openmpi/example/slurm-ompi-example

/util/common/openmpi/example_c_pi/slurm-openmpi-srun


At UB CCR OpenMPI has also been tested using mpirun to launch tasks under SLURM and this is the recommended approach for applications using java. OpenMPI jobs that use mpirun should be sure to include the "--exclusive" sbatch directive. Example applications and sbatch scripts may be found at:

/util/common/openmpi/example_c_pi/slurm-openmpi-mpirun

/util/common/openmpi/example_java_pi/slurm-java-openmpi