Log in Page Discussion History Go to the site toolbox

Cloud OpenMPI

From Engineering Grid Wiki

Revision as of 09:48, 22 February 2013 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenMPI is located at /cluster/cloud/openmpi.

After compiling your MPI program with the compilers in that directory (or having us install it for you) you need to submit the job through the correct Parallel Environment to be picked up as an MPI job.

In this case, that PE is 'openmpi', and a job script utilizing it will look somewhat like this:

#$ -q all.q
#$ -N openmpi_jobname
#$ -pe openmpi 10
#$ -cwd
#$ -v LD_LIBRARY_PATH=/cluster/cloud/openmpi/lib
#$ -v HYDRA_ENV=all
/cluster/cloud/openmpi/bin/mpiexec /absolute/path/to/your/executable

The number '10' in the line

#$ -pe openmpi 10

is the number of CPUs you want this job to use.

The openmpi parallel environment is set to 'fill up' nodes, so that as many jobs start on the same node as possible. Note the Cloud Cluster currently has no fast interconnect, and your parallel jobs will be running over Gigabit Ethernet when they have to operate over multiple nodes.

Site Toolbox:

Personal tools
This page was last modified on 22 February 2013, at 09:48. - This page has been accessed 5,775 times. - Disclaimers - About Engineering Grid Wiki