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

jacksond at supercluster.org jacksond at supercluster.org
Fri Sep 17 09:57:55 MDT 2004


Chris,

   This constraint has been documented in the 'Environment Constraints' 
appendix of the Torque extension admin manual.  This behavior should 
probably not be modified at this point.

Dave

On Fri, 17 Sep 2004, Chris Samuel wrote:

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


More information about the torqueusers mailing list