On 09/26/2018 09:50 PM, Kenneth Hoste wrote:> It seems like there are
some options for getting an RPM for Lmod 6.6.3,
but it turns out it's also reasonable to drop the required version a bit
since running the EasyBuild framework tests on top of Lmod 6.5.1 is not
revealing any issues with that version (I tried a bunch of versions
older than Lmod 6.6.3, but this apparently wasn't one of them...).
Sounds great! I note that Fedora FC28 has a very recent version:
Lmod-7.7.35-1.fc28.x86_64
I looked at the page
https://fedoraproject.org/wiki/Getting_a_Fedora_package_in_EPEL and
found the Lmod package page https://src.fedoraproject.org/rpms/Lmod.
Then I wrote to the maintainer Orion Poplawski if he would be willing to
make his Lmod package available also in EPEL[1].
I've just opened a PR to lower the required Lmod version, see
https://github.com/easybuilders/easybuild-framework/pull/2593, to be
included in EasyBuild v3.7.1 .
It should be safe to patch your EasyBuild 3.7.0 installation to lower
the required Lmod version to 6.5.1 (in easybuild/tools/modules.py in the
easybuild-framework installation).
I located this file as:
~modules/software/EasyBuild/3.7.0/lib/python2.7/site-packages/easybuild_framework-3.7.0-py2.7.egg/easybuild/tools/modules.py
and replaced the string 6.6.3 by 6.5.1. I can now run the "eb" command
successfully :-)
Best regards,
Ole
[1] https://fedoraproject.org/wiki/EPEL