Hi,

> Am 05.01.2017 um 19:14 schrieb Jin Li <lijin....@gmail.com>:
> 
> Hi all,
> 
> I have one multiple thread program using 6 threads. I want to submit
> this program to a queue ( where the host has more than 6 cores). What
> is the option I need to specify for the core number when submitting
> the job to the queue? Thanks for your help.

The correct way in SGE is to define a parallel environment (PE) with 
"allocation_rule $pe_slots" and request this with the proper amount of slots in 
the job submission. Please have a look at `man sge_pe`. Don't forget to attach 
the newly created PE to a queue in the "pe_list" entry.

For the "allocation_rule $pe_slots" you only need to adjust the number of slots 
across all machines this PE should run on after creating it with `qconf -ap 
smp` (you can name it "smp", "threaded",… or whatever you prefer).

Whether any PEs are already defined, you can check with: `qconf -spl`

-- Reuti
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to