[torqueusers] no spaces in directory names
garrick at usc.edu
Tue Feb 5 16:09:57 MST 2008
On Tue, Feb 05, 2008 at 05:17:35PM -0500, Pete Wyckoff alleged:
> Here's a cute little bug for somebody who is bored.
> opt-login04$ cd ~/test
> opt-login04$ mkdir "5000 atoms"
> opt-login04$ cd "5000 atoms"
> opt-login04$ echo hostname | qsub
> Wait forever, no output file shows up.
> Failed to expand destination path in data staging: /b/pw/test/5000 atoms/STDIN.o131148
> Output retained on that host in: /var/spool/batch/torque/undelivered/131148.opt-.OU
> Failed to expand destination path in data staging: /b/pw/test/5000 atoms/STDIN.e131148
> Output retained on that host in: /var/spool/batch/torque/undelivered/131148.opt-.ER
The error makes sense. Just like 'cat 5000 ./test/5000 atoms/foo' would fail.
We need to escape the space chars with a backslash. I'm debating whether we do
it in qsub, pbs_server, or pbs_mom.
Another possibility is to set $IFS to empty for the wordexp() calls, but I
don't like that idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20080205/c5e831af/attachment.bin
More information about the torqueusers