See this thread : http://gridengine.org/pipermail/users/2012-July/004130.html
Regards, On Fri, Aug 17, 2012 at 2:46 PM, James Abbott <[email protected]>wrote: > Hello, > > I would like to set an OMP_NUM_THREADS environmental variable on our > execution hosts to reflect the number of slots allocated to a job, and > prevent certain openmp applications trying to run on more cores than they > have been allocated. While this can obviously be set in the submission > script, I would prefer to do this centrally rather than relying on users to > remember to set it. > > $SGE_ROOT/$SGE_CELL/common/**sge_request seems like the obvious place i.e. > > -v OMP_NUM_THREADS=${NSLOTS} > > but at this stage the jobs environmental variables are not available. > > Is there any simple way I can do this? > > Many Thanks, > James > -- > Dr. James Abbott > Lead Bioinformatician > Bioinformatics Support Service > Imperial College, London > ______________________________**_________________ > users mailing list > [email protected] > https://gridengine.org/**mailman/listinfo/users<https://gridengine.org/mailman/listinfo/users> >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
