Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-23 Thread Chris Samuel
On Tuesday, 21 August 2018 6:17:59 PM AEST Chris Samuel wrote: > My apologies - I've just tested here (with Slurm 17.11.7) and you are indeed > correct, they only appear when launched with sbatch and salloc and not when > you launch jobs directly with srun! I think the confusion is because they a

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-21 Thread Chris Samuel
On Monday, 20 August 2018 9:21:39 PM AEST Juan A. Cordero Varelaq wrote: > 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? My apologies - I've just tested here (with

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-20 Thread Bjørn-Helge Mevik
"Juan A. Cordero Varelaq" writes: > 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? If you read srun(1) or sbatch(1), you will see that the SLURM_MEM_* variables co

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-20 Thread Williams, Gareth (IM&T, Clayton)
__ From: slurm-users on behalf of Juan A. Cordero Varelaq 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 &quo

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-20 Thread Juan A. Cordero Varelaq
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: Tha

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-20 Thread Chris Samuel
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

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-20 Thread Bjørn-Helge Mevik
"Juan A. Cordero Varelaq" writes: > That variable does not exist somehow on my environment. Is it possible my > Slurm version (17.02.3) does not include it? It's documented in our version, 17.02.7, and I've verified that they get set in our systems, at least. -- Regards, Bjørn-Helge Mevik, dr.

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-19 Thread Juan A. Cordero Varelaq
That variable does not exist somehow on my environment. Is it possible my Slurm version (17.02.3) does not include it? Thanks On 17/08/18 11:04, Bjørn-Helge Mevik wrote: Yes. It is documented in sbatch(1): SLURM_MEM_PER_CPU Same as --mem-per-cpu SLURM_MEM_PER_N

Re: [slurm-users] Slurm Environment Variable for Memory

2018-08-17 Thread Bjørn-Helge Mevik
Yes. It is documented in sbatch(1): SLURM_MEM_PER_CPU Same as --mem-per-cpu SLURM_MEM_PER_NODE Same as --mem -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo signature.asc Description: PGP signature

[slurm-users] Slurm Environment Variable for Memory

2018-08-17 Thread Juan A. Cordero Varelaq
Dear Community, does anyone know whether there is an environment variable, such as $SLURM_CPUS_ON_NODE, but for the requested RAM (by using --mem argument)? Thanks