[torqueusers] Max mem

etienne gondet etienne.gondet at mercator-ocean.fr
Tue Mar 21 10:34:23 MST 2006


    My understanding is :

the right PBS card to limit real memory use and have the job killed if 
going over this limit is
pvmem and not pmem or mem

But pvmem only control static and heap memory so if you use particularly 
a fortran compiler in
automatic mode for local array  on an application using local array or 
automatic array (dimensionned
through an integer argument in a sub routine) you won't control all the 
memory.

And there is no way to control both stack, heap and static with one PBS 
card.

So the trick is to make sure not to use the stack area like with pgi 
compiler.
With pgi in static mode-Msave at least on x86_64 :
     then you may control all the memory because :
        local array go in the bss (static area)
        and automatic array in the heap ( in 5.2 and 6.0).

    Etienne Gondet.

Seb Seb a écrit:

> Dear All,
>  
> Is there a way to automaticaly kill jobs which use more memory than 
> the amount specified by -l mem = xx mb or by resources_max.mem = xx mb ?
>  
> For exemple, for a queue where resources_max.mem is 6 GB, a job which 
> uses 9 GB of memory runs without any problem. How to avoid this and 
> automaticaly kill the job?
>  
> Best regards,
> Seb
>
> ------------------------------------------------------------------------
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
> tarifs exceptionnels pour appeler la France et l'international. 
> Téléchargez 
> <http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com> 
> la version beta.
>
> Click here 
> <https://www.mailcontrol.com/sr/HNgnX2oGVMjox1XNZTnTdo7%21AaQEk45gYZtkb0yoKK6gIGH%21Drn%21szHcSxHUk2pi%21CmLUWnyyyoBpTPbkhyj0sbzgqHxOhExqSHtlBbJ6+dluc%21mW4CvAv1VZNVJYJ8olAF+FnEHHqwyLU6QTWcNBY9yFEDw7SEzBehOwIwuj+AJvu6NLlYAzRWJGx198FZaA6HfzZQQ%21yvn5ZxYJVKoj7Z43oVxeMeC> 
> to report this email as spam.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>torqueusers mailing list
>torqueusers at supercluster.org
>http://www.supercluster.org/mailman/listinfo/torqueusers
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20060321/10bb3208/attachment-0001.html


More information about the torqueusers mailing list