NCO-5.1.3-foss-2022b.eb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. easyblock = 'ConfigureMake'
  2. name = 'NCO'
  3. version = '5.1.3'
  4. homepage = "https://github.com/nco/nco"
  5. description = """The NCO toolkit manipulates and analyzes data stored in netCDF-accessible formats,
  6. including DAP, HDF4, and HDF5."""
  7. toolchain = {'name': 'foss', 'version': '2022b'}
  8. source_urls = ['https://github.com/nco/nco/archive/']
  9. sources = ['%(version)s.tar.gz']
  10. checksums = ['f6766627dab3f067c88f2cd713e3058c324ea4f900fabf9755bdd8918c32de7b']
  11. builddependencies = [
  12. ('Bison', '3.8.2'),
  13. ('flex', '2.6.4'),
  14. ]
  15. dependencies = [
  16. ('UDUNITS', '2.2.28'),
  17. ('expat', '2.4.9'),
  18. ('ANTLR', '2.7.7', '-Java-11'),
  19. ('libdap', '3.20.11'),
  20. ('GSL', '2.7'),
  21. ('netCDF', '4.9.0'),
  22. ('ESMF', '8.3.0'), # ncremap needs ESMF_RegridWeightGen
  23. ]
  24. configopts = "--enable-nco_cplusplus"
  25. sanity_check_paths = {
  26. 'files': ['bin/nc%s' % x for x in ('ap2', 'atted', 'bo', 'diff', 'ea', 'ecat', 'es',
  27. 'flint', 'ks', 'pdq', 'ra', 'rcat', 'rename', 'wa')] +
  28. ['lib/libnco.a', 'lib/libnco.%s' % SHLIB_EXT, 'lib/libnco_c++.a', 'lib/libnco_c++.%s' % SHLIB_EXT],
  29. 'dirs': ['include'],
  30. }
  31. sanity_check_commands = [
  32. "ncks -O -7 --cnk_dmn time,10 "
  33. "%(builddir)s/%(namelower)s-%(version)s/data/in.nc %(builddir)s/%(namelower)s-%(version)s/data/in4.cdl"
  34. ]
  35. moduleclass = 'tools'