I don't think it is what you want anyway. They are probably set if you request memory specifically. It is not how much memory the node has. I think many sites set a default memory per core (we do).
Gareth Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Juan A. Cordero Varelaq <bioinformatica-i...@us.es> Sent: Monday, August 20, 2018 9:21:39 PM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Slurm Environment Variable for Memory I am just running an interactive job with "srun -I --pty /bin/bash" and then run "echo $SLURM_MEM_PER_NODE", but it shows nothing. Does it have to be defined in any conf file? On 20/08/18 09:59, Chris Samuel wrote: > On Monday, 20 August 2018 4:43:57 PM AEST Juan A. Cordero Varelaq wrote: > >> That variable does not exist somehow on my environment. Is it possible >> my Slurm version (17.02.3) does not include it? > They should be there, from the NEWS file they were introduced in 2.3.0.rc1. > Is something else nuking your shells environment perhaps? > > 17.02.11 is the last released version of 17.02.x and all previous versions > have been pulled from the SchedMD website due to CVE-2018-10995. > > cheers, > Chris