[Mauiusers] MAUI miscounts total running user specific jobs ... user MAXJOB limit is affected

Richard Walsh rbw at ahpcrc.org
Wed Nov 30 09:01:29 MST 2005


Ake,

Thanks.  I see from looking back at old copies of the source that your 
patch was
actually in the code as of last March!  So somehow this got "un-fixed" 
in the
interim.  The line with (1 << mlIdle)-only appears after the 'else if' 
for the TrackIdle
== TRUE condition.   Looks like a vi yank-and-put error to me ... ;-) ...

I remember this working fine at one time.  I am going to make the change 
and install ...

Thanks,

Richard Walsh

PS  Spent two weeks in Orsa over mid-summer.  Sweden is a
      beautiful country.


Ake Sandgren wrote:

>This patch fixes the problem but it is sofar unofficial since i haven't
>gotten any comments from above.
>
>The jobs isn't the only thing i manages to count twice btw.
>
>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)
>     {
>
>
>Dave can you get someone to take a look at this? I complained about it
>some weeks ago toghether with someone from NSC.
>
>  
>


-- 

Richard B. Walsh

Project Manager
Network Computing Services, Inc.
Army High Performance Computing Research Center (AHPCRC)
rbw at ahpcrc.org  |  612.337.3467

-----------------------------------------------------------------------
This message (including any attachments) may contain proprietary or
privileged information, the use and disclosure of which is legally
restricted.  If you have received this message in error please notify
the sender by reply message, do not otherwise distribute it, and delete
this message, with all of its contents, from your files.
----------------------------------------------------------------------- 



More information about the mauiusers mailing list