[GE users] 6.2u3 Exclusive Scheduling Feature

peeter phimmelf at hotmail.com
Wed Sep 16 23:29:24 BST 2009


Thank you for the ideas. The following practice, some of which I gleaned from various online discussions, will assign contiguous cores to a job, where the contiguous cores have to be on the same system:

-- first check to see what parallel environment(s) already exist in your SGE environment:
'qconf -spl'
make

-- now add a  parallel environment to SGE using the following "qconf -ap" command:
qconf -ap test_pe
pe_name           test_pe
slots              0
user_lists         NONE
xuser_lists        NONE
start_proc_args    /bin/true
stop_proc_args     /bin/true
allocation_rule    $pe_slots
control_slaves     FALSE
job_is_first_task  TRUE
urgency_slots      min
accounting_summary FALSE


-- now you can modify/edit two of the above default parameters settings ("slots" and "allocation_rule") to the following:
-- (1)  "slots 10"
-- (2)  "allocation rule $pe_slots"
'qconf -sp test_pe'
pe_name            test_pe
slots              10
user_lists         NONE
xuser_lists        NONE
start_proc_args    /bin/true
stop_proc_args     /bin/true
allocation_rule    $pe_slots
control_slaves     TRUE
job_is_first_task  FALSE
urgency_slots      min
accounting_summary FALSE


-- Step #2: Attach/associate one or more "queues" to the "test_pe" parallel environment using "qconf -mq"
-- this is abbreviated to show change
'qconf -mq test_batch'
pe_list               make test_pe

-- to use the PE add '-pe test_pe 2'. The '2' represents number of slots requested
example 'qsub -pe test_pe 2'

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

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



More information about the gridengine-users mailing list