In salloc, sbatch, and srun replace --task-mem options with --mem-per-cpu
(--task-mem will continue to be accepted for now, but is not documented). Replace DefMemPerTask and MaxMemPerTask with DefMemPerCPU, DefMemPerNode, MaxMemPerCPU and MaxMemPerNode in slurm.conf. Allocate a job's memory memory at the same time that processors are allocated based upon the --mem or --mem-per-cpu option rather than when job steps are initiated.
Please register or sign in to comment