Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{toolchain}[dummy/dummy] goolfc v2017b #5768

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/c/CUDA/CUDA-9.0.176-GCC-6.4.0-2.28.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'CUDA'
version = '9.0.176'
nv_version = '384.81'

homepage = 'https://developer.nvidia.com/cuda-toolkit'
description = """CUDA (formerly Compute Unified Device Architecture) is a parallel
computing platform and programming model created by NVIDIA and implemented by the
graphics processing units (GPUs) that they produce. CUDA gives developers access
to the virtual instruction set and memory of the parallel computational elements in CUDA GPUs."""

toolchain = {'name': 'GCC', 'version': '6.4.0-2.28'}

source_urls = [
'https://developer.nvidia.com/compute/cuda/%(version_major_minor)s/prod/local_installers/',
'http://developer.download.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/',
'https://developer.nvidia.com/compute/cuda/%(version_major_minor)s/Prod2/local_installers/',
'https://developer.nvidia.com/compute/%(namelower)s/%(version_major_minor)s/Prod/local_installers/',
]
sources = ['%%(namelower)s_%%(version)s_%s_linux-run' % nv_version]
checksums = ['96863423feaa50b5c1c5e1b9ec537ef7ba77576a3986652351ae43e66bcd080c']

moduleclass = 'system'
17 changes: 17 additions & 0 deletions easybuild/easyconfigs/f/FFTW/FFTW-3.3.6-gompic-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name = 'FFTW'
version = '3.3.6'

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': 'gompic', 'version': '2017b'}
toolchainopts = {'pic': True}

source_urls = [homepage]
sources = ['fftw-%(version)s-pl2.tar.gz']
checksums = ['a5de35c5c824a78a058ca54278c706cdf3d4abba1c56b63531c2cb05f5d57da2']

runtest = 'check'

moduleclass = 'numlib'
21 changes: 21 additions & 0 deletions easybuild/easyconfigs/g/gcccuda/gcccuda-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
easyblock = "Toolchain"

name = 'gcccuda'
version = '2017b'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain, along with CUDA toolkit."""

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

comp_name = 'GCC'
comp_ver = '6.4.0-2.28'
comp = (comp_name, comp_ver)

# compiler toolchain dependencies
dependencies = [
comp,
('CUDA', '9.0.176', '', comp),
]

moduleclass = 'toolchain'
23 changes: 23 additions & 0 deletions easybuild/easyconfigs/g/gompic/gompic-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
easyblock = "Toolchain"

name = 'gompic'
version = '2017b'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain along with CUDA toolkit,
including OpenMPI for MPI support with CUDA features enabled."""

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

comp_name = 'GCC'
comp_ver = '6.4.0-2.28'
comp = (comp_name, comp_ver)

# compiler toolchain dependencies
dependencies = [
comp, # part of gcccuda
('CUDA', '9.0.176', '', comp), # part of gcccuda
('OpenMPI', '2.1.1', '', ('gcccuda', version)),
]

moduleclass = 'toolchain'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/g/goolfc/goolfc-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = "Toolchain"

name = 'goolfc'
version = '2017b'

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

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

comp_name = 'GCC'
comp_ver = '6.4.0-2.28'
comp = (comp_name, comp_ver)

# toolchain used to build goolfc dependencies
comp_mpi_tc_name = 'gompic'
comp_mpi_tc_ver = version
comp_mpi_tc = (comp_mpi_tc_name, comp_mpi_tc_ver)

blaslib = 'OpenBLAS'
blasver = '0.2.20'
blas = '-%s-%s' % (blaslib, blasver)

# compiler toolchain dependencies
# we need GCC and OpenMPI as explicit dependencies instead of gompi toolchain
# because of toolchain preperation functions
dependencies = [
comp, # part of gompic
('CUDA', '9.0.176', '', comp), # part of gompic
('OpenMPI', '2.1.1', '', ('gcccuda', version)), # part of gompic
(blaslib, blasver, '', comp),
('FFTW', '3.3.6', '', comp_mpi_tc),
('ScaLAPACK', '2.0.2', blas, comp_mpi_tc),
]

moduleclass = 'toolchain'
36 changes: 36 additions & 0 deletions easybuild/easyconfigs/o/OpenMPI/OpenMPI-2.1.1-gcccuda-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'OpenMPI'
version = '2.1.1'

homepage = 'http://www.open-mpi.org/'
description = """The Open MPI Project is an open source MPI-2 implementation."""

toolchain = {'name': 'gcccuda', 'version': '2017b'}

source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['afe4bef3c4378bc76eea96c623d5aa4c1c98b9e057d281c646e68869292a77dc']

dependencies = [('hwloc', '1.11.7')]

configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs '
configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
configopts += '--with-cuda=$CUDA_HOME ' # CUDA-aware build; N.B. --disable-dlopen is incompatible

# to enable SLURM integration (site-specific)
# configopts += '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr'

# needed for --with-verbs
osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')]

libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
sanity_check_paths = {
'files': ["bin/%s" % binfile for binfile in ["ompi_info", "opal_wrapper", "orterun"]] +
["lib/lib%s.%s" % (libfile, SHLIB_EXT) for libfile in libs] +
["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]],
'dirs': [],
}

moduleclass = 'mpi'
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'ScaLAPACK'
version = '2.0.2'

homepage = 'http://www.netlib.org/scalapack/'
description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
redesigned for distributed memory MIMD parallel computers."""

toolchain = {'name': 'gompic', 'version': '2017b'}
toolchainopts = {'pic': True}

source_urls = [homepage]
sources = [SOURCELOWER_TGZ]
checksums = ['0c74aeae690fe5ee4db7926f49c5d0bb69ce09eea75beb915e00bba07530395c']

blaslib = 'OpenBLAS'
blasver = '0.2.20'

versionsuffix = "-%s-%s" % (blaslib, blasver)

dependencies = [(blaslib, blasver, '', ('GCC', '6.4.0-2.28'))]

moduleclass = 'numlib'