[gridway-user] Error submitting jobs to Torque/PBS via GridWay
Derek Gottlieb
derek at asc.edu
Thu Sep 27 13:36:03 CDT 2007
Ruben,
>> epilogue is deleting the job directory, so I'm not 100%. Is there a way
>> to specify to leave temporary files in the gwsubmit job file?
>
> you can hook in the wrapper.sh script. Line 490 after the call to the
> execution function. You can check the files with something like
> ls -la > /tmp/wrapper.out
> and check the file in the cluster frontend
I assume you mean the libexec/gw_wrapper.sh script? I don't have the
490 lines, but I dropped in an ls following execution and everything
looks ok there:
total 28
drwxr-xr-x 2 test users 141 2007-09-27 12:22 .
drwxr-xr-x 17 test users 4096 2007-09-27 12:22 ..
-rwxrwxrwx 1 test users 50 2007-09-27 12:22 hostname.sh
-rw-r--r-- 1 test users 464 2007-09-27 12:22 job.env
-rw-r--r-- 1 test users 0 2007-09-27 12:22 stderr.execution
-rw-r--r-- 1 test users 0 2007-09-27 12:22 stderr.wrapper
-rw-r--r-- 1 test users 36 2007-09-27 12:22 stdout.execution
-rw-r--r-- 1 test users 0 2007-09-27 12:22 stdout.wrapper
-rwxrw-rw- 1 test users 11831 2007-09-27 12:22 .wrapper
> I do not have a clue how the transfers work for the execution.stdout file and
> not for the wrapper std's
That's what I was afraid of when I was tracking this down. Seems like
all transfers should succeed or all should fail.
>> Don't you need to use the file:///tmp/stdout syntax?
>
> Yes you are right. does it work with the file:// URL?
The transfer works fine when I use that syntax. I can globus-url-copy
in both directions. I also rsynced the .gw_test_# folder to another
location to ensure I had the same exact setup, and the transfer works
fine with the permissions set on the wrapper stds as-is.
Derek
More information about the gridway-user
mailing list