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

2017-11-01 Thread
hello, I want to limit the memory per cpu in my cluster, some settings in slurm.conf are like this: NodeName=c[01-10] CPUs=32 RealMemory=127360 PartitionName=C032 Nodes=c[01-10] MaxMemPerCPU=3980 DefMemPerCPU=3980 MaxCPUsPerNode=32 I have 10 nodes, each node has 127360M memory, and 32 CP

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

2017-11-02 Thread
Thanks all for your repliy, But what I need is to stop user to use --mem and --mem-per-cpu , but I can't figure out this with cgroup and tres. How can I use the "submit filter", should I modify the source code of SLURM? Is there any way to config some files of SLURM to solve this problem? All the b

[slurm-dev] How to config job_submit.so plugin

2017-11-05 Thread
hello, I want to config the job_submit.so plugin in my cluster, and I add JobSubmitPlugins=job_submit/lua in slurm.conf,but when I restart slurmctld, Getting the error below: Nov 05 02:24:03 mgt systemd[1]: Starting Slurm controller daemon... Nov 05 02:24:03 mgt systemd[1]: PID file /var/run/slur