Parallel Environment on Eddie

Parallel Environment (PE) is a Sun GridEngine (SGE) software package that enables parallel computing through SGE. By selecting a Parallel Environment, users can make use of various Message Passing Interface (MPI) libraries installed on the cluster. All these MPI libraries have already been tightly integrated with SGE to provide a hassle free initialisation, with reliable slave process control and correct accounting info.

Which Parallel Environments are available

You can view the available parallel environment (PE) on Eddie by the following command:

$ qconf -spl

The following valid PEs exist on Eddie currenly:

The PEs with -smp appendix can guarantee that every 4 slots will be dispatched onto a same node to provide a "SMP Cluster" environment. Thees PE only accept request of 4x slots. The side effect is that your job will probably need to wait longer in the queue until there are sufficient empty nodes available.

In addition to the aforementioned PEs, there are another two useful PEs on Eddie

OpenMP enables a Shared Memory programmer to run OpenMP codes on a single worker node of Eddie, memory allocates extra slots for serial jobs which request large memory (>1.9 GB)

How to select Parallel Environment

The Parallel Environment is selected when submitting a job to Grid Engine. Only one PE could be selected at a time. You specify the name of the Parallel Environment and the number of slots to request using the -pe flag for the qsub command:

qsub -pe <pe_name> <slots> <job_script>

for example

qsub -pe openmpi 8 hello.sh

See tutorial and the SGE manual for more detail.

Parallel Environment (last edited 2007-12-12 15:01:06 by BrianFletcher)