netCDF-4.9.0-iimpi-2022.06.eb 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name = 'netCDF'
  2. version = '4.9.0'
  3. homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
  4. description = """NetCDF (network Common Data Form) is a set of software libraries
  5. and machine-independent data formats that support the creation, access, and sharing of array-oriented
  6. scientific data."""
  7. toolchain = {'name': 'iimpi', 'version': '2022.06'}
  8. toolchainopts = {'pic': True, 'usempi': True}
  9. source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
  10. sources = ['v%(version)s.tar.gz']
  11. patches = [
  12. 'netCDF-%(version)s_fix-lib-name.patch',
  13. 'netCDF-%(version)s_fix-linking-errors.patch',
  14. 'netCDF-%(version)s_skip-nasa-test.patch',
  15. ]
  16. checksums = [
  17. '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
  18. 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch
  19. '2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch
  20. '19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch
  21. ]
  22. builddependencies = [
  23. ('Autotools', '20220317'),
  24. ('CMake', '3.23.1'),
  25. ('Doxygen', '1.9.4'),
  26. ]
  27. dependencies = [
  28. ('HDF5', '1.12.2'),
  29. ('cURL', '7.83.0'),
  30. ('Szip', '2.1.1'),
  31. ('zstd', '1.5.2'),
  32. ('bzip2', '1.0.8'),
  33. ('libxml2', '2.9.13'),
  34. ]
  35. # make sure both static and shared libs are built
  36. # and disable "remote" tests that access a unreliable external test server over internet
  37. configopts = [
  38. "-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF",
  39. "-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON",
  40. ]
  41. # some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
  42. pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "
  43. runtest = 'test'
  44. moduleclass = 'data'