On 29 January 2013 18:40, Reuti <[email protected]> wrote:

>
> a) Submit the job with a hold to modify the -wd:
>
> reuti@pc15370:~> qsub -h -l h=pc15370 test.sh
> Your job 5532 ("test.sh") has been submitted
> reuti@pc15370:~> qalter -wd /tmp/5532.1.all.q 5532
> modified working directory of job 5532
> reuti@pc15370:~> qrls 5532
> modified hold of job 5532
>
> You need to submit with a hold, as you don't know the jobnumber
> beforehand. So, no `cd` by hand necessary but a wrapper around `qsub` to do
> these steps for you.
>

As these are submitted via an automated system  this probably won't work.
 A server side JSV would know the job number and should be able to set the
working
directory so that would be another option.

William
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to