CDO-1.9.7.1-gompi-2019a.eb 961 B

1234567891011121314151617181920212223242526272829303132
  1. easyblock = 'ConfigureMake'
  2. name = 'CDO'
  3. version = '1.9.7.1'
  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': '2019a'}
  7. toolchainopts = {'pic': True, 'usempi': True}
  8. source_urls = ['https://code.mpimet.mpg.de/attachments/download/20124']
  9. sources = [SOURCELOWER_TAR_GZ]
  10. dependencies = [
  11. ('HDF5', '1.10.5'),
  12. ('netCDF', '4.6.2'),
  13. ('YAXT', '0.6.1'),
  14. ('ecCodes', '2.12.5'),
  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'