Browse Source

Merge branch 'master' of ssh://regit/pbarriat/easyconfigs

Pierre-Yves Barriat 4 years ago
parent
commit
b6bc123a67

+ 1 - 1
intel-2020a/HDF5-1.10.6-iimpi-2020a.eb

@@ -13,7 +13,7 @@ source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_ma
 sources = [SOURCELOWER_TAR_GZ]
 checksums = ['5f9a3ee85db4ea1d3b1fa9159352aebc2af72732fc2f58c96a3f0768dba0e9aa']
 
-configopts = 'FCFLAGS="-O2 -ftz -fp-speculation=safe -fp-model source -fPIC -march=core-avx2 -align array64byte -fma -ftz -fomit-frame-pointer" '
+configopts = 'CFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer -fp-speculation=safe -fp-model source -fPIC" FCFLAGS="-O2 -fp-speculation=safe -fp-model source -fPIC -march=core-avx2 -align array64byte -fma -ftz -fomit-frame-pointer" CPPFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer $CPPFLAGS" '
 
 dependencies = [
     ('zlib', '1.2.11'),

+ 35 - 0
intel-2020a/netCDF-4.7.4-iimpi-2020a.eb

@@ -0,0 +1,35 @@
+name = 'netCDF'
+version = '4.7.4'
+
+homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
+description = """NetCDF (network Common Data Form) is a set of software libraries
+ and machine-independent data formats that support the creation, access, and sharing of array-oriented
+ scientific data."""
+
+toolchain = {'name': 'iimpi', 'version': '2020a'}
+toolchainopts = {'pic': True, 'usempi': True}
+
+source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
+sources = ['v%(version)s.tar.gz']
+checksums = ['99930ad7b3c4c1a8e8831fb061cb02b2170fc8e5ccaeda733bd99c3b9d31666b']
+
+builddependencies = [
+    ('Autotools', '20180311'),
+    ('CMake', '3.16.4'),
+    ('Doxygen', '1.8.17'),
+]
+
+dependencies = [
+    ('HDF5', '1.10.6'),
+    ('cURL', '7.69.1'),
+    ('Szip', '2.1.1'),
+]
+
+# make sure both static and shared libs are built
+configopts = [
+    '-DCMAKE_C_FLAGS="-O3 -march=core-avx2 -fma -ftz -fomit-frame-pointer -fp-speculation=safe -fp-model source -fPIC" ',
+    '-DBUILD_SHARED_LIBS=OFF ',
+    '-DBUILD_SHARED_LIBS=ON ',
+]
+
+moduleclass = 'data'

+ 27 - 0
intel-2020a/netCDF-Fortran-4.5.2-iimpi-2020a.eb

@@ -0,0 +1,27 @@
+name = 'netCDF-Fortran'
+version = '4.5.2'
+
+homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
+description = """NetCDF (network Common Data Form) is a set of software libraries
+ and machine-independent data formats that support the creation, access, and sharing of array-oriented
+ scientific data."""
+
+toolchain = {'name': 'iimpi', 'version': '2020a'}
+toolchainopts = {'pic': True, 'usempi': True}
+
+source_urls = ['https://github.com/Unidata/netcdf-fortran/archive/']
+sources = ['v%(version)s.tar.gz']
+checksums = ['0b05c629c70d6d224a3be28699c066bfdfeae477aea211fbf034d973a8309b49']
+
+builddependencies = [
+    ('M4', '1.4.18'),
+]
+
+dependencies = [('netCDF', '4.7.4')]
+
+configopts = 'FCFLAGS="-O2 -fp-speculation=safe -fp-model source -fPIC -march=core-avx2 -align array64byte -fma -ftz -fomit-frame-pointer" CPPFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer $CPPFLAGS" '
+
+# (too) parallel build fails, but single-core build is fairly quick anyway (~1min)
+parallel = 1
+
+moduleclass = 'data'