Back to the main page.
Bug 1898 - qsubfeval fails if there are spaces in the name of the present working directory or path
Status | CLOSED WONTFIX |
Reported | 2012-12-17 12:10:00 +0100 |
Modified | 2012-12-31 11:46:24 +0100 |
Product: | FieldTrip |
Component: | qsub |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2012-12-17 12:10:29 +0100
Tim wrote by email: you might be interested in a problem that I encountered that I solved but isn't documented. The problem occurs when there are spaces somewhere in the current working directory (spaces in the directory where qsubcellfun is called don't matter). Easy enough to solve, but the problem is not immediately clear from the error. -------- submitting job timvmou_mentat330_p13856_b13_j001... qstat job id qsub: illegal -o value qsub: illegal -e value usage: qsub [-a date_time] [-A account_string] [-b secs] [-c [ none | { enabled | periodic | shutdown | depth=
Robert Oostenveld - 2012-12-17 12:27:53 +0100
from here roboos@mentat002> pwd /home/mrphys/roboos/with space all versions roboos@mentat002> echo hostname | qsub -e '/home/mrphys/roboos/with space' roboos@mentat002> echo hostname | qsub -e "/home/mrphys/roboos/with space" roboos@mentat002> echo hostname | qsub -e /home/mrphys/roboos/with\ space roboos@mentat002> echo hostname | qsub -e /home/mrphys/roboos/with' 'space result in this error. Hence it is a limitation in torque qsub itself that cannot be solved in MATLAB. I have added an explanatory error message to the matlab code: Error using qsubfeval (line 336) you cannot execute jobs from within a directory that has a space in its name roboos@mentat002> svn commit Sending qsub/qsubfeval.m Transmitting file data . Committed revision 7211. If you can think of a better solution, I look forward to hearing about it.