2 Network Administration
any), together. Set the conÞguration’s MpiexecFileName property to
/opt/mpich2/mpich2-1.0.8/bin/mpiexec.
• If you are using a generic scheduler or LSF, modify your parallel wrapper
script to pick up the correct mpiexec. Additionally, there may be a stage
in the wrapper script where the MPI daemons are launched.
The parallel submission 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>".
– DeÞne which mpiexec executable to use for starting workers.
– Stop the daemon processes. For example, for the MPD process
manager this means calling "mpdallexit".
For examples of parallel wrapper scripts, see
matlabroot/toolbox/distcomp/examples/integration/; speciÞcally
for an example of Sun Grid Engine, look in the folder sge for
sgeParallelWrapper.sh. Adopt and modify the appropriate script
for your particular cluster usage.
2-8
Komentarze do niniejszej Instrukcji