OpenMPI: Difference between revisions

From Cheaha
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
module load openmpi/openmpi-intel
module load openmpi/openmpi-intel
</pre>
</pre>
 
====Parallel Environment ====
Use the '''openmpi''' parallel environment in your job script (example for a 4 slot job)
Use the '''openmpi''' parallel environment in your job script (example for a 4 slot job)
<pre>
<pre>
Line 24: Line 24:
</pre>
</pre>


====Submit Script ====
To enable verbose Grid Engine logging for OpenMPI, add the following the mpirun command in the job script '''--mca pls_gridengine_verbose 1''', for example:
To enable verbose Grid Engine logging for OpenMPI, add the following the mpirun command in the job script '''--mca pls_gridengine_verbose 1''', for example:
<pre>
<pre>

Revision as of 19:52, 2 April 2012

This page is a Generic stub.

You can help by expanding this page..


Open MPI is a Message Passing Interface (MPI) library project combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI). It is used by many TOP500 supercomputers including Roadrunner, which was the world's fastest supercomputer from June 2008 to November 2009, and K computer, the fastest supercomputer since June 2011. The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners.

Project website: http://www.open-mpi.org/

Load SGE module

The following Modules files should be loaded for this package:

For GNU:

module load openmpi/openmpi-gnu

For Intel:

module load openmpi/openmpi-intel

Parallel Environment

Use the openmpi parallel environment in your job script (example for a 4 slot job)

#$ -pe openmpi 4

Submit Script

To enable verbose Grid Engine logging for OpenMPI, add the following the mpirun command in the job script --mca pls_gridengine_verbose 1, for example:

#!/bin/bash
#$ -S /bin/bash
#$ -cwd
#
#$ -N j_openmpi_hello
#$ -pe openmpi 4
#$ -l h_rt=00:20:00,s_rt=0:18:00
#$ -j y
#
#$ -M USERID@uab.edu
#$ -m eas
#
# Load the appropriate module files
. /etc/profile.d/modules.sh
module load openmpi/openmpi-gnu

#$ -V

mpirun --mca pls_gridengine_verbose 1 -np $NSLOTS hello_world_gnu_openmpi