[Moabusers] Msub, qsub and command paths

Jerry Smith jdsmit at sandia.gov
Thu Feb 14 09:23:41 MST 2008


John,

Do you have this setup in your moab.cfg?

RMCFG[base]  SUBMITCMD=/absolute/path/to/qsub

Jerry

John Wang wrote:
> 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/6af99db3/attachment.html


More information about the moabusers mailing list