Re: [easybuild] Comments in patches

2016-10-28 Thread Vanzo, Davide
Ward,
I sure will.

Davide


On Oct 28 2016, at 2:36 am, Ward Poelmans  wrote:

On 27-10-16 20:57, Vanzo, Davide wrote:
> Hello all,
> I don't know you but I would find very useful to have some introductory
> comment on the patch files that explain what it actually does. For
> example I am trying to build numpy 1.11.2 with GCC 5.4.0 and most of the
> easyconfig files in the default repo use some patch files to use MKL. I
> am having some hard time understanding the reason for all those changes...

Hi Davide,

Your absolutely right and we try to do this rigorously for all new
patches. However for older patches, this is not always the case (as you
have found).

If you figure it out, don't hesitate to send a PR with a comment on what
it does.

Ward


Re: [easybuild] building recent ATLAS version with recent toolchain

2016-10-28 Thread Kenneth Hoste

Hi Exequiel,

On 28/10/16 12:26, Exequiel SepĂșlveda wrote:
Hi Kenneth, I could compile ATLAS 3.10.2 using GCC 5.3.0. We could try 
to do it for version 3.10.3.

My weekend started :-) On Monday I could share the eb file that I have.


Which LAPACK version were you using for ATLAS 3.10.2?


regards,

Kenneth



Cheers

2016-10-28 18:18 GMT+10:30 Kenneth Hoste >:


Hi all,

Has anyone on the list built a recent version of ATLAS (preferable
the latest 3.10.3) with a somewhat recent toolchain?

I'm looking into moving easyconfig files that use a deprecated
toolchain [1] to the __archive__ subdirectory in the easyconfigs
repository, while trying to make sure we don't lose support for
any software packages support now.

By archiving all 'goalf' easyconfigs [2], all current ATLAS
easyconfigs are also archived (because they rely on a deprecated
subtoolchain), so I'd like to add a new easyconfig for ATLAS with
a recent toolchain.

My attempts of building ATLAS 3.10.3 with GCC 4.9.4/6.2.0 have
failed so far, so I was wondering if somebody has figured out how
to get it to work?


regards,

Kenneth


[1]
https://github.com/hpcugent/easybuild/wiki/Deprecated-toolchains

[2] https://github.com/hpcugent/easybuild-easyconfigs/pull/3733





--
Exequiel Sepulveda





Re: [easybuild] ld issue?

2016-10-28 Thread Kenneth Hoste

Hi Erik,

On 28/10/16 09:18, Erik Smeets wrote:

Hi,

When installing ncurses-6.0-foss-2016b.eb the build fails:
/usr/bin/ld: BFD version 2.20.51.0.2-5.42.el6 20100205 internal error, aborting 
at reloc.c line 443 in bfd_get_reloc_size

It seems it using the system ld instead of the ld from the binutils module, 
although this is loaded. Why is the system ld used? Most likely I'm missing 
something obvious, but any help is appreciated.


Well, it shouldn't be using the system ld, since foss/2016b includes 
binutils.


Maybe it's falling back to the system ld because it's not happy with our 
ld or something.


Which OS is this? Can you share the build log? Is this the standard 
ncurses-6.0-foss-2016b.eb, or did you modify it?



regards,

Kenneth


[easybuild] building recent ATLAS version with recent toolchain

2016-10-28 Thread Kenneth Hoste

Hi all,

Has anyone on the list built a recent version of ATLAS (preferable the 
latest 3.10.3) with a somewhat recent toolchain?


I'm looking into moving easyconfig files that use a deprecated toolchain 
[1] to the __archive__ subdirectory in the easyconfigs repository, while 
trying to make sure we don't lose support for any software packages 
support now.


By archiving all 'goalf' easyconfigs [2], all current ATLAS easyconfigs 
are also archived (because they rely on a deprecated subtoolchain), so 
I'd like to add a new easyconfig for ATLAS with a recent toolchain.


