On May 28, 2009, at May 28, 6:02 PM, Cihan Altinay wrote:
Hi Stuart,
Stuart Martin wrote:
TeraGrid is using OGSA-DAI to create a virtual DB on top of gram
auditing DB and TeraGrid's central DB (TGCDB).
Here is a paper on that:
http://www.globus.org/alliance/publications/papers/TG_GRAM_Auditing_and_LEAD_Gateway.pdf
Cool, thanks.
Alternatively, is it possible to get the PBS job ID to use PBS
tools for
this task?
The "localJobId" was added as a resource property in GT 4.2.
http://www.globus.org/toolkit/docs/4.2/4.2.0/execution/gram4/developer/gram4-wsdl.html#gram4-rps-mejpt
But this was not available in ws gram in GT 4.0.
I see. Unfortunately we are still using 4.0. A related question
which might solve my problem is: How to use the email on job
execution/completion feature of PBS with Gram? I noticed that the
JobDescription perl file contains the relevant checks to add -m and -
M options to the PBS script but how can I actually set the address
and options from my RSL or Java API?
That would be an extension to the job description, here is the doc on
that:
http://www-unix.globus.org/toolkit/docs/4.0/execution/wsgram/user-index.html#s-wsgram-user-specifyingextensions
I think something like this would work:
<extensions>
<email_address>[email protected]</email_address>
<emailonexecution>yes</emailonexecution>
</extensions>
Cheers,
Cihan