<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
<br>
My understanding is :<br>
<br>
the right PBS card to limit real memory use and have the job killed if going
over this limit is<br>
pvmem and not pmem or mem<br>
<br>
But pvmem only control static and heap memory so if you use particularly
a fortran compiler in <br>
automatic mode for local array on an application using local array or automatic
array (dimensionned <br>
through an integer argument in a sub routine) you won't control all the memory.<br>
<br>
And there is no way to control both stack, heap and static with one PBS card.<br>
<br>
So the trick is to make sure not to use the stack area like with pgi compiler.<br>
With pgi in static mode-Msave at least on x86_64 :<br>
then you may control all the memory because :<br>
local array go in the bss (static area)<br>
and automatic array in the heap ( in 5.2 and 6.0).<br>
<br>
Etienne Gondet.<br>
<br>
Seb Seb a écrit:<br>
<blockquote type="cite"
cite="mid20060321040356.43310.qmail@web25904.mail.ukl.yahoo.com">
<div>Dear All,</div>
<div> </div>
<div>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 ?</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>Best regards,</div>
<div>Seb</div>
<p>                 </p>
<hr size="1"> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez
les tarifs exceptionnels pour appeler la France et l'international. <a
href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a>
la version beta.<br>
<br>
<font style="background-color: rgb(255,255,255);">
<p align="center"><font style="background-color: rgb(255,255,255);">Click
<a
href="https://www.mailcontrol.com/sr/HNgnX2oGVMjox1XNZTnTdo7%21AaQEk45gYZtkb0yoKK6gIGH%21Drn%21szHcSxHUk2pi%21CmLUWnyyyoBpTPbkhyj0sbzgqHxOhExqSHtlBbJ6+dluc%21mW4CvAv1VZNVJYJ8olAF+FnEHHqwyLU6QTWcNBY9yFEDw7SEzBehOwIwuj+AJvu6NLlYAzRWJGx198FZaA6HfzZQQ%21yvn5ZxYJVKoj7Z43oVxeMeC">here</a>
to report this email as spam.</font></p>
</font>
<pre wrap="">
<hr width="90%" size="4">
_______________________________________________
torqueusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.supercluster.org/mailman/listinfo/torqueusers">http://www.supercluster.org/mailman/listinfo/torqueusers</a>
</pre>
</blockquote>
<br>
</body>
</html>