[torqueusers] job directory
garrick at usc.edu
Wed Dec 19 01:50:11 MST 2007
On Wed, Dec 19, 2007 at 09:26:22AM +0100, Wilhelm Eger alleged:
> Hi there!
> Is there a way to get the directory from where the job was sent to torque? I
> looked through the output of "qstat -f job_identifier", but there is no
> information about it. My goal is to change a script, which copies running
> jobs from the nodes to a certain directory, in that way, that it copies all
> running jobs to the directories they were started from.
It is stored in the PBS_O_WORKDIR env variable for the job.
Often the first thing a script does is 'cd $PBS_O_WORKDIR'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20071219/6bc5f798/attachment.bin
More information about the torqueusers