[torqueusers] Torque cannot handle directories with comma's in the
csamuel at vpac.org
Thu Sep 16 21:49:51 MDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
One of our users seems to have found a bug in Torque's directory handling.
If you submit a job from a directory which has a comma somewhere in its full
path then Torque will split the path at that comma and attempt to use that
for $PBS_O_WORKDIR as well as the directory to scp files to, which of course
will fail (unless you're lucky/unlucky enough to have an existing directory
with the split name).
$ mkdir /tmp/test,dir
$ cd /tmp/test,dir
$ qsub ./vpactest.sh
(vpactest.sh is attached to this email)
The job will fail in the exit stage and you'll need to SSH to the node it ran
on and look in /usr/spool/PBS/undelivered to see the output and error files.
Looking at the Torque source code commas are used for strtok() and others all
over the place..
Christopher Samuel - (03)9925 4751 - VPAC Systems & Network Admin
Victorian Partnership for Advanced Computing http://www.vpac.org/
Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 90 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20040917/a4a46ee7/vpactest.bin
More information about the torqueusers