[Moabusers] Msub, qsub and command paths

John Wang jwang at dataseekonline.com
Thu Feb 14 13:40:05 MST 2008


Hello Jerry

Yes, found that a few minutes after posting the message to the mail list and
it worked.

Of course, msub now tends to have the outputs all named STDIN.oXXX and
STDIN.eXXX instead of qsub¹s foo.oXXX and foo.eXXX for the script foo but
the user could specify the name with the ­N flag.   That¹s bound to raise a
few complaints from the user community.   My developers are also resisting
the change to msub on the basis that qsub tends to be a more common
submission command regardless of whether it¹s Torque, OpenPBS, Loadleveler,
SGE, etc.

Thanks,
John


On 2/14/08 10:23 AM, "Jerry Smith" <jdsmit at sandia.gov> wrote:

> John,
> 
> Do you have this setup in your moab.cfg?
> 
> RMCFG[base]  SUBMITCMD=/absolute/path/to/qsub
> 
> Jerry
> 
> John Wang wrote: 
>>   Msub, qsub and command paths Hello
>>  
>> I would like to convince the users to use msub instead of qsub as early as
>> possible so as to maintain more flexibility but have noticed that msub
>> results in the message  ³ERROR:    cannot migrate job to PBS ­ exec Œqsub¹
>> cannot be located or is not executable².   If I do a simple ³ln ­s
>> /usr/local/bin/qsub /usr/bin/qsub² then it works fine so it must be an issue
>> with the non-interactive command path.   By submitting a script that just
>> outputs the contents of the path variable via qsub, I determined that if I
>> modify the PATH variable in /etc/bashrc then it would be in the
>> non-interactive path, unfortunately msub still pops up with the error message
>> so clearly it doesn¹t have the same environment behaviour as the bash shell
>> (not surprising since mysub is a binary executable).   Is there a way to
>> modify the PATH for the msub executable?   I really don¹t want to have to
>> document a list of symbolic links scattered through the system.
>>  
>> Regards,
>> John 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/moabusers/attachments/20080214/74e28f15/attachment.html


More information about the moabusers mailing list