Skip to content
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-gompi-1.5.14-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name = 'FFTW'
version = '3.3.4'

homepage = 'http://www.fftw.org'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
in one or more dimensions, of arbitrary input size, and of both real and complex data."""

toolchain = {'name': 'gompi', 'version': '1.5.14-no-OFED'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [homepage]

common_configopts = "--enable-openmp --with-pic"

configopts = [
common_configopts + " --enable-single --enable-sse2 --enable-mpi",
common_configopts + " --enable-long-double --enable-mpi",
common_configopts + " --enable-quad-precision",
common_configopts + " --enable-sse2 --enable-mpi", # default as last
]

sanity_check_paths = {
'files': ['bin/fftw%s' % x for x in ['-wisdom', '-wisdom-to-conf', 'f-wisdom', 'l-wisdom', 'q-wisdom']] +
['include/fftw3%s' % x for x in ['-mpi.f03', '-mpi.h', '.f', '.f03',
'.h', 'l-mpi.f03', 'l.f03', 'q.f03']] +
['lib/libfftw3%s.a' % x for x in ['', '_mpi', '_omp', 'f', 'f_mpi', 'f_omp',
'l', 'l_mpi', 'l_omp', 'q', 'q_omp']],
'dirs': ['lib/pkgconfig'],
}

moduleclass = 'numlib'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-gompi-1.6.5-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name = 'FFTW'
version = '3.3.4'

homepage = 'http://www.fftw.org'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
in one or more dimensions, of arbitrary input size, and of both real and complex data."""

toolchain = {'name': 'gompi', 'version': '1.6.5-no-OFED'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [homepage]

common_configopts = "--enable-openmp --with-pic"

configopts = [
common_configopts + " --enable-single --enable-sse2 --enable-mpi",
common_configopts + " --enable-long-double --enable-mpi",
common_configopts + " --enable-quad-precision",
common_configopts + " --enable-sse2 --enable-mpi", # default as last
]

sanity_check_paths = {
'files': ['bin/fftw%s' % x for x in ['-wisdom', '-wisdom-to-conf', 'f-wisdom', 'l-wisdom', 'q-wisdom']] +
['include/fftw3%s' % x for x in ['-mpi.f03', '-mpi.h', '.f', '.f03',
'.h', 'l-mpi.f03', 'l.f03', 'q.f03']] +
['lib/libfftw3%s.a' % x for x in ['', '_mpi', '_omp', 'f', 'f_mpi', 'f_omp',
'l', 'l_mpi', 'l_omp', 'q', 'q_omp']],
'dirs': ['lib/pkgconfig'],
}

moduleclass = 'numlib'
42 changes: 0 additions & 42 deletions easybuild/easyconfigs/g/git/git-1.8.2-goolf-1.4.10.eb

This file was deleted.

26 changes: 26 additions & 0 deletions easybuild/easyconfigs/g/gompi/gompi-1.5.14-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = "Toolchain"

name = 'gompi'
version = '1.5.14'
versionsuffix = '-no-OFED'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain,
including OpenMPI for MPI support."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

compname = 'GCC'
compver = '4.8.2'
comp = (compname, compver)

mpilib = 'OpenMPI'
mpiver = '1.6.5'

# compiler toolchain dependencies
dependencies = [
comp,
(mpilib, mpiver, versionsuffix, comp),
]

moduleclass = 'toolchain'
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/g/gompi/gompi-1.6.5-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = "Toolchain"

name = 'gompi'
version = '1.6.5'
versionsuffix = '-no-OFED'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain,
including OpenMPI for MPI support."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

compname = 'GCC'
compver = '4.8.2'
comp = (compname, compver)

mpilib = 'OpenMPI'
mpiver = '1.6.5'

# compiler toolchain dependencies
dependencies = [
comp,
(mpilib, mpiver, versionsuffix, comp),
]

moduleclass = 'toolchain'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/g/goolf/goolf-1.5.14-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
easyblock = "Toolchain"

name = 'goolf'
version = '1.5.14'
versionsuffix = '-no-OFED'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain, including
OpenMPI for MPI support, OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

comp_name = 'GCC'
comp_version = '4.8.2'
comp = (comp_name, comp_version)

blaslib = 'OpenBLAS'
blasver = '0.2.8'
blas = '%s-%s' % (blaslib, blasver)
blassuff = '-LAPACK-3.5.0'

# toolchain used to build goolf dependencies
comp_mpi_tc_name = 'gompi'
comp_mpi_tc_ver = "%s%s" % (version, versionsuffix)
comp_mpi_tc = (comp_mpi_tc_name, comp_mpi_tc_ver)

# compiler toolchain depencies
# we need GCC and OpenMPI as explicit dependencies instead of gompi toolchain
# because of toolchain preperation functions
dependencies = [
('GCC', '4.8.2'),
('OpenMPI', '1.6.5', '-no-OFED', comp), # part of gompi
(blaslib, blasver, blassuff, comp_mpi_tc),
('FFTW', '3.3.4', '', comp_mpi_tc),
('ScaLAPACK', '2.0.2', '-%s%s' % (blas, blassuff), comp_mpi_tc),
]

moduleclass = 'toolchain'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/g/goolf/goolf-1.6.5-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
easyblock = "Toolchain"

name = 'goolf'
version = '1.6.5'
versionsuffix = '-no-OFED'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain, including
OpenMPI for MPI support, OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

comp_name = 'GCC'
comp_version = '4.8.2'
comp = (comp_name, comp_version)

blaslib = 'OpenBLAS'
blasver = '0.2.8'
blas = '%s-%s' % (blaslib, blasver)
blassuff = '-LAPACK-3.5.0'

# toolchain used to build goolf dependencies
comp_mpi_tc_name = 'gompi'
comp_mpi_tc_ver = "%s%s" % (version, versionsuffix)
comp_mpi_tc = (comp_mpi_tc_name, comp_mpi_tc_ver)

# compiler toolchain depencies
# we need GCC and OpenMPI as explicit dependencies instead of gompi toolchain
# because of toolchain preperation functions
dependencies = [
('GCC', '4.8.2'),
('OpenMPI', '1.6.5', '-no-OFED', comp), # part of gompi
(blaslib, blasver, blassuff, comp_mpi_tc),
('FFTW', '3.3.4', '', comp_mpi_tc),
('ScaLAPACK', '2.0.2', '-%s%s' % (blas, blassuff), comp_mpi_tc),
]

moduleclass = 'toolchain'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/g/gzip/gzip-1.6-goolf-1.5.14-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright (c) 2012-2013 Cyprus Institute / CaSToRC
# Authors:: Thekla Loizou <[email protected]>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_06-19.html
##

name = 'gzip'
version = '1.6'

homepage = 'http://www.gnu.org/software/gzip/'
description = "gzip (GNU zip) is a popular data compression program as a replacement for compress"

toolchain = {'name': 'goolf', 'version': '1.5.14-no-OFED'}

# eg. http://ftp.gnu.org/gnu/gzip/gzip-1.6.tar.gz
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]

