Torque and Maui

From CUC3
Jump to navigation Jump to search

Notes on local use of Torque and Maui. Probably not much in here for end users, unless you're very curious.

Environment passing

Weirdism: qsub -v PATH does not work on several clusters, whereas qsub -V does cause PATH to be carried into the job. Turns out that SuSE has a variable PROFILEREAD that is rather significant. If it's set and passed in to the job (as it would be with -V) then very little of the stuff in /etc/profile gets done- and in particular PATH is not reset. None of /etc/profile.d gets done either.

On non-Wales group clusters this matters little, as the nodes have modules set up and working on them and so the user's environment in a job gets initialised according to the modules they stuck in their .bashrc, and all's well. On Wales group clusters where the rule is no modules on nodes this leads to no environment being set up unless you pass in PROFILEREAD.