CDO-1.8.1-intel-2018.eb 946 B

12345678910111213141516171819202122232425262728293031
  1. easyblock = 'ConfigureMake'
  2. name = 'CDO'
  3. version = '1.8.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': 'intel', 'version': '2018'}
  7. toolchainopts = {'pic': True, 'usempi': True}
  8. sources = [SOURCELOWER_TAR_GZ]
  9. source_urls = ['https://code.zmaw.de/attachments/download/14271/']
  10. checksums = ['54498438de788f245d47499efad7966c']
  11. dependencies = [
  12. ('HDF5', '1.8.18'),
  13. ('netCDF', '4.4.1.1'),
  14. ('YAXT', '0.5.1'),
  15. ]
  16. configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF"
  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'