This error is usually caused by a line in in your .bashrc
or .bash_private
that contains a module use
or module load
command. The error message should tell you exactly where it is. It comes from the fact that the module
command is not available on the access node. So you should see it every time you log into access, but not on the computing nodes.
To get rid of it, you can either prefix each use of the module
command in any .bash…
with
command -v module >/dev/null 2>&1 &&
or you use an explicit if block around them:
if command -v module >/dev/null 2>&1; then
module use $RESIF_ROOTINSTALL/core/modules/all
module use $RESIF_ROOTINSTALL/lcsb/modules/all
fi