|
@@ -1,7 +1,7 @@
|
|
|
easyblock = 'ConfigureMake'
|
|
|
|
|
|
name = 'CDO'
|
|
|
-version = '1.9.2'
|
|
|
+version = '1.9.5'
|
|
|
|
|
|
homepage = 'https://code.zmaw.de/projects/cdo'
|
|
|
description = """CDO is a collection of command line Operators to manipulate and analyse Climate and NWP model Data."""
|
|
@@ -9,25 +9,24 @@ description = """CDO is a collection of command line Operators to manipulate and
|
|
|
toolchain = {'name': 'foss', 'version': '2017b'}
|
|
|
toolchainopts = {'opt': True, 'pic': True, 'usempi': True}
|
|
|
|
|
|
+source_urls = ['https://code.mpimet.mpg.de/attachments/download/18264/']
|
|
|
sources = [SOURCELOWER_TAR_GZ]
|
|
|
-source_urls = ['https://code.mpimet.mpg.de/attachments/download/16035/']
|
|
|
-checksums = ['d1c5092167034a48e4b8ada24cf78a1d4b84e364ffbb08b9ca70d13f428f300c']
|
|
|
+checksums = ['48ed65cc5b436753c8e7f9eadd8aa97376698ce230ceafed2a4350a5b1a27148']
|
|
|
|
|
|
-hdf5_ver = '1.8.19'
|
|
|
dependencies = [
|
|
|
- ('HDF5', hdf5_ver),
|
|
|
- ('netCDF', '4.4.1.1', '-HDF5-%s' % hdf5_ver),
|
|
|
+ ('HDF5', '1.10.1'),
|
|
|
+ ('netCDF', '4.6.1'),
|
|
|
('YAXT', '0.5.1'),
|
|
|
- ('grib_api', '1.24.0'),
|
|
|
+ ('ecCodes', '2.8.2'),
|
|
|
]
|
|
|
|
|
|
-configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF --with-grib_api=$EBROOTGRIB_API"
|
|
|
+configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF --with-eccodes=$EBROOTECCODES"
|
|
|
|
|
|
# fix for linking issues with HDF5 libraries for libcdi, should link with both -lnetcdf and -lhdf5_hl -lhdf5
|
|
|
prebuildopts = "find libcdi -name Makefile | xargs sed -i 's/-lnetcdf -lnetcdf/-lnetcdf -lhdf5_hl -lhdf5/g' && "
|
|
|
|
|
|
sanity_check_paths = {
|
|
|
- 'files': ["bin/cdo"],
|
|
|
+ 'files': ['bin/cdo'],
|
|
|
'dirs': [],
|
|
|
}
|
|
|
|