My attempts of building ATLAS 3.10.3 with GCC 4.9.4/6.2.0 have failed so 
far, so I was wondering if somebody has figured out how to get it to work?



regards,

Kenneth


[1] https://github.com/hpcugent/easybuild/wiki/Deprecated-toolchains
[2] https://github.com/hpcugent/easybuild-easyconfigs/pull/3733


RE: [easybuild] How to rebuild the foss-2016b toolchain with OpenMPI including Slurm support?

2016-10-28 Thread Erik Smeets
Hi Kenneth,

Full path to installation of PBS. PBS is not installed with EB, but loaded as 
external module.
Specifying the following wasn't sufficient:
configopts += '--with-tm '
But using the following does work:
configopts += '--with-tm=/full/path/to/install/of/pbs '

Regards,
Erik



> -Original Message-
> From: easybuild-requ...@lists.ugent.be [mailto:easybuild-
> requ...@lists.ugent.be] On Behalf Of Kenneth Hoste
> Sent: Friday, October 28, 2016 8:55 AM
> To: easybuild@lists.ugent.be
> Subject: Re: [easybuild] How to rebuild the foss-2016b toolchain with
> OpenMPI including Slurm support?
>
> Hi Erik,
>
> On 28/10/16 08:50, Erik Smeets wrote:
> > Hi Ole,
> >
> > We've had a similar issue, but then for PBS. I created a new eb file and
> added with-tm specifying full-path:
> > configopts += '--with-tm=/full/path/to/pbs '
> >
> > I then installed openmpi with --force --rebuild.
> >
> > For some reason when not specifying the full path it doesn't work for us at
> the moment. I still need to look at this, as it is inconvenient having to 
> update
> this file when we upgrade PBS. At least for now it does the trick.
>
> Can you clarify this? Full path to what? The easyconfig file?
> And if so, on the command line, or in your EasyBuild configuration (robot-
> paths)?
>
>
> regards,
>
> Kenneth
>
> >
> > Regards,
> > Erik
> >
> >
> >
> >> -Original Message-
> >> From: easybuild-requ...@lists.ugent.be [mailto:easybuild-
> >> requ...@lists.ugent.be] On Behalf Of Kenneth Hoste
> >> Sent: Wednesday, October 26, 2016 6:43 PM
> >> To: easybuild@lists.ugent.be
> >> Subject: Re: [easybuild] How to rebuild the foss-2016b toolchain with
> >> OpenMPI including Slurm support?
> >>
> >> Hi Ole,
> >>
> >> On 26/10/16 16:03, Ole Holm Nielsen wrote:
> >>> We use the foss-2016b toolchain, and we need OpenMPI to be built with
> >>> Slurm resource manager support.  It seems that the foss-2016b build
> >>> doesn't include Slurm:
> >>>
> >>> # ml OpenMPI/1.10.3-GCC-5.4.0-2.26
> >>> # ompi_info | egrep -i 'slurm|pmi'
> >>>   MCA ess: slurm (MCA v2.0.0, API v3.0.0, Component
> >>> v1.10.3)
> >>>   MCA plm: slurm (MCA v2.0.0, API v2.0.0, Component
> >>> v1.10.3)
> >>>   MCA ras: slurm (MCA v2.0.0, API v2.0.0, Component
> >>> v1.10.3)
> >>>
> >>> Our multi-node MPI jobs fail miserably, and I surmise that this is due
> >>> to the lacking Slurm support.
> >>>
> >>> Slurm seems to require a build of OpenMPI with 1) --with-pmi and/or 2)
> >>> --with-slurm. References:
> >>>
> >>> 1) https://www.mail-
> >> archive.com/easybuild@lists.ugent.be/msg01975.html
> >>> 2) https://www.open-mpi.org/faq/?category=slurm
> >>>
> >>> I tried making a copy of the EB file OpenMPI-1.10.3-GCC-5.4.0-2.26.eb
> >>> and appending a line:
> >>>
> >>> configopts += '--with-slurm --with-pmi '
> >>>
> >>> and rebuilding the module with eb --force.  Unfortunately, the
> >>> resulting module seems *not* to include my updated configopts
> (looking
> >>> at the file
> >>> $EASYBUILD_PREFIX/ebfiles_repo/OpenMPI/OpenMPI-1.10.3-GCC-
> 5.4.0-
> >> 2.26.eb).
> >>> Question: How do I rebuild the OpenMPI module with proper Slurm
> >> support?
> >>
> >> Rebuilding with --force should work, so for some reason your customized
> >> EasyBuild was not picked up...
> >> How did you provide it to EasyBuild exactly? Was it available in the local
> >> directory where you ran the 'eb' command?
> >>
> >> You can verify that the right easyconfig is picked up via a dry run
> >> like: "eb OpenMPI-1.10.3-GCC-5.4.0-2.26.eb -Df", which will print the path
> to
> >> the easyconfig files used.
> >>
> >>> Question: Can Slurm support please be included in future versions of
> >>> the OpenMPI module in the foss-201x tool chain?
> >> This is a left as a site-specific customization, since including 
> >> --with-slurm
> hard
> >> would make the installation fail on any systems that do not have SLURM.
> >>
> >> We should have documentation on how to deal with site-specific
> >> customisations well though.
> >> Is anyone doing that (JSC, CSCS, TAMU?) up for writing up some
> >> documentation for this?
> >> The existing documentation has some examples hinting towards a
> possible
> >> setup:
> >> http://easybuild.readthedocs.io/en/latest/Configuration.html#example
> >>
> >>
> >> regards,
> >>
> >> Kenneth
> > -- The information contained in this communication and any attachments is
> confidential and may be privileged, and is for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure or distribution is
> prohibited. Unless explicitly stated otherwise in the body of this
> communication or the attachment thereto (if any), the information is
> provided on an AS-IS basis without any express or implied warranties or
> liabilities. To the extent you are relying on this information, you are doing 
> so
> at your own risk. If you are not the intended recipient, please notify the
> sender immediately by replying to 

