Hi Tim and Kenneth,

I had activated recursive-module-unload.  I am going to try with out it.  
Thanks for your help.  I get back if the issue persists.

Best wishes
   Joachim

On 22 Jan 2016, at 16:48, Timothy Brown 
<[email protected]<mailto:[email protected]>> wrote:

Hi Joachim,

Are you using recursive-module-unload? As I am and I've hit this error before. 
I was working on it in:

https://github.com/hpcugent/easybuild-framework/pull/1474


However have been distracted with other tasks. Which means I'm going to try and 
get back to it today.

The EASYBUILD_CONFIGFILES I'm using contains:


[config]
buildpath=/dev/shm
installpath=/curc/tools/pkgs
module-naming-scheme=HierarchicalMNS
modules-tool=Lmod
module-syntax=Lua
prefix=/curc/tools/pkgs
recursive-module-unload=1

Regards
Tim



________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on 
behalf of Kenneth Hoste <[email protected]<mailto:[email protected]>>
Sent: Friday, January 22, 2016 8:20 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [easybuild] Hierarchical modules

Hi Joachim,

With a hierarchical module naming scheme, you want to add 
<prefix>/modules/all/Core to $MODULEPATH (not <prefix>/modules/all).

However, this is only to actually use the modules as a user; EasyBuild knows 
that it should use /Core, so it's not clear to me why it is failing...

Can you share a full (debug) log with us?


regards,

Kenneth

PS: http://hpcugent.github.io/easybuild/files/hust14_paper.pdf is a good read 
if you're new to this. ;-)
Modern Scientific Software Management Using EasyBuild and 
Lmod<http://hpcugent.github.io/easybuild/files/hust14_paper.pdf>
hpcugent.github.io<http://hpcugent.github.io/>
Modern Scientific Software Management Using EasyBuild and Lmod Markus Geimer 
Julich Supercomputing Centre (JSC)¨ Forschungszentrum Julich GmbH¨ 52425 
J¨ulich, Germany





On 22/01/16 16:00, Joachim Hein wrote:
Hi,

I am trying to play with hierarchical modules (e.g. HierarchicalMNS) and am 
hitting errors that it can’t find modules which seem to be there.

Example: I am trying to build foss-2015b after installing easybuild from 
scratch.  At the step when building bison-3.0.4

== 2016-01-22 15:47:17,694 runpy ERROR Changing environment as dictated by 
module failed: name 'false' is not defined (stdout: 
os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/sw/easybuild/modules/all:/sw/lmod/6.0.24/modulefiles/Core:/sw/lpkg/Linux:/sw/lpkg/Core:/sw/lmod/l
mod/modulefiles/Core";
os.environ["MODULEPATH"] = 
"/sw/easybuild/modules/all:/sw/lmod/6.0.24/modulefiles/Core:/sw/lpkg/Linux:/sw/lpkg/Core:/sw/lmod/lmod/modulefiles/Core";
false
, stderr: Lmod has detected the following error: The following module(s) are 
unknown:
"M4/1.4.17"

   Please check the spelling or version number. Also try "module spider ..."

) (at 
easybuild/software/Core/EasyBuild/2.5.0/lib/python2.7/site-packages/easybuild_framework-2.5.0-py2.7.egg/easybuild/tools/modules.py:529
 in run_module)

If I spider, i get:

-bash-4.2$ module spider M4

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Core/M4: Core/M4/1.4.17
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    This module can be loaded directly: module load Core/M4/1.4.17

    Help:
       GNU M4 is an implementation of the traditional Unix macro processor.
       It is mostly SVR4 compatible although it has some extensions
       (for example, handling more than 9 positional parameters to macros).
       GNU M4 also has built-in functions for including files, running shell 
commands, doing arithmetic, etc.
       - Homepage: http://www.gnu.org/software/m4/m4.html




I can load the module manually.  Any clues?

Thanks and best wishes
  Joachim



Reply via email to