CDO-1.9.2-intel-2018.eb 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. easyblock = 'ConfigureMake'
  2. name = 'CDO'
  3. version = '1.9.2'
  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.mpimet.mpg.de/attachments/download/16035/']
  10. checksums = ['d1c5092167034a48e4b8ada24cf78a1d4b84e364ffbb08b9ca70d13f428f300c']
  11. dependencies = [
  12. ('HDF5', '1.10.1'),
  13. ('netCDF', '4.6.0'),
  14. ('YAXT', '0.5.1'),
  15. ('grib_api', '1.26.1'),
  16. ]
  17. configopts = "--with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF --with-grib_api=$EBROOTGRIB_API"
  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'