[easybuild] ld issue?

2016-10-28 Thread Erik Smeets
Hi,

When installing ncurses-6.0-foss-2016b.eb the build fails:
/usr/bin/ld: BFD version 2.20.51.0.2-5.42.el6 20100205 internal error, aborting 
at reloc.c line 443 in bfd_get_reloc_size

It seems it using the system ld instead of the ld from the binutils module, 
although this is loaded. Why is the system ld used? Most likely I'm missing 
something obvious, but any help is appreciated.

Thanks.
Erik

-- The information contained in this communication and any attachments is 
confidential and may be privileged, and is for the sole use of the intended 
recipient(s). Any unauthorized review, use, disclosure or distribution is 
prohibited. Unless explicitly stated otherwise in the body of this 
communication or the attachment thereto (if any), the information is provided 
on an AS-IS basis without any express or implied warranties or liabilities. To 
the extent you are relying on this information, you are doing so at your own 
risk. If you are not the intended recipient, please notify the sender 
immediately by replying to this message and destroy all copies of this message 
and any attachments. The sender nor the company/group of companies he or she 
represents shall be liable for the proper and complete transmission of the 
information contained in this communication, or for any delay in its receipt.


Re: [easybuild] How to rebuild the foss-2016b toolchain with OpenMPI including Slurm support?

2016-10-28 Thread Ole Holm Nielsen

Hi Erik,

Thanks for your input.  I already discovered that I had to add to 
OpenMPI-1.10.3-GCC-5.4.0-2.26.eb this line:


configopts += '--with-slurm --with-pmi=/usr/include/slurm 
--with-pmi-libdir=/usr '  # Support of Slurm


Question: What's the difference when you add --rebuild to --force?

I was assuming that --force would rebuild the module completely, but 
perhaps I'm mistaken?


Thanks,
Ole

On 10/28/2016 08:50 AM, Erik Smeets wrote:

Hi Ole,

