[slurm-users] Getting current memory size of a job

Chris Samuel chris at csamuel.org
Sun Apr 7 21:53:43 UTC 2019


On Sunday, 7 April 2019 10:13:49 AM PDT Mahmood Naderan wrote:

> The output of sstat shows the following error
> 
> # squeue -j 821
>              JOBID PARTITION     NAME     USER ST       TIME  NODES
> NODELIST(REASON) 821   EMERALD g09-test shakerza  R   21:07:18      1
> compute-0-0 # sstat -j 821 --format="MaxVMSize,AveRSS,AveVMSize,MaxRSS"
>  MaxVMSize     AveRSS  AveVMSize     MaxRSS
> ---------- ---------- ---------- ----------
> sstat: error: no steps running for job 821

This indicates that you are not using "srun" to launch the MPI application, 
and also that the MPI stack you are using does not know about Slurm and so 
doesn't know to start itself correctly when you run with mpirun.

All the best,
Chris
-- 
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA






More information about the slurm-users mailing list