Am 17.08.2012 um 14:46 schrieb James Abbott:

> 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?

http://gridengine.org/pipermail/users/2012-July/004255.html

-- Reuti


> 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


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to