Hi,

I am trying to work out a way to have job specific directories using
GT4.2.1. Below is the XML job I would *like* to run.

<job>
<executable>/bin/ksh</executable>
<directory>${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID}</directory>
<argument>job_script.ksh</argument>
<stdout>job.log</stdout>
<project>test</project>
<fileStageIn>
<transfer>
<sourceUrl>gsiftp://globus.example.com/home/testuser/job_script.ksh</sourceUrl>
<destinationUrl>file://${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID}/job_script.ksh</destinationUrl>
</transfer>
</fileStageIn>
<fileStageOut>
<transfer>
<sourceUrl>file://${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID}/job.log</sourceUrl>
<destinationUrl>gsiftp://amsdc1-n-s00114.europe.shell.com/glb/home/nldbae/job.log</destinationUrl>
</transfer>
</fileStageOut>
<fileCleanUp>
<deletion>
<file>file://${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID}/job_script.ksh</file>
</deletion>
<deletion>
<file>file://${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID}/job.log</file>
</deletion>
</fileCleanUp>
</job>

However there seems to be way no to get Globus to create the
${GLOBUS_SCRATCH_DIR}/${GLOBUS_JOB_ID} directory.

Is there any advice on how to achieve this?

Kind regards,

Dougal

Reply via email to