Thank you. It is a stupid mistake of me. The modules file were not readable at the nodes of the cluster. Thank you again. Hezi. On Dec 3, 2015 1:31 PM, "Chrysovalantis Paschoulas" < c.paschou...@fz-juelich.de> wrote:
> Hi! > > You have to make sure that the module command AND the modules themselves > must be accessible from the compute nodes. It seems to me that the > environment and the access to the modules (e.g. path, env vars and mounts > to shared fs where modules are located) are configured correctly for the > login nodes but not for the compute nodes. > > Best Regards, > Chrysovalantis Paschoulas > > > On 12/03/2015 10:37 AM, Hezi Ismah-Moshe wrote: > > Thank you all for the replay, I tried your suggestions but still... I'm in > the same situation > > 2015-12-03 11:06 GMT+02:00 Igor Chebotar <ichebo...@univ.haifa.ac.il>: > >> >> 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. >> > > > > > > ------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------------------------ > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher > Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > > ------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------------------------ > >