[GE users] making consumable not related to PE

Ionel GARDAIS ionel.gardais at tech-advantage.com
Wed Jul 23 13:50:07 BST 2008


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi list,

I'd like to schedule jobs based on the use (or not) of a local harddrive.
I have an execution host with two harddrives mounted under /data-1-1 and 
/data-1-2.
I created two consumables resources :
data-1-1            d11        INT         <=    YES         YES        
0        0
data-1-2            d12        INT         <=    YES         YES        
0        0

Then I bound these resources  to the execution host  :
hostname              bulnode-1.beicip.fr
complex_values        data-1-1=1,data-1-2=1

When I submit multiple jobs to the host, requesting either for d11 or 
d12 complexes, I have one job scheduled using resource d11 and one job 
using d12.
$ qsub -l d11=1 -b y /bin/sleep 30 # (run multiple times)
$ qsub -l d12=1 -b y /bin/sleep 30 # (run multiple times)
$ qstat
  18574 0.55500 sleep      gardais      r     07/23/2008 14:45:15 
bul.q at bulnode-1.beicip.fr      MASTER
  18578 0.55500 sleep      gardais      r     07/23/2008 14:45:15 
bul.q at bulnode-1.beicip.fr      MASTER
  18575 0.55500 sleep      gardais      qw    07/23/2008 14:45:08
  18576 0.55500 sleep      gardais      qw    07/23/2008 14:45:08
  18577 0.55500 sleep      gardais      qw    07/23/2008 14:45:08
  18579 0.55500 sleep      gardais      qw    07/23/2008 14:45:13
  18580 0.55500 sleep      gardais      qw    07/23/2008 14:45:13
  18581 0.55500 sleep      gardais      qw    07/23/2008 14:45:13
  18582 0.55500 sleep      gardais      qw    07/23/2008 14:45:14


Problem arise when I request a PE : job stays in qw state because it 
require $NSLOTS to run but the complex definition is only set to "1".
What I want to do is to restrict the number of running job per harddrive 
to one.

Any clues ?

Thanks,
Ionel

-- 
Ionel GARDAIS
System-Network Engineer




    [ Part 2: "Attached Text" ]

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net



More information about the gridengine-users mailing list