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. ;-)
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