the bug is reported. quick woraround is upgrade to latest lmod stable
release
https://github.com/hpcugent/easybuild-framework/issues/772

you should also check this one
https://github.com/hpcugent/easybuild-framework/issues/773


2013/12/5 Garvey, Cormac T <[email protected]>

>
> Hi all,
> I have lmod 5.2rc4 installed and I am trying to upgrade my easybuild to
> 1.9.0.
>
> I get the following message "Failed to determine Lmod version", here is
> the debug output from the log file.
>
>
> == 2013-12-04 16:24:50,243 main.filetools INFO Command lmod found at
> /apps/projects/lmod/5.2rc4/gcc-4.5.1/opt/lmod/lmod/libexec/lmod
> == 2013-12-04 16:24:50,244 main.Lmod INFO Full path for module command is
> /apps/projects/lmod/5.2rc4/gcc-4.5.1/opt/lmod/lmod/libexec/lmod, so using it
> == 2013-12-04 16:24:50,244 main.Lmod DEBUG Current MODULEPATH:
> /hpc-common/software/easybuild/inl-easyconfigs/modules/all:/apps/projects/modules/modulefiles:/apps/local/modules/modulefiles/Linux:/apps/local/modules/modulefiles/Core:/apps/local/modules/modulefiles
> == 2013-12-04 16:24:50,244 main.Lmod DEBUG Adjusted LD_LIBRARY_PATH from
> '/opt/pbs/default/lib' to '/opt/pbs/default/lib'
> == 2013-12-04 16:24:50,244 main.Lmod DEBUG Running module command
> '/apps/projects/lmod/5.2rc4/gcc-4.5.1/opt/lmod/lmod/libexec/lmod python
> update' from /home/garvct
> == 2013-12-04 16:24:50,346 main.Lmod DEBUG Correcting paths in
> LD_LIBRARY_PATH from ['/opt/pbs/default/lib'] to ['/opt/pbs/default/lib']
> == 2013-12-04 16:24:50,447 main.Lmod ERROR EasyBuild crashed with an error
> (at
> easybuild/1.9.0/gcc/opt/lib/python2.7/site-packages/easybuild/tools/modules.py:602
> in __init__): Failed to determine Lmod version from
> '/apps/projects/lmod/5.2rc4/gcc-4.5.1/opt/lmod/lmod/libexec/lmod help'
> output:
> LMOD_DEFAULT_MODULEPATH="/apps/projects/modules/modulefiles:/apps/local/modules/modulefiles/Linux:/apps/local/modules/modulefiles/Core:/apps/local/modules/modulefiles";
> export LMOD_DEFAULT_MODULEPATH;
>
> MODULEPATH="/hpc-common/software/easybuild/inl-easyconfigs/modules/all:/apps/projects/modules/modulefiles:/apps/local/modules/modulefiles/Linux:/apps/local/modules/modulefiles/Core:/apps/local/modules/modulefiles";
> export MODULEPATH;
>
> LMOD_DEFAULT_MODULEPATH="/apps/projects/modules/modulefiles:/apps/local/modules/modulefiles/Linux:/apps/local/modules/modulefiles/Core:/apps/local/modules/modulefiles";
> export LMOD_DEFAULT_MODULEPATH;
>
> etc
>
> I have not enabled lmod in easybuild before, any ideas why I get this
> error? (Is lmod -v more appropriate to get the lmod version number rather
> than lmod help?)
>
> Thanks,
> Cormac.
>
>
>


-- 
Pablo Escobar López
HPC systems engineer
Biozentrum, University of Basel
Email: [email protected]
Phone: +41 61 267 15 82
http://www.biozentrum.unibas.ch

Reply via email to