[torqueusers] Torque cannot handle directories with comma's in the full path.

Chris Samuel csamuel at vpac.org
Thu Sep 16 21:49:51 MDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

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).

To reproduce:

$ 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..

cheers!
Chris
- -- 
 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)

iD8DBQFBSl7fO2KABBYQAh8RAqeSAJ93NQJcen6aQV5PqqcJTNdknOrbFACfcpe6
WfxDpg6MEsI5rBtr7oHXozI=
=Gw0/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vpactest.sh
Type: application/x-shellscript
Size: 90 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20040917/a4a46ee7/vpactest.bin


More information about the torqueusers mailing list