[GE issues] [Issue 2819] New - PE int allocation rule should work with non-multiples

templedf dan.templeton at sun.com
Thu Dec 4 19:20:17 GMT 2008


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2819
                 Issue #|2819
                 Summary|PE int allocation rule should work with non-multiples
               Component|gridengine
                 Version|6.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P1
            Subcomponent|scheduling
             Assigned to|andreas
             Reported by|templedf






------- Additional comments from templedf at sunsource.net Thu Dec  4 11:20:13 -0800 2008 -------
Let's look at an example of the current behavior:

# qconf -sp 3per
pe_name           3per
slots             999
user_lists        NONE
xuser_lists       NONE
start_proc_args   /bin/true
stop_proc_args    /bin/true
allocation_rule   3
control_slaves    FALSE
job_is_first_task TRUE
urgency_slots     min
# qconf -sq all.q | grep pe_list
pe_list               make 3per
# qsub -pe 3per 2 examples/jobs/sleeper.sh
Your job 21408 ("Sleeper") has been submitted
# qstat -f
queuename                      qtype used/tot. load_avg arch          states
----------------------------------------------------------------------------
all.q at ultra20                  BIP   0/4       0.12     sol-amd64   
############################################################################
- PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS
############################################################################
 21408 0.55500 Sleeper    root         qw    12/01/2008 10:32:02     2      
-bash-3.2# qstat -j 21408
==============================================================
job_number:                 21408
exec_file:                  job_scripts/21408
submission_time:            Mon Dec  1 10:32:02 2008
owner:                      root
uid:                        0
group:                      root
gid:                        0
sge_o_home:                 /root
sge_o_log_name:             root
sge_o_path:                 /usr/local/sge6.2/bin/sol-amd64:/usr/sbin:/usr/bin
sge_o_shell:                /usr/bin/bash
sge_o_tz:                   US/Pacific
sge_o_workdir:              /root
sge_o_host:                 ultra20
account:                    sge
mail_list:                  root at ultra20
notify:                     FALSE
job_name:                   Sleeper
jobshare:                   0
shell_list:                 /bin/sh
env_list:                  script_file:               
/usr/local/sge6.2/examples/jobs/sleeper.sh
parallel environment:  3per range: 2
scheduling info:            cannot run in PE "3per" because it only offers 0 slots

I have a PE with an int allocation rule.  Unless I submit jobs that request a
multiple of that int, the jobs won't be scheduled.  Instead, it should be
possible to submit a job with, for example, -pe 3per 4, and get three slaves on
one host and 1 slave on another.

This is a P1 because a very important customer wants it.  Now.  Please.  Thank
you.  See the CR for details.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=91203

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list