Hi Diego,

thanks you for pointing out tast prologs. This might be the right place (needs 
testing). What this doesn't answer is the question
whether memory limitation could be or is handled by cgroups (which I think 
would be the better place as this framework is used for
other limitations as well).


Regards

        Uwe

Am 16.02.2016 um 09:22 schrieb Diego Zuccato:
> 
> Il 15/02/2016 12:39, Uwe Sauter ha scritto:
> 
>> I am unsure how this can be implemented. If I call "ulimit -d 
>> $((SLURM_MEM_PER_CPU * SLURM_NTASKS_PER_NODE * 1024))" in the
>> PrologSlurmctld script, will that limit still be active when the user's job 
>> executes? Will the limit be reset after the job ended?
> I'm quite sure PrologSlurmctld is the *wrong* place to set ulimit
> (unless these limits gets propagated to work nodes).
> IIUC http://slurm.schedmd.com/prolog_epilog.html, the right place should
> be TaskProlog script that gets executed on the work nodes.
> 

Reply via email to