| ACADEMIC COMPUTING and COMMUNICATIONS CENTER | |||||||||
| ||||||||||
ARGO: More on Running Parallel MPI Jobs | ||||||||||
|
January 22, 2003 |
||||||||||
| More on Running MPI programs | ||||||||||
|
There are more examples of MPI programs in Argo Beowulf Cluster: MPI Commands and Examples. Executables issuing ScaMPI calls CANNOT be started directly from a shell prompt. Instead, ScaMPI programs can be started:
It is absolutely necessary to run an ScaMPI program on a homogenous filesystem, i.e. on a filesystem providing the same path and program name on all nodes. There are five filesystems that are all accessible to all nodes: /home, /scratch, and the three parallel filesystems (pvfs-scratch1, pvfs-scratch2, and pvfs-scratch3). The Examples below run the hello.c program we compiled and linked in the previous section. Examples 2 and 4 are run in the PBS batch system; they are the preferred way to run programs on argo. There are more examples of MPI programs in Argo Beowulf Cluster: MPI Commands and Examples. |
||||||||||
| Executing an MPI program using mpimon and mpirun | ||||||||||
| -- Mpimon | ||||||||||
For additional information, type mpimon -help | more or click here. |
||||||||||
| -- Mpirun | ||||||||||
|
||||||||||
| Help | ||||||||||
|
The ScaMPI users guide is located in the argo directory /opt/scali/doc/ScaMPI. It's also available online line at Scali. (Or go to the Scali home page, http://www.scali.com, point to the Download menu at the top of the page, and select Documentation -> Manuals.) |
||||||||||
| Putting it all together | ||||||||||
|
There are ten possible permutations for program execution. Of the ten, two are for serial program execution; eight, for parallel execution. The following diagram outlines all ten program execution methods; descriptions of the methods follow the diagram. Master node - argo MPI System - Master/Compute nodes (D)
+--------------------------+ +------------------------------------+
| | | |
| | | |
| | | |
| | | |
| | | +---------------------------+ |
| | | | | |
| | | | | |
| +---------------------------------------|-+------> +-----------+ | |
| | | PBS Batch System (C)| +--> | mpimon (E)| <-------+ |
| +-------------------+ | +------------+ | | +-----------+ <-+ | | |
| | Scali desktop (A) | | | | | | | | | |
| +-------------------+ ------> | batch (C) |---------+ | | | |
| | | (scasub) | | | | | | |
| +-------------------+ ------> | | | | +---->----+ | | |
| | Command line (B) | | +------------+ | | | | | |
| +-------------------+ | (preferred route) | | +-----------+ | | |
| | | | +--> | mpirun (F)| <----+ | |
| +-----------------------------------+--- --------> +-----------+ | |
| | | | | |
| | +---|------------>-------------------+ |
| | | |
| | | |
+--------------------------+ +------------------------------------+
The permutations will be listed by the alphabetic labels that were are used in the diagram above. The labels are:
The ten are listed below of which the first two are for serial jobs:
The remaining eight are for parallel jobs; please chose the routes below that include C , using the scasub command to submit the MPI job though the batch system:
|
||||||||||
| 2005-1-26 ACCC Systems Group |
|