Hi ,

I just found the way , set "DefMemPerCPU=4096" for partition in slurm.conf 


It will use 4G memory request.


Regards,
Bill








 

 
 
 
------------------ Original ------------------
From:  "Bill"<b...@simplehpc.com>;
Date:  Thu, Jul 19, 2018 06:39 PM
To:  "Slurm User Community"<slurm-users@lists.schedmd.com>; 

Subject:  [slurm-users] default memory request

 
Hi ,


How to set a default memory request when use srun without --mem?


for example,
$srun --mem=40G sleep 120 , it will require 40G memory, but if I run $srun  
sleep 120, it may use all node's memory.
How to setup the default srun request memory size without --mem arguments?


Many thanks,
Bill

Reply via email to