# make sure the gzip, gunzip and compress binaries are available after installation
sanity_check_paths = {
'files': ["bin/gunzip", "bin/gzip", "bin/uncompress"],
'dirs': [],
}

# run 'gzip -h' and 'gzip --version' after installation
sanity_check_commands = [True, ('gzip', '--version')]

moduleclass = 'tools'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/g/gzip/gzip-1.6-goolf-1.6.5-no-OFED.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright (c) 2012-2013 Cyprus Institute / CaSToRC
# Authors:: Thekla Loizou <[email protected]>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_06-19.html
##

name = 'gzip'
version = '1.6'

homepage = 'http://www.gnu.org/software/gzip/'
description = "gzip (GNU zip) is a popular data compression program as a replacement for compress"

toolchain = {'name': 'goolf', 'version': '1.6.5-no-OFED'}

# eg. http://ftp.gnu.org/gnu/gzip/gzip-1.6.tar.gz
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]

# make sure the gzip, gunzip and compress binaries are available after installation
sanity_check_paths = {
'files': ["bin/gunzip", "bin/gzip", "bin/uncompress"],
'dirs': [],
}

# run 'gzip -h' and 'gzip --version' after installation
sanity_check_commands = [True, ('gzip', '--version')]

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name = 'OpenBLAS'
version = '0.2.8'

lapackver = '3.5.0'
versionsuffix = '-LAPACK-%s' % lapackver

homepage = 'http://xianyi.github.com/OpenBLAS/'
description = """OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version."""

toolchain = {'name': 'gompi', 'version': '1.5.14-no-OFED'}

lapack_src = 'lapack-%s.tgz' % lapackver
large_src = 'large.tgz'
timing_src = 'timing.tgz'
sources = [
'v%(version)s.tar.gz',
lapack_src,
large_src,
timing_src,
]
source_urls = [
# order matters, trying to download the LAPACK tarball from GitHub causes trouble
"http://www.netlib.org/lapack/",
"http://www.netlib.org/lapack/timing/",
"https://github.com/xianyi/OpenBLAS/archive/",
]

patches = [
(lapack_src, '.'), # copy LAPACK tarball to unpacked OpenBLAS dir
(large_src, '.'),
(timing_src, '.'),
]

skipsteps = ['configure']

threading = 'USE_THREAD=1'
makeopts = 'BINARY=64 ' + threading + ' CC="$CC" FC="$F77"'
installopts = threading + " PREFIX=%(installdir)s"

# extensive testing can be enabled by uncommenting the line below
#runtest = 'PATH=.:$PATH lapack-timing'

sanity_check_paths = {
'files': ['include/cblas.h', 'include/f77blas.h', 'include/lapacke_config.h', 'include/lapacke.h',
'include/lapacke_mangling.h', 'include/lapacke_utils.h', 'include/openblas_config.h',
'lib/libopenblas.a', 'lib/libopenblas.%s' % shared_lib_ext],
'dirs': [],
}

moduleclass = 'numlib'
Loading