[GE issues] [Issue 3297] New - Using a pseudo variable to qsub -wd changes output path instead of working directory

reuti reuti at staff.uni-marburg.de
Fri Dec 10 21:30:26 GMT 2010


http://gridengine.sunsource.net/issues/show_bug.cgi?id=3297
                 Issue #|3297
                 Summary|Using a pseudo variable to qsub -wd changes output pat
                        |h instead of working directory
               Component|gridengine
                 Version|6.2u5
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|kernel
             Assigned to|andreas
             Reported by|reuti






------- Additional comments from reuti at sunsource.net Fri Dec 10 13:30:22 -0800 2010 -------
Issuing a command like:

qsub -wd '$HOME' test.sh

will not change the working directory, but instead create a stdout file with literal name $HOME in the home directory. Using pseudo
variables seems to be used by the JAVA interface too (where it also fails), but according to `man qsub` "-wd" doesn't support pseudo
variables at all.

The above command should fail, unless there exists a directory with name /home/user/$HOME in literal.

That the output file is changed, seems to be a side effect when the $HOME is seen and interpreted.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=304068

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list