[torquedev] Environment variable for PBS script name ?

Chris Samuel samuel at unimelb.edu.au
Wed Aug 31 06:25:59 MDT 2011

On Wed, 31 Aug 2011 05:15:14 PM Gareth.Williams at csiro.au wrote:

> The information is sort of already available ($PBS_O_WORKDIR,
> PBS_O_HOST) $0 is the spooled script which is what matters.

That's not what the users are asking for though, they want the
path to the script they submitted with qsub...

> While the job is running, qstat -f has 'submit_args' including the
> path/to/script but that's not readily accessible afterward.

Good point - I should have thought about that!

> I guess there is no hard in making the information more readily
> available for completeness - say in PBS_O_ARGS

Yeah, that'd be great - perhaps $PBS_O_SCRIPT ?

   Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545

More information about the torquedev mailing list