[Mauiusers] Jobs ignore "BYNAME" advance reservation flag

Thomas Roeblitz roeblitz at zib.de
Thu Feb 17 07:09:56 MST 2005


Hi,

  after fixing a little bug in src/server/UserI.c, Maui shows the
desired behavior.

Patch:

@@ -6516,7 +6516,7 @@
 
   Flags = 0;
 
-  if (!strcmp(FlagString,NONE))
+  if (strcmp(FlagString,NONE) != 0)
     {
     MUBMFromString(FlagString,MResFlags,&Flags);
     }

Cheers,

  Thomas

On Wed, Feb 02, 2005 at 10:23:27AM +0100, Jörg Meltzer wrote:
> I have maui client version 3.2.6p9.
> I want to exclusively reserv resources for Jobs that have an "ADVRES" flag.
> My problem is that jobs without an ADVRES flag can steal the reserved 
> resources.
> At first I set the reservation. All nodes in the testcluster are reserved.
> 
> $ setres -u myid -x "BYNAME" -n j -s +0 -d 600 -r PROCS=1 TASKS==2
>  reservation 'j.0' created on 2 nodes (2 tasks)
> 
> 
> Now I qsub two jobs without an ADVRES flag and they start running.
> #!/bin/bash
> #PBS -l walltime=10:00
> sleep 160
> 
> 
> When I later submit jobs with a reservation binding, they are unable to 
> start within the reservation window,
> because the resources are used by these two jobs without a reservation 
> binding.
> 
> How to configure maui to make the job-reservation bindings work?
> 
> maui.cfg
>  SERVERHOST            cluster1
>  ADMIN1                root
>  RMCFG[CLUSTER1] TYPE=PBS
>  AMCFG[bank]  TYPE=NONE
>  RMPOLLINTERVAL        00:00:05
>  SERVERPORT            42559
>  SERVERMODE            NORMAL
>  LOGFILE               maui.log
>  LOGFILEMAXSIZE        10000000
>  LOGLEVEL              3
>  QUEUETIMEWEIGHT       1
>  FSPOLICY              PSDEDICATED
>  FSDEPTH               7
>  FSINTERVAL            86400
>  FSDECAY               0.80
>  BACKFILLPOLICY        FIRSTFIT
>  RESERVATIONPOLICY     CURRENTHIGHEST
>  RESCTLPOLICY          ADMIN
>  NODEALLOCATIONPOLICY  MINRESOURCE
> 
> 
> Thanks for any help,
>  Jörg
> 
> -----------------------------
> Zuse Institute Berlin  http://www.zib.de
> Jörg Meltzer             meltzer at zib.de
> Phone: +49 30 84185-304 
> 
> 
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://supercluster.org/mailman/listinfo/mauiusers

-- 
----------------------------------------------------------------------
Thomas Roeblitz, roeblitz at zib.de, http://www.zib.de/roeblitz
----------------------------------------------------------------------


More information about the mauiusers mailing list