[Moabusers] Msub, qsub and command paths

John Wang jwang at dataseekonline.com
Wed Feb 13 14:08:52 MST 2008


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/20080213/83068722/attachment.html


More information about the moabusers mailing list