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