Module not found launching Desktop

Boston University uses SGE and we also ran into this problem. Our script_wrapper begins with:

set +o posix

This tells /bin/sh to behave like /bin/bash and allows process substitution to work. It also
looks like the module command isn’t defined. To deal with that you might also need to add:

. /etc/bashrc

What we actually do is add this:

. ~/.bashrc

which sources /etc/bashrc but also brings in some user settings (umask in particular).
hope this helps.

–Mike Dugan

1 Like