CDO-1.9.5-foss-2018b.eb 958 B

1234567891011121314151617181920212223242526272829303132
  1. easyblock = 'ConfigureMake'
  2. name = 'CDO'
  3. version = '1.9.5'
  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': 'foss', 'version': '2018b'}
  7. toolchainopts = {'pic': True, 'usempi': True}
  8. source_urls = ['https://code.mpimet.mpg.de/attachments/download/18264/']
  9. sources = [SOURCELOWER_TAR_GZ]
  10. dependencies = [
  11. ('HDF5', '1.10.2'),
  12. ('netCDF', '4.6.1'),
  13. ('YAXT', '0.6.0'),
  14. ('ecCodes', '2.8.2'),
  15. ]
  16. configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF --with-eccodes=$EBROOTECCODES"
  17. # fix for linking issues with HDF5 libraries for libcdi, should link with both -lnetcdf and -lhdf5_hl -lhdf5
  18. prebuildopts = "find libcdi -name Makefile | xargs sed -i 's/-lnetcdf -lnetcdf/-lnetcdf -lhdf5_hl -lhdf5/g' && "
  19. sanity_check_paths = {
  20. 'files': ['bin/cdo'],
  21. 'dirs': [],
  22. }
  23. moduleclass = 'data'