Re: [slurm-users] GrpTRES

2018-03-23 Thread Mahmood Naderan
What do you mean by user and account? Assume I have created a user account (bob) with useradd command. I wan to set some limits for him. The GrpTRES format is not clear for me. I assume that mem=200 is a global 200MB of memory limit for all running jobs of bob. Therefore, if bob is a running job wi

Re: [slurm-users] GrpTRES

2018-03-23 Thread Chris Samuel
On Friday, 23 March 2018 3:40:34 PM AEDT Mahmood Naderan wrote: > Hi, Hi Mahmood, > I see an example in [1] which looks like > > sacctmgr modify user bob set GrpTRES=cpu=1500,mem=200,gres/gpu=50 > > I want to know how GrpTRES parameters are set. Could you expand on what you mean by "set" th

Re: [slurm-users] set SLURM_JOB_NAME programmatically from within job script

2018-03-23 Thread Andreas Hilboll
Hi Jessica, thanks a lot for your help and good explanation - scontrol update job=$SLURM_JOB_ID name=myname does exactly what I want :) Cheers, Andreas Jessica Nettelblad writes: Hi Andreas, The Slurm controller has job names in its own data structure. The Slurm controller job nam

Re: [slurm-users] set SLURM_JOB_NAME programmatically from within job script

2018-03-23 Thread Jessica Nettelblad
Hi Andreas, The Slurm controller has job names in its own data structure. The Slurm controller job name is set to the name of the job script by default, or to a name you define for example with -J. The environment variable SLURM_JOB_NAME is then set to this Slurm controller job name by job start.