
2 Netw ork Administration
any), together. Set the configuration’s MpiexecFil eNam e property to
/opt/mpich2/mpich2-1.4.1p1/bin/mpiexec.
• If you are using a third-party scheduler (either fully supported or via the
generic interface), modify your communicating job wrapper script to
pick up the correct
mpiexec. Additionally, there might be a stage in the
wrapper script where the MPI process manager daemons are launched.
The communicating job wrapper script must:
– Determine which nodes are allocated by the scheduler.
– Start required daemon processes. For example, for the MPD process
manager this means calling
"mpdboot -f <nodefile>".
– Define which mpiex ec executable to use for starting workers.
– Stop the daemon processes. For example, for the MPD process
manager this means calling
"mpdallexit".
For examples of com municating job wrapper scripts, see the subfolders of
matlabroot/toolbox/distcomp/examples/integration/; specifically,
for an example for Sun Grid Engine, look in the subfolder
sge/shared
for communi cati ngJobWrapper.sh. Wrapper scripts are available for
various schedulers and file sharing configurations. Adopt and modify
the appropriate script for your particular cluster usage.
2-8
Comentários a estes Manuais