We've had a similar issue, but then for PBS. I created a new eb file and added 
with-tm specifying full-path:
configopts += '--with-tm=/full/path/to/pbs '

I then installed openmpi with --force --rebuild.

For some reason when not specifying the full path it doesn't work for us at the 
moment. I still need to look at this, as it is inconvenient having to update 
this file when we upgrade PBS. At least for now it does the trick.

Regards,
Erik




-Original Message-
From: easybuild-requ...@lists.ugent.be [mailto:easybuild-
requ...@lists.ugent.be] On Behalf Of Kenneth Hoste
Sent: Wednesday, October 26, 2016 6:43 PM
To: easybuild@lists.ugent.be
Subject: Re: [easybuild] How to rebuild the foss-2016b toolchain with
OpenMPI including Slurm support?

Hi Ole,

On 26/10/16 16:03, Ole Holm Nielsen wrote:

We use the foss-2016b toolchain, and we need OpenMPI to be built with
Slurm resource manager support.  It seems that the foss-2016b build
doesn't include Slurm:

# ml OpenMPI/1.10.3-GCC-5.4.0-2.26
# ompi_info | egrep -i 'slurm|pmi'
 MCA ess: slurm (MCA v2.0.0, API v3.0.0, Component
v1.10.3)
 MCA plm: slurm (MCA v2.0.0, API v2.0.0, Component
v1.10.3)
 MCA ras: slurm (MCA v2.0.0, API v2.0.0, Component
v1.10.3)

Our multi-node MPI jobs fail miserably, and I surmise that this is due
to the lacking Slurm support.

Slurm seems to require a build of OpenMPI with 1) --with-pmi and/or 2)
--with-slurm. References:

1) https://www.mail-

archive.com/easybuild@lists.ugent.be/msg01975.html

2) https://www.open-mpi.org/faq/?category=slurm

I tried making a copy of the EB file OpenMPI-1.10.3-GCC-5.4.0-2.26.eb
and appending a line:

configopts += '--with-slurm --with-pmi '

and rebuilding the module with eb --force.  Unfortunately, the
resulting module seems *not* to include my updated configopts (looking
at the file
$EASYBUILD_PREFIX/ebfiles_repo/OpenMPI/OpenMPI-1.10.3-GCC-5.4.0-

2.26.eb).


Question: How do I rebuild the OpenMPI module with proper Slurm

support?

Rebuilding with --force should work, so for some reason your customized
EasyBuild was not picked up...
How did you provide it to EasyBuild exactly? Was it available in the local
directory where you ran the 'eb' command?

You can verify that the right easyconfig is picked up via a dry run
like: "eb OpenMPI-1.10.3-GCC-5.4.0-2.26.eb -Df", which will print the path to
the easyconfig files used.


Question: Can Slurm support please be included in future versions of
the OpenMPI module in the foss-201x tool chain?

This is a left as a site-specific customization, since including --with-slurm 
hard
would make the installation fail on any systems that do not have SLURM.

We should have documentation on how to deal with site-specific
customisations well though.
Is anyone doing that (JSC, CSCS, TAMU?) up for writing up some
documentation for this?
The existing documentation has some examples hinting towards a possible
setup:
http://easybuild.readthedocs.io/en/latest/Configuration.html#example


regards,

Kenneth

-- The information contained in this communication and any attachments is 
confidential and may be privileged, and is for the sole use of the intended 
recipient(s). Any unauthorized review, use, disclosure or distribution is 
prohibited. Unless explicitly stated otherwise in the body of this 
communication or the attachment thereto (if any), the information is provided 
on an AS-IS basis without any express or implied warranties or liabilities. To 
the extent you are relying on this information, you are doing so at your own 
risk. If you are not the intended recipient, please notify the sender 
immediately by replying to this message and destroy all copies of this message 
and any attachments. The sender nor the company/group of companies he or she 
represents shall be liable for the proper and complete transmission of the 
information contained in this communication, or for any delay in its receipt.