Cool! A lot easier than I thought. So a default shell can also be specified so that the batch script line "#$ -S /bin/bash" can be omitted?
Joseph On 05/31/2012 02:11 PM, Rayson Ho wrote:
May be you can try sge_request, which sets the default request profiles: http://gridscheduler.sourceforge.net/htmlman/htmlman5/sge_request.html Rayson On Thu, May 31, 2012 at 5:04 PM, Joseph Farran<[email protected]> wrote:First, I like to give my sincere Thank You to Rayson Ho and all others who graciously give of their time here to help the OGE community. Really appreciated folks! My understanding of OGE qsub for batch jobs is that it defaults to the home directory for standard out& error files. To change the default output location with a batch script, one can use the OGE directive: #$ -cwd Which will change to the current working directory, the directory where the OGE submitted batch file resides. My question is, can this be set as a default in OGE instead of the home directory? So that if batch scripts omit "#$ -cwd", that this will be automatically added and not have the output default to the home directory? I realize that a batch script may have a "cd /here" or "cd /there", but if a "cdw" is added early in the batch script, then any user "cd /here" or "cd /there" would then overwrite the first "cdw". So the question is: Can the default *not* be the home directory, but rather "cwd". Same question for having to specify a shell with a batch script. #$ -S /bin/bash Can "/bin/bash" be set as the default shell if none are specified with "$ -S /bin/shell"? Thank you, Joseph _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
