CDO-1.9.5-foss-2017b.eb 1.1 KB

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