Hello,

We're using maui-3.2.6p21 with Gold. We've noticed that the nodecount
for each job isn't reported to Gold, there is only the number of
processors per job.

You'll find a patch proposal attached. I've tried to send it to [email protected] but this address has permanent fatal error. Maybe there's some devs on this list ?

Regards,

--
------------------------------------------
  Mehdi AMINI
  Département Expertise pour la Recherche
  Université de Strasbourg / Direction Informatique
------------------------------------------

*** maui-3.2.6p21/src/moab/MAM.c	2008-10-20 17:58:29.000000000 +0200
--- maui-3.2.6p21.new/src/moab/MAM.c	2009-03-25 17:49:35.000000000 +0100
***************
*** 669,674 ****
--- 669,683 ----
          MXMLAddE(JE,AE);
          }
  
+       if (J->NodeCount > 0)
+         {
+         AE = NULL;
+         MXMLCreateE(&AE,"Nodes");
+         MXMLSetVal(AE,(void *)&(J->NodeCount),mdfInt);
+         MXMLAddE(JE,AE);
+         }
+ 
+ 
        if (Memory > 0)
          {
          AE = NULL;
***************
*** 1007,1012 ****
--- 1016,1029 ----
          MXMLSetVal(AE,(void *)&R->AllocPC,mdfInt);
          MXMLAddE(JE,AE);
          }
+ 		
+       if (R->NodeCount > 0)
+         {
+         AE = NULL;
+         MXMLCreateE(&AE,"Nodes");
+         MXMLSetVal(AE,(void *)&(R->NodeCount),mdfInt);
+         MXMLAddE(JE,AE);
+         }
  
        if (R->DRes.Mem > 0)
          {
***************
*** 1424,1429 ****
--- 1441,1454 ----
          MXMLAddE(JE,AE);
          }
  
+       if (J->NodeCount > 0)
+         {
+         AE = NULL;
+         MXMLCreateE(&AE,"Nodes");
+         MXMLSetVal(AE,(void *)&(J->NodeCount),mdfInt);
+         MXMLAddE(JE,AE);
+         }
+ 
        if (Memory > 0)
          {
          AE = NULL;

_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to