SLURM Reference Manual
SRUN Roles and Modes
SRUN executes tasks ("jobs") in parallel on multiple compute nodes at the same time (on machines where SLURM manages the resources). SRUN options let you both:
Because it performs several different roles, SRUN can be used in five distinct ways or "modes":
SRUN SIGNAL HANDLING.
CTRL-Cs within one second ------------------------- First reports the state of all tasks associated with SRUN. Second sends SIGINT signal to all associated SRUN tasks. Third terminates the job at once, without waiting for remote tasks to exit.
You may also use MPICH on any computer where it is available. MPIRUN will, however, need information on its command line identifying the resources to use, namely
-np SLURM_NPROCS -machinefile filenamewhere SLURM_NPROCS is the environment variable that contains the (-n) number of processors to use and filename lists the names of the nodes on which to execute (the captured output from /bin/hostname run across those nodes with simple SRUN). Sometimes the MPICH vendor configures these options automatically. See also SRUN's --mpi "working features" option.
Navigation Links: [ Document List ] [ HPC Home ] [ Next ]