RE: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-29 Thread Fotis Georgatos
Hi,

> https://github.com/Bright-Computing/bic ## .spec file and much paraphernalia 
> included, ignore the filenames
> If you are running a cluster by Bright Computing with Lmod, I bet you're 
> probably using a fork of that work, already.

Also, some more ideas that were incorporated in that effort, it seems with good 
success where they were deployed:
(probably, you'd like to fish out concepts, in your own configurations!)

* Give default choices which turn EasyBuild compatible with its older versions 
and env-tools (EASYBUILD_MODULE*)
* Give default choices which turn Lmod compatible with env-modules 
(LMOD_TMOD_FIND_FIRST and friends);
   important because within certain container images providing Lmod was not 
exactly choice, but modules were needed
* MODULEPATH is adjustable at any level: 
{global*,site/*,sitelocal/*,nodecategory/*,groups/`id -gn`,user/`id -un`}
* Let Lmod cache to come from an in-mem filesystem (/dev/shm) for great 
interactivity and fast startup
* automatically feed logfiles for later processing (spack, graylog and what 
not, via LMOD_PACKAGE_PATH)
* settarg and other features work consistently across *both* bash & csh 
families - this was a great pain to get right.
* Finally, the implementation is very economical on the user: thanks to guard 
variables, it only costs on first login.

This is the Lmod tool that I wished somebody had provided, when I received the 
original challenge :)

F.

> The driving need for it has been to combine a few requirements together and 
> rationalise the Lmod RPMs:
> * Deliver Lmod across a dozen+ HPC clusters with varying needs of 
> configuration, but in a consistent manner.
> * Keep separate what needs to be separate: configuration by upstream Lmod, by 
> Bright & by local HPC sites.
> * Changes in one of the above separation of domains should not automatically 
> require rebuilding/hacking the RPMs (or, at least, not hack the .spec too 
> often).

> There's also a pretty neat extendible mechanism to define initialisation 
> variables, check the 2 .yaml files here:
> https://github.com/Bright-Computing/bic/tree/master/test/etc/profile.definitions/site

--
echo "sysadmin know better bash than english" | sed s/min/mins/ \
| sed 's/better bash/bash better/' # Yelling in a CERN forum


RE: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-28 Thread Fotis Georgatos

Hi,

while this topic of providing an Lmod RPM is still afresh, let me pledge a few 
bits relevant to the EB community,
since I've spent a good chunk of time during last 2-3 years around it along 
with Panos from Bright Computing.
Also, together with Robert McLay we've debugged plenty of subtle bugs & Settarg 
related features - good times!
https://github.com/Bright-Computing/bic ## .spec file and much paraphernalia 
included, ignore the filenames 

If you are running a cluster by Bright Computing with Lmod, I bet you're 
probably using a fork of that work, already.

The driving need for it has been to combine a few requirements together and 
rationalise the Lmod RPMs:
* Deliver Lmod across a dozen+ HPC clusters with varying needs of 
configuration, but in a consistent manner.
* Keep separate what needs to be separate: configuration by upstream Lmod, by 
Bright & by local HPC sites.
* Changes in one of the above separation of domains should not automatically 
require rebuilding/hacking the RPMs (or, at least, not hack the .spec too 
often).

There's also a pretty neat extendible mechanism to define initialisation 
variables, check the 2 .yaml files here:
https://github.com/Bright-Computing/bic/tree/master/test/etc/profile.definitions/site

We went at great length to ensure that 1 upstream provider would do not enforce 
1 configuration to downstream sites, 
but the extended logic has not been fully adopted by Bright - nor is it 
my/our/anyone's prerogative to dictate that.

Anyway, if anyone is into this kind of sport, please find me at G-hangouts 
 to follow it up.
(generally, it'd be good if people made an effort to bump their Lmod versions - 
entertain yourself with: `mkdir posix.lua`)

enjoy,
F.

--
echo "sysadmin know better bash than english" | sed s/min/mins/ \
| sed 's/better bash/bash better/' # Yelling in a CERN forum


From: easybuild-requ...@lists.ugent.be [easybuild-requ...@lists.ugent.be] on 
behalf of Ole Holm Nielsen [ole.h.niel...@fysik.dtu.dk]
Sent: Friday, September 28, 2018 09:03
To: easybuild@lists.ugent.be
Cc: Kenneth Hoste
Subject: Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

The Lmod EPEL package maintainer Orion Poplawski has advised me to file
a bug in the RedHat bugzilla requesting a version upgrade of the Lmod
RPM, and you can all view it here:
https://bugzilla.redhat.com/show_bug.cgi?id=1633929

If your testing of the Lmod 6.6.3 RPM is successful, or if it gives
problems for you, or if you have any comments, please add information to
the bugzilla page.  If you don't have a login there, I can take your
comments and add them.

When the testing of Lmod has been successful, the updated 6.6.3 RPM
package should appear in the official EPEL repository.

/Ole


On 09/27/2018 09:00 PM, Ole Holm Nielsen wrote:
> On 27-09-2018 09:57, Ole Holm Nielsen wrote:
>> 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].
>
> The EPEL maintainer Orion Poplawski has been very kind and responded
> quickly to my request.  There is now an EPEL build of Lmod 6.6.3 in
> https://koji.fedoraproject.org/koji/buildinfo?buildID=1148094
> and an RPM package for testing at
> https://kojipkgs.fedoraproject.org//packages/Lmod/6.6.3/1.el7/x86_64/Lmod-6.6.3-1.el7.x86_64.rpm
>
>
> Would some EasyBuild sites running CentOS 7 systems kindly test this
> Lmod RPM and report any successes or failures back to me (or directly to
> the developer, only I don't know the appropriate feedback channel).


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-28 Thread Ole Holm Nielsen
The Lmod EPEL package maintainer Orion Poplawski has advised me to file 
a bug in the RedHat bugzilla requesting a version upgrade of the Lmod 
RPM, and you can all view it here:

https://bugzilla.redhat.com/show_bug.cgi?id=1633929

If your testing of the Lmod 6.6.3 RPM is successful, or if it gives 
problems for you, or if you have any comments, please add information to 
the bugzilla page.  If you don't have a login there, I can take your 
comments and add them.


When the testing of Lmod has been successful, the updated 6.6.3 RPM 
package should appear in the official EPEL repository.


/Ole


On 09/27/2018 09:00 PM, Ole Holm Nielsen wrote:

On 27-09-2018 09:57, Ole Holm Nielsen wrote:
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].


The EPEL maintainer Orion Poplawski has been very kind and responded 
quickly to my request.  There is now an EPEL build of Lmod 6.6.3 in

https://koji.fedoraproject.org/koji/buildinfo?buildID=1148094
and an RPM package for testing at
https://kojipkgs.fedoraproject.org//packages/Lmod/6.6.3/1.el7/x86_64/Lmod-6.6.3-1.el7.x86_64.rpm 



Would some EasyBuild sites running CentOS 7 systems kindly test this 
Lmod RPM and report any successes or failures back to me (or directly to 
the developer, only I don't know the appropriate feedback channel).


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-27 Thread Ole Holm Nielsen

On 27-09-2018 09:57, Ole Holm Nielsen wrote:
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].


The EPEL maintainer Orion Poplawski has been very kind and responded 
quickly to my request.  There is now an EPEL build of Lmod 6.6.3 in

https://koji.fedoraproject.org/koji/buildinfo?buildID=1148094
and an RPM package for testing at
https://kojipkgs.fedoraproject.org//packages/Lmod/6.6.3/1.el7/x86_64/Lmod-6.6.3-1.el7.x86_64.rpm

Would some EasyBuild sites running CentOS 7 systems kindly test this 
Lmod RPM and report any successes or failures back to me (or directly to 
the developer, only I don't know the appropriate feedback channel).


Thanks, Ole




Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-27 Thread Ole Holm Nielsen
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


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread Kenneth Hoste

Dear Ole,

On 26/09/2018 13:25, Ole Holm Nielsen wrote:

Dear Kenneth,

Thanks a lot for the answer. Since CentOS 7 is a very popular HPC 
cluster OS, it would be great to obtain an authoritative RPM package for 
Lmod as required by EasyBuild.  It's very unfortunate that EPEL hasn't 
updated the Lmod RPM in 2 years.  Your .spec file for Lmod 6.6 seems to 
me not to be very much plug-and-play :-(


If no-one can provide an Lmod 6.6.3 RPM for CentOS 7, then it would save 
us a lot of trouble if EB could still use Lmod 6.5.1 until a newer RPM 
becomes available.


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


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



regards,

Kenneth



Thanks a lot,
Ole


On 26-09-2018 11:38, Kenneth Hoste wrote:

Dear Ole,

We build our own Lmod RPMs so we can stay on top of recent developments.

You can find our .spec file in https://github.com/hpcugent/Lmod-UGent.

If you go back in history a bit, you should be able to find a .spec 
file for Lmod 6.x.


Of course, you'll need to customize this w.r.t. Lmod configuration & 
such.


I should also mention that the Lmod 6.6.3 requirement may be a bit 
more than is strictly required...
In theory a slightly older Lmod 6.x should be fine too, but I kept 
running into problems left & right when testing on top of older Lmod 
6.x versions, so I figured going with the latest 6.x was a reasonable 
compromise (I didn't want to force people to switch to Lmod 7).


If that's a big problem, I can try and reconsider that version 
requirement to loosen it up a bit (as long as all the tests pass, that 
it), and issue a quick EasyBuild 3.7.1.


On the other hand, this is good motivation to update your Lmod 
installation, there have been *a lot* of improvements to Lmod since 
version 6.5.1 (which was released Aug 2016...).



regards,

Kenneth

On 26/09/2018 11:25, Ole Holm Nielsen wrote:

Regarding upgrading to EB 3.7.0:

On 25-09-2018 15:09, Kenneth Hoste wrote:
Note that the minimal version requirement for Lmod has been bumped 
to 6.6.3.


We use CentOS 7 and the 2 years old Lmod RPM package provided by the 
EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm


Can anyone suggest the best way to get or build an RPM package of a 
recent version of Lmod [1] that works well on CentOS 7?


Thanks,
Ole

[1] https://github.com/TACC/Lmod




Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread André Gemünd
Hi Andreas,

afaik Update 6 is still under development though (notice the Factory folder), 
so packages could still change or have issues. 

Best Greetings
Andre

- Am 26. Sep 2018 um 15:32 schrieb Andreas Hilboll hilb...@uni-bremen.de:

> We just yesterday installed 7.8.1 from
> http://build.openhpc.community/OpenHPC:/1.3:/Update6:/Factory/CentOS_7/x86_64/lmod-ohpc-7.8.1-5.1.ohpc.1.3.6.x86_64.rpm,
> and everything's working smoothly.
> 
> Cheers,
>  Andreas
> 
> 
> André Gemünd  writes:
> 
>> Dear Ole,
>>
>> maybe the OpenHPC for CentOS 7 package can be useful for that?
>> It provides 7.7.14 currently:
>>
>> http://build.openhpc.community/OpenHPC:/1.3:/Update5/CentOS_7/src/lmod-ohpc-7.7.14-3.1.src.rpm
>>
>> Greetings
>> André
>>
>> - Am 26. Sep 2018 um 13:25 schrieb Ole Holm Nielsen
>> ole.h.niel...@fysik.dtu.dk:
>>
>>> Dear Kenneth,
>>> 
>>> Thanks a lot for the answer. Since CentOS 7 is a very popular
>>> HPC
>>> cluster OS, it would be great to obtain an authoritative RPM
>>> package for
>>> Lmod as required by EasyBuild.  It's very unfortunate that EPEL
>>> hasn't
>>> updated the Lmod RPM in 2 years.  Your .spec file for Lmod 6.6
>>> seems to
>>> me not to be very much plug-and-play :-(
>>> 
>>> If no-one can provide an Lmod 6.6.3 RPM for CentOS 7, then it
>>> would save
>>> us a lot of trouble if EB could still use Lmod 6.5.1 until a
>>> newer RPM
>>> becomes available.
>>> 
>>> Thanks a lot,
>>> Ole
>>> 
>>> 
>>> On 26-09-2018 11:38, Kenneth Hoste wrote:
 Dear Ole,
 
 We build our own Lmod RPMs so we can stay on top of recent
 developments.
 
 You can find our .spec file in
 https://github.com/hpcugent/Lmod-UGent.
 
 If you go back in history a bit, you should be able to find a
 .spec file
 for Lmod 6.x.
 
 Of course, you'll need to customize this w.r.t. Lmod
 configuration & such.
 
 I should also mention that the Lmod 6.6.3 requirement may be a
 bit more
 than is strictly required...
 In theory a slightly older Lmod 6.x should be fine too, but I
 kept
 running into problems left & right when testing on top of
 older Lmod 6.x
 versions, so I figured going with the latest 6.x was a
 reasonable
 compromise (I didn't want to force people to switch to Lmod
 7).
 
 If that's a big problem, I can try and reconsider that version
 requirement to loosen it up a bit (as long as all the tests
 pass, that
 it), and issue a quick EasyBuild 3.7.1.
 
 On the other hand, this is good motivation to update your Lmod
 installation, there have been *a lot* of improvements to Lmod
 since
 version 6.5.1 (which was released Aug 2016...).
 
 
 regards,
 
 Kenneth
 
 On 26/09/2018 11:25, Ole Holm Nielsen wrote:
> Regarding upgrading to EB 3.7.0:
>
> On 25-09-2018 15:09, Kenneth Hoste wrote:
>> Note that the minimal version requirement for Lmod has been
>> bumped to
>> 6.6.3.
>
> We use CentOS 7 and the 2 years old Lmod RPM package provided
> by the
> EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm
>
> Can anyone suggest the best way to get or build an RPM
> package of a
> recent version of Lmod [1] that works well on CentOS 7?
>
> Thanks,
> Ole
>
> >> >> [1] https://github.com/TACC/Lmod

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread Andreas Hilboll
We just yesterday installed 7.8.1 from 
http://build.openhpc.community/OpenHPC:/1.3:/Update6:/Factory/CentOS_7/x86_64/lmod-ohpc-7.8.1-5.1.ohpc.1.3.6.x86_64.rpm, 
and everything's working smoothly.


Cheers,
 Andreas


André Gemünd  writes:


Dear Ole,

maybe the OpenHPC for CentOS 7 package can be useful for that? 
It provides 7.7.14 currently:


http://build.openhpc.community/OpenHPC:/1.3:/Update5/CentOS_7/src/lmod-ohpc-7.7.14-3.1.src.rpm

Greetings
André

- Am 26. Sep 2018 um 13:25 schrieb Ole Holm Nielsen 
ole.h.niel...@fysik.dtu.dk:



Dear Kenneth,

Thanks a lot for the answer. Since CentOS 7 is a very popular 
HPC
cluster OS, it would be great to obtain an authoritative RPM 
package for
Lmod as required by EasyBuild.  It's very unfortunate that EPEL 
hasn't
updated the Lmod RPM in 2 years.  Your .spec file for Lmod 6.6 
seems to

me not to be very much plug-and-play :-(

If no-one can provide an Lmod 6.6.3 RPM for CentOS 7, then it 
would save
us a lot of trouble if EB could still use Lmod 6.5.1 until a 
newer RPM

becomes available.

Thanks a lot,
Ole


On 26-09-2018 11:38, Kenneth Hoste wrote:

Dear Ole,

We build our own Lmod RPMs so we can stay on top of recent 
developments.


You can find our .spec file in 
https://github.com/hpcugent/Lmod-UGent.


If you go back in history a bit, you should be able to find a 
.spec file

for Lmod 6.x.

Of course, you'll need to customize this w.r.t. Lmod 
configuration & such.


I should also mention that the Lmod 6.6.3 requirement may be a 
bit more

than is strictly required...
In theory a slightly older Lmod 6.x should be fine too, but I 
kept
running into problems left & right when testing on top of 
older Lmod 6.x
versions, so I figured going with the latest 6.x was a 
reasonable
compromise (I didn't want to force people to switch to Lmod 
7).


If that's a big problem, I can try and reconsider that version
requirement to loosen it up a bit (as long as all the tests 
pass, that

it), and issue a quick EasyBuild 3.7.1.

On the other hand, this is good motivation to update your Lmod
installation, there have been *a lot* of improvements to Lmod 
since

version 6.5.1 (which was released Aug 2016...).


regards,

Kenneth

On 26/09/2018 11:25, Ole Holm Nielsen wrote:

Regarding upgrading to EB 3.7.0:

On 25-09-2018 15:09, Kenneth Hoste wrote:
Note that the minimal version requirement for Lmod has been 
bumped to

6.6.3.


We use CentOS 7 and the 2 years old Lmod RPM package provided 
by the

EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm

Can anyone suggest the best way to get or build an RPM 
package of a

recent version of Lmod [1] that works well on CentOS 7?

Thanks,
Ole


>> [1] https://github.com/TACC/Lmod


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread André Gemünd
Dear Ole,

maybe the OpenHPC for CentOS 7 package can be useful for that? It provides 
7.7.14 currently:

http://build.openhpc.community/OpenHPC:/1.3:/Update5/CentOS_7/src/lmod-ohpc-7.7.14-3.1.src.rpm

Greetings
André

- Am 26. Sep 2018 um 13:25 schrieb Ole Holm Nielsen 
ole.h.niel...@fysik.dtu.dk:

> Dear Kenneth,
> 
> Thanks a lot for the answer. Since CentOS 7 is a very popular HPC
> cluster OS, it would be great to obtain an authoritative RPM package for
> Lmod as required by EasyBuild.  It's very unfortunate that EPEL hasn't
> updated the Lmod RPM in 2 years.  Your .spec file for Lmod 6.6 seems to
> me not to be very much plug-and-play :-(
> 
> If no-one can provide an Lmod 6.6.3 RPM for CentOS 7, then it would save
> us a lot of trouble if EB could still use Lmod 6.5.1 until a newer RPM
> becomes available.
> 
> Thanks a lot,
> Ole
> 
> 
> On 26-09-2018 11:38, Kenneth Hoste wrote:
>> Dear Ole,
>> 
>> We build our own Lmod RPMs so we can stay on top of recent developments.
>> 
>> You can find our .spec file in https://github.com/hpcugent/Lmod-UGent.
>> 
>> If you go back in history a bit, you should be able to find a .spec file
>> for Lmod 6.x.
>> 
>> Of course, you'll need to customize this w.r.t. Lmod configuration & such.
>> 
>> I should also mention that the Lmod 6.6.3 requirement may be a bit more
>> than is strictly required...
>> In theory a slightly older Lmod 6.x should be fine too, but I kept
>> running into problems left & right when testing on top of older Lmod 6.x
>> versions, so I figured going with the latest 6.x was a reasonable
>> compromise (I didn't want to force people to switch to Lmod 7).
>> 
>> If that's a big problem, I can try and reconsider that version
>> requirement to loosen it up a bit (as long as all the tests pass, that
>> it), and issue a quick EasyBuild 3.7.1.
>> 
>> On the other hand, this is good motivation to update your Lmod
>> installation, there have been *a lot* of improvements to Lmod since
>> version 6.5.1 (which was released Aug 2016...).
>> 
>> 
>> regards,
>> 
>> Kenneth
>> 
>> On 26/09/2018 11:25, Ole Holm Nielsen wrote:
>>> Regarding upgrading to EB 3.7.0:
>>>
>>> On 25-09-2018 15:09, Kenneth Hoste wrote:
 Note that the minimal version requirement for Lmod has been bumped to
 6.6.3.
>>>
>>> We use CentOS 7 and the 2 years old Lmod RPM package provided by the
>>> EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm
>>>
>>> Can anyone suggest the best way to get or build an RPM package of a
>>> recent version of Lmod [1] that works well on CentOS 7?
>>>
>>> Thanks,
>>> Ole
>>>
> >> [1] https://github.com/TACC/Lmod

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend


Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread Ole Holm Nielsen

Dear Kenneth,

Thanks a lot for the answer. Since CentOS 7 is a very popular HPC 
cluster OS, it would be great to obtain an authoritative RPM package for 
Lmod as required by EasyBuild.  It's very unfortunate that EPEL hasn't 
updated the Lmod RPM in 2 years.  Your .spec file for Lmod 6.6 seems to 
me not to be very much plug-and-play :-(


If no-one can provide an Lmod 6.6.3 RPM for CentOS 7, then it would save 
us a lot of trouble if EB could still use Lmod 6.5.1 until a newer RPM 
becomes available.


Thanks a lot,
Ole


On 26-09-2018 11:38, Kenneth Hoste wrote:

Dear Ole,

We build our own Lmod RPMs so we can stay on top of recent developments.

You can find our .spec file in https://github.com/hpcugent/Lmod-UGent.

If you go back in history a bit, you should be able to find a .spec file 
for Lmod 6.x.


Of course, you'll need to customize this w.r.t. Lmod configuration & such.

I should also mention that the Lmod 6.6.3 requirement may be a bit more 
than is strictly required...
In theory a slightly older Lmod 6.x should be fine too, but I kept 
running into problems left & right when testing on top of older Lmod 6.x 
versions, so I figured going with the latest 6.x was a reasonable 
compromise (I didn't want to force people to switch to Lmod 7).


If that's a big problem, I can try and reconsider that version 
requirement to loosen it up a bit (as long as all the tests pass, that 
it), and issue a quick EasyBuild 3.7.1.


On the other hand, this is good motivation to update your Lmod 
installation, there have been *a lot* of improvements to Lmod since 
version 6.5.1 (which was released Aug 2016...).



regards,

Kenneth

On 26/09/2018 11:25, Ole Holm Nielsen wrote:

Regarding upgrading to EB 3.7.0:

On 25-09-2018 15:09, Kenneth Hoste wrote:
Note that the minimal version requirement for Lmod has been bumped to 
6.6.3.


We use CentOS 7 and the 2 years old Lmod RPM package provided by the 
EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm


Can anyone suggest the best way to get or build an RPM package of a 
recent version of Lmod [1] that works well on CentOS 7?


Thanks,
Ole

[1] https://github.com/TACC/Lmod




Re: [easybuild] Updated Lmod RPM package needed for EasyBuild v3.7.0

2018-09-26 Thread Kenneth Hoste

Dear Ole,

We build our own Lmod RPMs so we can stay on top of recent developments.

You can find our .spec file in https://github.com/hpcugent/Lmod-UGent.

If you go back in history a bit, you should be able to find a .spec file 
for Lmod 6.x.


Of course, you'll need to customize this w.r.t. Lmod configuration & such.

I should also mention that the Lmod 6.6.3 requirement may be a bit more 
than is strictly required...
In theory a slightly older Lmod 6.x should be fine too, but I kept 
running into problems left & right when testing on top of older Lmod 6.x 
versions, so I figured going with the latest 6.x was a reasonable 
compromise (I didn't want to force people to switch to Lmod 7).


If that's a big problem, I can try and reconsider that version 
requirement to loosen it up a bit (as long as all the tests pass, that 
it), and issue a quick EasyBuild 3.7.1.


On the other hand, this is good motivation to update your Lmod 
installation, there have been *a lot* of improvements to Lmod since 
version 6.5.1 (which was released Aug 2016...).



regards,

Kenneth

On 26/09/2018 11:25, Ole Holm Nielsen wrote:

Regarding upgrading to EB 3.7.0:

On 25-09-2018 15:09, Kenneth Hoste wrote:
Note that the minimal version requirement for Lmod has been bumped to 
6.6.3.


We use CentOS 7 and the 2 years old Lmod RPM package provided by the 
EPEL repository: Lmod-6.5.1-2.el7.x86_64.rpm


Can anyone suggest the best way to get or build an RPM package of a 
recent version of Lmod [1] that works well on CentOS 7?


Thanks,
Ole

[1] https://github.com/TACC/Lmod