Download PBS Professional User's Guide
Transcript
Multiprocessor Jobs 10.6.7.2 Chapter 10 MPD Startup and Shutdown The script starts MPD daemons on each of the unique hosts listed in $PBS_NODEFILE, using either the rsh or ssh method based on the value of the environment variable RSHCOMMAND. The default is rsh. The script also takes care of shutting down the MPD daemons at the end of a run. If the MPD daemons are not running, the PBS interface to mpirun.mpd will start GM's MPD daemons as this user on the allocated PBS hosts. The MPD daemons may have been started already by the administrator or by the user. MPD daemons are not started inside a PBS prologue script since it won't have the path of mpirun.mpd that the user executed (GM or MX), which would determine the path to the MPD binary. 10.6.7.3 Examples Example 1: Run a single-executable MPICH-GM job with 64 processes spread out across the PBS-allocated hosts listed in $PBS_NODEFILE: PBS_NODEFILE: pbs-host1 pbs-host2 pbs-host3 qsub -l select=3:ncpus=1 [MPICH-GM-HOME]/bin/mpirun.mpd -np 64 /path/myprog.x 1200 ^D <job-id> If the GM MPD daemons are not running, the PBS interface to mpirun.mpd will start them as this user on the allocated PBS hosts. The daemons may have been previously started by the administrator or the user. PBS Professional 10.4 User’s Guide 247