Add --spread-job option
Add salloc/sbatch/srun --spread-job to distribute tasks over as many nodes as possible. This also treats the --ntasks-node-node option as a maximum value. For example "srun -n16 --ntasks-per-node=2 --spread-job ..." will run the job on at least 8 nodes (with 2 tasks each), but will attempt to use as many nodes as possible up to the task count (1 task per node). bug 2732
Showing
- NEWS 3 additions, 0 deletionsNEWS
- doc/man/man1/salloc.1 8 additions, 0 deletionsdoc/man/man1/salloc.1
- doc/man/man1/sbatch.1 8 additions, 0 deletionsdoc/man/man1/sbatch.1
- doc/man/man1/srun.1 8 additions, 0 deletionsdoc/man/man1/srun.1
- slurm/slurm.h.in 2 additions, 1 deletionslurm/slurm.h.in
- src/api/job_info.c 2 additions, 0 deletionssrc/api/job_info.c
- src/plugins/select/cons_res/job_test.c 11 additions, 1 deletionsrc/plugins/select/cons_res/job_test.c
- src/salloc/opt.c 15 additions, 4 deletionssrc/salloc/opt.c
- src/sbatch/opt.c 12 additions, 1 deletionsrc/sbatch/opt.c
- src/slurmctld/job_mgr.c 8 additions, 0 deletionssrc/slurmctld/job_mgr.c
- src/srun/libsrun/opt.c 12 additions, 1 deletionsrc/srun/libsrun/opt.c
Loading
Please register or sign in to comment