Hello,

Thanks for reporting this. We missed a skip check for the yaml module.
The bugfix can be found in:
https://github.com/hpcugent/easybuild-framework/pull/1525

Ward

On 18-12-15 18:15, Joachim Hein wrote:
> Hi,
> 
> I am seeing the same,
> see https://github.com/hpcugent/easybuild-framework/issues/1524 for a
> full report.
> 
> Best wishes
>   Joachim
> 
>> On 18 Dec 2015, at 15:43, Pieter Neerincx <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hi Kenneth,
>>
>> Thanks for the greatest! I'm running into what appear to be a small
>> problem when running the tests. Output ends with:
>>
>> ........................Skipping test_parse_yeb (no PyYAML available)
>> .E.Skipping test_join (no PyYAML available)
>> .Skipping test_parse_yeb (no PyYAML available)
>> .
>> ======================================================================
>> ERROR: Test specifying external (build) dependencies.
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/apps/software/EasyBuild/2.5.0/lib/python2.6/site-packages/easybuild_framework-2.5.0-py2.6.egg/test/framework/yeb.py",
>> line 166, in test_external_module_toolchain
>>    ec = EasyConfig(ecpath)
>>  File
>> "/apps/software/EasyBuild/2.5.0/lib/python2.6/site-packages/easybuild_framework-2.5.0-py2.6.egg/easybuild/framework/easyconfig/easyconfig.py",
>> line 186, in __init__
>>    auto_convert_value_types=auto_convert_value_types)
>>  File
>> "/apps/software/EasyBuild/2.5.0/lib/python2.6/site-packages/easybuild_framework-2.5.0-py2.6.egg/easybuild/framework/easyconfig/parser.py",
>> line 105, in __init__
>>    self._set_formatter(filename)
>>  File
>> "/apps/software/EasyBuild/2.5.0/lib/python2.6/site-packages/easybuild_framework-2.5.0-py2.6.egg/easybuild/framework/easyconfig/parser.py",
>> line 196, in _set_formatter
>>    self._formatter.parse(self.rawcontent)
>>  File
>> "/apps/software/EasyBuild/2.5.0/lib/python2.6/site-packages/easybuild_framework-2.5.0-py2.6.egg/easybuild/tools/utilities.py",
>> line 145, in error
>>    raise ImportError(msg)
>> ImportError: No module named yaml; required module 'yaml' is not available
>>
>> ----------------------------------------------------------------------
>> Ran 372 tests in 955.352s
>>
>> FAILED (errors=1)
>> ERROR: Not all tests were successful.
>>
>> Looks like at first EB correctly detects a YAML module is missing and
>> skips some tests, but afterwards fails on the same missing YAML module...
>>
>> Cheers,
>>
>> Pi
>>
>>> On Dec 17, 2015, at 15:51, Kenneth Hoste <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Dear EasyBuilders,
>>>
>>> I'm happy to announce the release of EasyBuild version 2.5.0 [1], the
>>> greatest EasyBuild version up until now. Honestly.
>>>
>>> This release features:
>>>
>>>    * support for installing the latest versions of several of the
>>> Intel tools (thanks Fokko, Lumìr, Ward!), including:
>>>        * install the 2016 versions of the Intel C/C++/Fortran compilers
>>>        * support to specify components to install (to keep the
>>> installations 'slim')
>>>
>>>    * support for compiling with generic optimization via
>>> --optarch=GENERIC (thanks Pablo!) [2]
>>>
>>>    * support for using GCCcore as a base underneath all toolchain
>>> compilers, which is sort of a replacement for the GNU toolchain
>>> (thanks Alan!)
>>>
>>>    * support for listing build dependencies as hidden dependencies
>>>
>>>    * initial support for using the IBM XL compilers in compiler
>>> toolchains (thanks Jack!)
>>>
>>>    * improved (but still experimental) support for easyconfig files
>>> in YAML format, a.k.a. .yeb easyconfigs (thanks Caroline!)
>>>
>>>    * added support for installing 39 new software packages, next to
>>> updates for already supported software (incl. Python 2.7.11, OpenFOAM
>>> 3.0.0, OpenFOAM-Extend 3.2, ...)
>>>
>>> ... and various other enhancements and bug fixes.
>>> Additionally, packaging support [3] is no longer considered
>>> experimental, but stable.
>>>
>>> More details are available in the release notes [4].
>>>
>>> Thanks to everyone who contributed to this release in one way or
>>> another!
>>>
>>>
>>> To upgrade to EasyBuild v2.5.0, there are several options:
>>>
>>>    (i) (re)bootstrap EasyBuild to obtain an EasyBuild/2.5.0 module to
>>> load [5]
>>>
>>>    (ii) install EasyBuild v2.5.0 with a previous version of
>>> EasyBuild, using the easyconfig file available in [6]
>>>
>>>    (iii) install EasyBuild v2.5.0 from PyPI, using one of the
>>> standard Python installation tools (easy_install, pip, ...)
>>>
>>>    (iv) update your Git working copies of the different EasyBuild
>>> repositories
>>>
>>>
>>> Enjoy!
>>>
>>> regards,
>>>
>>> Kenneth
>>> EasyBuild release manager
>>>
>>> [1] http://pypi.python.org/pypi/easybuild
>>> [2]
>>> http://easybuild.readthedocs.org/en/latest/Controlling_compiler_optimization_flags.html
>>> [3] http://easybuild.readthedocs.org/en/latest/Packaging_support.html
>>> [4] http://easybuild.readthedocs.org/en/latest/Release_notes.html
>>> [5]
>>> http://easybuild.readthedocs.org/en/latest/Installation.html#bootstrapping-easybuild
>>> [6] https://github.com/hpcugent/easybuild-easyconfigs/pull/2238
>>>
>>
>> -------------------------------------------------------------
>> phone: +31 6 143 66 783
>> e-mail: [email protected] <mailto:[email protected]>
>> skype:  pieter.online
>> -------------------------------------------------------------
>>
> 


-- 
dr. ir. Ward Poelmans
High Performance Computing infrastructure unit
Ghent University
Krijgslaan 281 S9
B-9000 Gent
Belgium
Tel: +32 9 264 4817
http://www.ugent.be/hpc

Reply via email to