-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name = 'FFTW' | ||
version = '3.3.8' | ||
|
||
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': '2020b'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = [homepage] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
checksums = ['6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303'] | ||
|
||
runtest = 'check' | ||
|
||
moduleclass = 'numlib' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
easyblock = 'Toolchain' | ||
|
||
name = 'foss' | ||
version = '2020b' | ||
|
||
homepage = 'https://easybuild.readthedocs.io/en/master/Common-toolchains.html#foss-toolchain' | ||
description = """GNU Compiler Collection (GCC) based compiler toolchain, including | ||
OpenMPI for MPI support, OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK.""" | ||
|
||
toolchain = SYSTEM | ||
|
||
local_gccver = '10.2.0' | ||
|
||
# toolchain used to build foss dependencies | ||
local_comp_mpi_tc = ('gompi', version) | ||
|
||
# we need GCC and OpenMPI as explicit dependencies instead of gompi toolchain | ||
# because of toolchain preparation functions | ||
dependencies = [ | ||
('GCC', local_gccver), | ||
('OpenMPI', '4.0.5', '', ('GCC', local_gccver)), | ||
('OpenBLAS', '0.3.10', '', ('GCC', local_gccver)), | ||
('FFTW', '3.3.8', '', local_comp_mpi_tc), | ||
('ScaLAPACK', '2.1.0', '', local_comp_mpi_tc), | ||
] | ||
|
||
moduleclass = 'toolchain' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name = 'HPL' | ||
version = '2.3' | ||
|
||
homepage = 'https://www.netlib.org/benchmark/hpl/' | ||
description = """HPL is a software package that solves a (random) dense linear system in double precision (64 bits) | ||
arithmetic on distributed-memory computers. It can thus be regarded as a portable as well as freely available | ||
implementation of the High Performance Computing Linpack Benchmark.""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2020b'} | ||
toolchainopts = {'usempi': True} | ||
|
||
source_urls = ['https://www.netlib.org/benchmark/%(namelower)s'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
# fix Make dependencies, so parallel build also works | ||
patches = ['HPL_parallel-make.patch'] | ||
checksums = [ | ||
'32c5c17d22330e6f2337b681aded51637fb6008d3f0eb7c277b163fadd612830', # hpl-2.3.tar.gz | ||
'2a5bf9c4f328049828ddecec7ba3f05a9e25d236f4212747c53bd22fea80c5e6', # HPL_parallel-make.patch | ||
] | ||
|
||
moduleclass = 'tools' |
28 changes: 28 additions & 0 deletions
28
easybuild/easyconfigs/o/OpenBLAS/OpenBLAS-0.3.10-GCC-10.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name = 'OpenBLAS' | ||
version = '0.3.10' | ||
|
||
homepage = 'https://xianyi.github.com/OpenBLAS/' | ||
description = "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version." | ||
|
||
toolchain = {'name': 'GCC', 'version': '10.2.0'} | ||
|
||
source_urls = [ | ||
# order matters, trying to download the large.tgz/timing.tgz LAPACK tarballs from GitHub causes trouble | ||
'https://www.netlib.org/lapack/timing/', | ||
'https://github.com/xianyi/OpenBLAS/archive/', | ||
] | ||
sources = ['v%(version)s.tar.gz'] | ||
patches = [ | ||
('large.tgz', '.'), | ||
('timing.tgz', '.'), | ||
] | ||
checksums = [ | ||
'0484d275f87e9b8641ff2eecaa9df2830cbe276ac79ad80494822721de6e1693', # v0.3.10.tar.gz | ||
'f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1', # large.tgz | ||
'999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af', # timing.tgz | ||
] | ||
|
||
# extensive testing can be enabled by uncommenting the line below | ||
# runtest = 'PATH=.:$PATH lapack-timing' | ||
|
||
moduleclass = 'numlib' |
21 changes: 21 additions & 0 deletions
21
easybuild/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.1.0-gompi-2020b.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name = 'ScaLAPACK' | ||
version = '2.1.0' | ||
|
||
homepage = 'https://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': 'gompi', 'version': '2020b'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = [homepage] | ||
sources = [SOURCELOWER_TGZ] | ||
patches = ['ScaLAPACK-%(version)s_fix-GCC-10.patch'] | ||
checksums = [ | ||
'61d9216cf81d246944720cfce96255878a3f85dec13b9351f1fa0fd6768220a6', # scalapack-2.1.0.tgz | ||
'bbb713c9fcabac802811c7f2c3a957c2d5d19dfd118ed1f6578c1436b82c7c43', # ScaLAPACK-2.1.0_fix-GCC-10.patch | ||
] | ||
|
||
dependencies = [('OpenBLAS', '0.3.10')] | ||
|
||
moduleclass = 'numlib' |