Am 13.04.2014 um 09:04 schrieb Edrisse Chermak: > Hi Reuti, > > Thanks for the two options and sorry for the late answer, > > I just have a last question : after submitting a job, one or more socket(s) > will be used. At this point, is it possible to extract from SGE the socket > number(s) which are used by the job ?
Inside the job script you can extract the number of the socket by checking the qname: expr $QUEUE : "all[.]\(.*\)[.]q" for all.1.q, all.2.q,... will return 1, 2,... Getting 2 sockets on one machine by a PE called smp and using $pe_slots (which will collect slots from several queues on one and the same machine) can be checked by looking into the $PE_HOSTFILE in the job script in case of such a job. The two elected queues for this job will be noted there. NB: One job (with one socket, 8 cores) is one slot under this circumstance - an exception from the usual setup where you request slots (not sockets like here) in the PE. A single socket job is hence a serial one. In case your other jobs on the cluster allow such a setup... -- Reuti > Best Regards, > Edrisse > > On 04/08/2014 03:23 PM, Reuti wrote: >> Hi, >> >> Am 08.04.2014 um 13:57 schrieb Edrisse Chermak: >> >>> We have a set of machines with 4 sockets of 8 cores for each machine >>> (so, 32 cores per machine). >>> We usually ask 8 cores for most of our jobs. >>> We would like to bind each job submitted to any free socket available. >> What you can do in SGE is to define 4 queues per host, with a number as >> suffix which reflects the to be used socket. With this number you have to do >> the binding on your own (but it could be put in a queue starter_method, as >> during the start of the job the number of the socket is fixed already). >> >> >>> So, my question is : Is there a way for Grid Engine to see a set of >>> machines not as machines with cores, but as a set of sockets ? >>> I mean, is it possible to configure Grid Engine so that for each >>> submitted job it goes to a free socket unit instead of set of 8 free cores ? >> In UGE they introduced RSMAP for this. >> >> -- Reuti >> >> >>> Best Regards, >>> Edrisse >>> >>> Notes: - I'm using GE2011.1 >>> - I know it's possible to bind jobs to cores with -binding >>> striding option in qsub. But the architecture of our machines is quite >>> complex. So, we have difficulties in finding the right core combination >>> to bind exclusively & automatically each job on free single sockets. >>> >>> ________________________________ >>> >>> This message and its contents including attachments are intended solely for >>> the original recipient. If you are not the intended recipient or have >>> received this message in error, please notify me immediately and delete >>> this message from your computer system. Any unauthorized use or >>> distribution is prohibited. Please consider the environment before printing >>> this email. >>> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> https://gridengine.org/mailman/listinfo/users > > > -- > Edrisse Chermak > Post-Doctoral Fellow > Office : +966 128080705 > Mobile : +966 544700264 > [email protected] > Catalysis center - Building 3, Level 4, West Side > KAUST, Thuwal, Saudi Arabia > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
