Hi, Am 18.02.2014 um 12:31 schrieb Esztermann, Ansgar:
> we are hardly ever using soft requests, but we have an external load balancer > that faces a problem that should also appear with soft requests, namely: how > does a job know if a request has been granted? I could not find anything I'm > the docs or the output of env. Sometimes, it is possible to detect this by > looking at the node where the job is running, but sometimes it is not: > - when requesting a floating software license, there may be licenses > available on the license server, but the scheduler may have allocated them to > a different job; And the licenses were requested as a soft request? > - likewise for job-exclusive accelerator hardware; Consumables can't be a soft request - how do you request the hardware component? AFAICS there is no output for the job in the way of "I'm running on this machine because of the following fulfilled resource requests". Some features you can test quite easily (like platform or 32 vs. 64 bit), but a general output would be better of course. -- Reuti > Is there any way to detect this from inside a job script? > > Thanks, > > A. > > -- > Ansgar Esztermann > DV-Systemadministration > Max-Planck-Institut für biophysikalische Chemie, Abteilung 105 > > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
