If the module command cannot be found that usually means that you did not invoke the bash shell with the option “-l” (lower case L). Thus, job scripts, etc. should always start with #!/bin/bash -l