Hello,

I'm using Maui version 3.2.6p19-snap.1164984590,
configured in the following way.

The system is divided into three partitions: A, B, C.
By default, none of the partitions can be used:
  SYSCFG        PLIST=DEFAULT
Access to the partitions is granted by QoS:
  QOSCFG[test]  PLIST=A:B:C PDEF=C
  QOSCFG[foo]   PLIST=A:B PDEF=A
  QOSCFG[bar]   PLIST=A PDEF=A
All the jobs have initial QoS set to DEFAULT,
and then externally changed by the setqos command.

Ufortunately, the setqos command does not modify
job's partition mask, and therefore the jobs cannot
run in any partition.  It this a software bug or have
I misconfigured it?

I believe this is indeed a bug, and I've made
a tiny modification of the code that corrects
the behavior (see the attached diff).  Could
you confirm that it makes sense?

I'm not sure if MJobGetPAL should be placed before,
between, or after MJobUpdateFlags and MJobBuildCL.

Regards,
Lukasz
diff -Naur maui-3.2.6p19.orig/src/moab/MJob.c maui-3.2.6p19.bolo/src/moab/MJob.c
--- maui-3.2.6p19.orig/src/moab/MJob.c	2006-12-01 16:10:01.000000000 +0100
+++ maui-3.2.6p19.bolo/src/moab/MJob.c	2007-02-06 12:28:01.000000000 +0100
@@ -2014,6 +2014,8 @@
     {
     J->Cred.Q = Q;
 
+    MJobGetPAL(J,J->SpecPAL,J->PAL,NULL);
+
     MJobUpdateFlags(J);
 
     MJobBuildCL(J);
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to