Pierre-Yves Barriat 6 лет назад
Родитель
Сommit
bd8ea66514
2 измененных файлов с 58 добавлено и 0 удалено
  1. 33 0
      intel-2019b/UDUNITS-1.12.11-iimpi-2019b.eb
  2. 25 0
      intel-2019b/netCDF-Fortran-4.5.2-iimpi-2019b.eb

+ 33 - 0
intel-2019b/UDUNITS-1.12.11-iimpi-2019b.eb

@@ -0,0 +1,33 @@
+##
+
+easyblock = 'ConfigureMake'
+
+name = 'UDUNITS'
+version = '1.12.11'
+
+homepage = 'http://www.unidata.ucar.edu/software/udunits/'
+description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
+ arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""
+
+toolchain = {'name': 'iimpi', 'version': '2019b'}
+toolchainopts = {'pic': True}
+
+source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
+sources = [SOURCELOWER_TAR_GZ]
+
+buildopts = 'CFLAGS="-Df2cFortran -fPIC"'
+
+builddependencies = [
+    ('Bison', '3.3.2'),
+    ('Perl', '5.30.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/udunits', 'etc/udunits.dat', 'include/udunits.inc', 'include/udunits.h',
+              'lib/libudunits.a'],
+    'dirs': [],
+}
+
+parallel = 1
+
+moduleclass = 'phys'

+ 25 - 0
intel-2019b/netCDF-Fortran-4.5.2-iimpi-2019b.eb

@@ -0,0 +1,25 @@
+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': '2019b'}
+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.1')]
+
+# (too) parallel build fails, but single-core build is fairly quick anyway (~1min)
+parallel = 1
+
+moduleclass = 'data'