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= | dir= | interval=}... ] [-C directive_prefix] [-d path] [-D path] [-e path] [-h] [-I] [-j oe] [-k {oe}] [-l resource_list] [-m n|{abe}] [-M user_list] [-N jobname] [-o path] [-p priority] [-P proxy_user] [-q queue] [-r y|n] [-S path] [-t number_to_submit] [-T type] [-u user_list] [-w] path [-W additional_attributes] [-v variable_list] [-V ] [-x] [-X] [-z] [script] -------- I can reproduce this. </p>

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.


Robert Oostenveld - 2012-12-31 11:46:24 +0100

closed several bugs that have been resolved for some time. Feel free to reopen the bug if you disagree.