[slurm-dev] question within SLURM

2017-10-24 Thread Rajiv Nishtala
Hi, This is the first LARGE project I'm dealing with, it is exciting but also a bit complex to browse through even with cscope and ctags. I'm trying to play with the part of the code that is responsible for killing a job if it exceeds a memory limit, for instance via cgroups or so. If I und

[slurm-dev] Re: How to strictly limit the memory per CPU

2017-11-02 Thread Rajiv Nishtala
And also using cgroups; https://slurm.schedmd.com/cgroup.conf.html Best wishes, Rajiv On 02/11/17 04:37, Christopher Samuel wrote: On 02/11/17 14:34, 马银萍 wrote: It means that he used only one cpu and asked for 125G memoey, so he used most of the memory on that node, then it will affect othe

[slurm-dev] Re: How to strictly limit the memory per CPU

2017-11-02 Thread Rajiv Nishtala
It can also constrain the memory a CPU can use. for instance, using --mem-per-cpu ..I maybe wrong. Best, Rajiv On 02/11/17 11:36, Chris Samuel wrote: On Thursday, 2 November 2017 8:02:47 PM AEDT Rajiv Nishtala wrote: And also using cgroups; https://slurm.schedmd.com/cgroup.conf.html