Hi Hezi, A module load command in a script only affects the environement for the script itself. You should source your module.sh file(/etc/profile.d/modules.sh) in your batch script before using command module load.
Example: . /etc/profile.d/modules.sh module load mpi-1.5.3 Best Wishes, Igor. On 03/12/15 10:31, Hezi Ismah-Moshe wrote: Hi, When I try to load modules in my batch script, I get the following error: ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'mpi-1.5.3' In my shell (bash), the module load command works fine. module load mpi-1.5.3 Slurm version: 15.08.4 on CentOS 7.1. Any ides? Thanks and Best Regards, Hezi.