⇤ ← Revision 1 as of 2010-11-15 16:35:43
Size: 3692
Comment:
|
Size: 3855
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
<<TableOfContents>> |
|
Line 17: | Line 19: |
== MPI-Start configuration == | |
Line 18: | Line 21: |
== MPI-Start configuration == | === yaim configuration === There is a yaim plugin available for configuring gLite sites, check the documentation at [[../MpiUtils | MPI-Utils]]. === Manual configuration === |
Line 32: | Line 38: |
|| '''MPI_<flavour>_MPIEXEC''' || Path of the MPIEXEC binary for the specific flavour, takes precedence over other methods || | || '''MPI_<flavour>_MPIEXEC''' || Path of the MPIEXEC binary for the specific flavour || |
Line 39: | Line 45: |
MPI-Start for site administrators
Contents
Installation
From binary packages
Binary packages for MPI-Start are generated using ETICS. Check their repositories for the correct package for your distribution.
From source
Source can be retrieved from the mercurial repository
Installation is as easy as "make install". The default installation prefix is "/opt/i2g", by default it also creates files in /etc/profile.d. After the installation the environment variable I2G_MPI_START must be set to point to mpi-start script.
export I2G_MPI_START=/opt/i2g/bin/mpi-start
MPI-Start configuration
yaim configuration
There is a yaim plugin available for configuring gLite sites, check the documentation at MPI-Utils.
Manual configuration
MPI-Start is designed to auto detect most of the site configurations without any administrator intervention. The default installation will automatically detect:
- the batch scheduler at the site: currently PBS/Torque, SGE, LSF and Slurm are supported.
- existence of shared file system in the job running directory
- availability of OSC mpiexec for PBS/Torque systems
- default mpi installations for SLC5.
If the automatic detection fails for any of these, the administrator can set the following configuration variables:
Variable |
Meaning |
MPI_DEFAULT_FLAVOUR |
name of the default flavour for jobs running at the site |
MPI_<flavour>_PATH |
Path of the bin and lib directories for the MPI flavour |
MPI_<flavour>_VERSION |
FIXME preferred version of the MPI flavour ?? |
MPI_<flavour>_MPIEXEC |
Path of the MPIEXEC binary for the specific flavour |
MPI_<flavour>_MPIEXEC_PARAMS |
Parameters for the MPIEXEC of the flavour |
MPI_<flavour>_MPIRUN |
Path of the MPIRUN binary for the specific flavour |
MPI_<flavour>_MPIRUN_PARAMS |
Parameters for the MPIRUN of the flavour |
I2G_<flavour>_PREFIX |
Path of the MPI installation for the MPI flavour |
The I2G_<flavour>_PREFIX takes precedence over the other variables. If MPI_<flavour>_MPIEXEC or MPI_<flavour>_MPIRUN are not defined, MPI-Start will try to use the mpiexec or mpirun that are found in the current PATH.
Hooks
Hooks may change the behavior of MPI-Start and provide additional features such as file distribution and configuration of compiler flags. Site admins can add their own hooks via the local hook mechanism of the Hooks Framework.
File distribution
MPI-Start includes hooks for distributing the files needed for the execution of an application. By default it tries to find the most suitable method for copying the files, using shared filesystems whenever they are found. However, the filesystem detection may not work for all sites, or the shared filesystem may be in a different location to the execution path making it impossible for MPI-Start to detect its availability.
Site admins can tune the file distribution method with the following variables:
Variable |
Meaning |
MPI_START_SHARED_FS |
If undefined, MPI-Start will try to detect a shared file system in the execution directory. If defined and equal to 1, MPI-Start will assume that the execution directory is shared between all hosts and will not try to copy files. Any other value will make MPI-Start assume that the execution directory is not shared. |
MPI_SHARED_HOME |
If set to yes , MPI-Start will use the path defined in MPI_SHARED_HOME_PATH for copying the files and executing the application |
MPI_SHARED_HOME_PATH |
Path to a shared directory |