Re: [slurm-users] srun --mem issue

2022-12-08 Thread Loris Bennett
Ryan Novosielski writes: >> On Dec 8, 2022, at 21:30, Kilian Cavalotti >> wrote: >> >> Hi Loris, >> >> On Thu, Dec 8, 2022 at 12:59 AM Loris Bennett >> wrote: >>> However, I do have a chronic problem with users requesting too much >>> memory. My approach has been to try to get people to use

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Loris Bennett
Ryan Novosielski writes: > On Dec 8, 2022, at 03:57, Loris Bennett wrote: > > Loris Bennett writes: > > Moshe Mergy writes: > > Hi Sandor > > I personnaly block "--mem=0" requests in file job_submit.lua (slurm 20.02): > > if (job_desc.min_mem_per_node == 0 or job_desc.min_mem_per_cpu

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Ryan Novosielski
On Dec 8, 2022, at 03:57, Loris Bennett mailto:loris.benn...@fu-berlin.de>> wrote: Loris Bennett mailto:loris.benn...@fu-berlin.de>> writes: Moshe Mergy mailto:moshe.me...@weizmann.ac.il>> writes: Hi Sandor I personnaly block "--mem=0" requests in file job_submit.lua (slurm 20.02): if (job

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Ryan Novosielski
> On Dec 8, 2022, at 21:30, Kilian Cavalotti > wrote: > > Hi Loris, > > On Thu, Dec 8, 2022 at 12:59 AM Loris Bennett > wrote: >> However, I do have a chronic problem with users requesting too much >> memory. My approach has been to try to get people to use 'seff' to see >> what resources thei

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Kilian Cavalotti
Hi Loris, On Thu, Dec 8, 2022 at 12:59 AM Loris Bennett wrote: > However, I do have a chronic problem with users requesting too much > memory. My approach has been to try to get people to use 'seff' to see > what resources their jobs in fact need. In addition each month we > generate a graphical

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Felho, Sandor
Sent: Thursday, December 8, 2022 7:52 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] srun --mem issue CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. If you

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Bill
If you use a job_submit.lua script just add if job_desc.pn_min_memory == 0 or job_desc.min_mem_per_cpu == 0 then log_info("slurm_job_submit: job from uid %d invalid memory request MaxMemPerNode", job_desc.user_id) return 2044 -- signal ESLURM_INVALID_TASK_MEMORY end Bill

Re: [slurm-users] srun --mem issue

2022-12-08 Thread René Sitt
s specified (I guess). Cheers, Loris --- From: slurm-users on behalf of Loris Bennett Sent: Thursday, December 8, 2022 10:57:56 AM To: Slurm User Community List Subject: Re: [slurm-users] srun --mem issue Loris Bennett writes: Moshe Mergy writes: Hi Sandor I perso

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Loris Bennett
nt: Thursday, December 8, 2022 10:57:56 AM > To: Slurm User Community List > Subject: Re: [slurm-users] srun --mem issue > > Loris Bennett writes: > >> Moshe Mergy writes: >> >>> Hi Sandor >>> >>> I personnaly block "--mem=0"

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Moshe Mergy
ubject: Re: [slurm-users] srun --mem issue Loris Bennett writes: > Moshe Mergy writes: > >> Hi Sandor >> >> I personnaly block "--mem=0" requests in file job_submit.lua (slurm 20.02): >> >> if (job_desc.min_mem_per_node == 0 or job_desc.min_mem

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Loris Bennett
e of resource-inefficient jobs telling them to look at their graphs and correct their resource requirements for future jobs. Cheers, Loris >> All the best >> Moshe >> >> ------------------- >> From: slurm-users on behalf of >> Felho, Sandor >> Sent: Wednesday, December

Re: [slurm-users] srun --mem issue

2022-12-08 Thread Loris Bennett
m=500G ? > Maybe there is a better or nicer solution... > > All the best > Moshe > > --- > From: slurm-users on behalf of Felho, > Sandor > Sent: Wednesday, December 7, 2022 7:03 PM > To: slurm-users@lists.schedmd.com > Subject: [slurm-users] srun --mem i

Re: [slurm-users] srun --mem issue

2022-12-07 Thread Moshe Mergy
or nicer solution... All the best Moshe From: slurm-users on behalf of Felho, Sandor Sent: Wednesday, December 7, 2022 7:03 PM To: slurm-users@lists.schedmd.com Subject: [slurm-users] srun --mem issue TransUnion is running a ten-node site using slurm with multiple queues

[slurm-users] srun --mem issue

2022-12-07 Thread Felho, Sandor
TransUnion is running a ten-node site using slurm with multiple queues. We have an issue with --mem parameter. The is one user who has read the slurm manual and found the --mem=0. This is giving the maximum memory on the node (500 GiB's) for the single job. How can I block a --mem=0 request? We