On Tue, 2006-02-07 at 13:18 -0500, Augustinas Abaravichyus wrote:
> Hello,
>
> we are having several problems with 'USERCFG[user] MAXJOB=limit' setting.
>
> It appears that maui double counts the jobs, so I have to set limit*2 in
> order to enforce the right limit.
>
> It also appears that when a job exists, additional jobs get started
> ignoring the set limit.
>
> maui-3.2.6p14
> torque-2.0.0p5
>
> our NODEACCESSPOLICY is set to SHARED. We do not have these problems on
> another cluster where we set NODEACCESSPOLICY as SINGLEJOB.
>
> Any advice on how to troubleshoot this, or a pointer to the right place
> to ask for help would be greatly appreciated.
See attached patch, it's a solution that works for us and one other site
until an official patch has been released.
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [EMAIL PROTECTED] Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
diff -bBwru site/src/moab/MPolicy.c x86_deb30/src/moab/MPolicy.c
--- site/src/moab/MPolicy.c 2005-09-12 18:48:36.000000000 +0200
+++ x86_deb30/src/moab/MPolicy.c 2005-09-16 20:33:08.000000000 +0200
@@ -709,7 +709,7 @@
if (UpdateStats == TRUE)
{
- MStatClearUsage(0,(1 << mlIdle),FALSE);
+ MStatClearUsage(0,(1 << mlActive)|(1 << mlIdle),FALSE);
}
else if (TrackIdle == TRUE)
{
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers