[easybuild] trouble with external modules

2016-09-06 Thread Tim Slauson
Hello EasyBuilders,

I'm trying out EasyBuild for the first time (version 2.8.2), and am having
trouble hooking in the vendor-provided MPI modules on one of our clusters.
The modules all follow the same naming convention of name/compiler/ver
(e.g. openmpi/gnu/1.10.2, mvapich2-psm/intel/2.1, ...).  After reading
about EXTERNAL_MODULE, I adapted the gompi-2016.06.eb toolchain easyconfig:

3c3
< name = 'gompi'
---
> name = 'pic-gompi'
17c17
< ('OpenMPI', '1.10.3', '', ('GCC', gccver)),
---
> ('openmpi/gnu/1.10.2', EXTERNAL_MODULE),


And wrote external module metadata:

[openmpi/gnu/1.10.2]
name = OpenMPI
version = 1.10.2
prefix = MPI_HOME


And defined a new toolchain:

from easybuild.toolchains.gompi import Gompi

class PicGompi(Gompi):
"""PIC compiler toolchain with GNU compilers and OpenMPI"""
NAME = 'pic-gompi'


This allows me to build a toolchain.  But when I run this:

eb FFTW-3.3.4-gompi-2016.06.eb --try-toolchain=pic-gompi,2016.06

I get this error:

ERROR: Build of
/tmp/eb-HkZNza/tweaked_easyconfigs/FFTW-3.3.4-pic-gompi-2016.06.eb failed
(err: "build failed (first 300 chars): List of toolchain dependency modules
and toolchain definition do not match (found ['GCC/5.4.0-2.26',
'openmpi/gnu/1.10.2'] vs expected set(['GCC', 'OpenMPI']))")

I get similar errors when repeating this process for the other
vendor-provided libraries.  Can somebody please point me in the right
direction?

Thanks,
Tim

-- 
Tim Slauson
GI/RCS
University of Alaska Fairbanks


Re: [easybuild] Difference between toolchains foss and goolf?

2016-09-06 Thread Jack Perdue

Short answer... foss is the new goolf... use foss
2016a (for an older GCC)  or 2016b (for the latest).

jack

On 09/06/2016 10:23 AM, Ole Holm Nielsen wrote:

Dear EasyBuild users,

We're starting work on updating the easybuild-easyconfigs for our 
simulation packages ASE and GPAW in order to make the latest updates 
available to the EasyBuild community and on our Linux cluster.


We'll be needing a toolchain including modern versions of GCC, 
OpenMPI, OpenBLAS/LAPACK, ScaLAPACK(/BLACS), FFTW.  The target 
platform will be CentOS 7.2 which supplies GCC 4.8.5.


Question: Which of the two seemingly identical toolchains "foss" and 
"goolf" in the official toolchain list should we be using?


Thanks,
Ole




[easybuild] Difference between toolchains foss and goolf?

2016-09-06 Thread Ole Holm Nielsen

Dear EasyBuild users,

We're starting work on updating the easybuild-easyconfigs for our 
simulation packages ASE and GPAW in order to make the latest updates 
available to the EasyBuild community and on our Linux cluster.


We'll be needing a toolchain including modern versions of GCC, OpenMPI, 
OpenBLAS/LAPACK, ScaLAPACK(/BLACS), FFTW.  The target platform will be 
CentOS 7.2 which supplies GCC 4.8.5.


Question: Which of the two seemingly identical toolchains "foss" and 
"goolf" in the official toolchain list should we be using?


Thanks,
Ole