CDO-1.9.8-gompi-2019b.eb 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. easyblock = 'ConfigureMake'
  2. name = 'CDO'
  3. version = '1.9.8'
  4. homepage = 'https://code.zmaw.de/projects/cdo'
  5. description = """CDO is a collection of command line Operators to manipulate and analyse Climate and NWP model Data."""
  6. toolchain = {'name': 'gompi', 'version': '2019b'}
  7. toolchainopts = {'pic': True, 'usempi': True}
  8. source_urls = ['https://code.mpimet.mpg.de/attachments/download/20826/']
  9. sources = [SOURCELOWER_TAR_GZ]
  10. checksums = ['f2660ac6f8bf3fa071cf2a3a196b3ec75ad007deb3a782455e80f28680c5252a']
  11. dependencies = [
  12. ('HDF5', '1.10.5'),
  13. ('netCDF', '4.7.1'),
  14. ('YAXT', '0.6.2'),
  15. ('ecCodes', '2.15.0'),
  16. ]
  17. configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF --with-eccodes=$EBROOTECCODES"
  18. # fix for linking issues with HDF5 libraries for libcdi, should link with both -lnetcdf and -lhdf5_hl -lhdf5
  19. prebuildopts = "find libcdi -name Makefile | xargs sed -i 's/-lnetcdf -lnetcdf/-lnetcdf -lhdf5_hl -lhdf5/g' && "
  20. sanity_check_paths = {
  21. 'files': ['bin/cdo'],
  22. 'dirs': [],
  23. }
  24. moduleclass = 'data'