Hi Ken, all,
(Kenneth Hoste, Mon, Mar 02, 2015 at 05:35:09PM +0100:)
> After updating, you can run this test (which may be joined by other general
> tests later) by running the group of 'general' tests:
>
> python -m test.framework.general
This tests fails in my environment::
(easybuild)rmurri@xenia:~/gc3/src/easybuild-framework$ python -m
test.framework.general
E
======================================================================
ERROR: test_vsc_location (__main__.GeneralTest)
Make sure location of imported vsc module is not the framework itself.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/framework/utilities.py", line 136, in setUp
modtool = modules_tool()
File "easybuild/tools/modules.py", line 987, in modules_tool
return modules_tool_class(mod_paths=mod_paths, testing=testing)
File
"/home/rmurri/.virtualenvs/easybuild/local/lib/python2.7/site-packages/vsc_base-2.0.3-py2.7.egg/vsc/utils/patterns.py",
line 51, in __call__
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
File "easybuild/tools/modules.py", line 174, in __init__
self.check_cmd_avail()
File "easybuild/tools/modules.py", line 231, in check_cmd_avail
self.log.error("%s modules tool can not be used, '%s' command is not
available." % (mod_tool, self.cmd))
File "easybuild/tools/build_log.py", line 114, in error
raise EasyBuildError(newMsg)
EasyBuildError: "EasyBuild crashed with an error (at
easybuild/tools/modules.py:231 in check_cmd_avail): EnvironmentModulesC modules
tool can not be used, 'modulecmd' command is not available."
----------------------------------------------------------------------
Ran 1 test in 0.141s
FAILED (errors=1)
However, I *do* have Lmod installed and configured::
(easybuild)rmurri@xenia:~/gc3/src/easybuild-framework$ module --version
Modules based on Lua: Version 5.8 2014-11-04 12:46
by Robert McLay [email protected]
(easybuild)rmurri@xenia:~/gc3/src/easybuild-framework$ echo
$EASYBUILD_MODULES_TOOL
Lmod
Do the tests hard-code a dependency on the "C" version of environment
modules?
Ciao,
R
--
Riccardo Murri
http://www.s3it.uzh.ch/about/team/#Riccardo.Murri
S3IT: Services and Support for Science IT
University of Zurich
Winterthurerstrasse 190, CH-8057 Zürich (Switzerland)
Tel: +41 44 635 4222
Fax: +41 44 635 6888