ncview-2.1.11-gompi-2025b.eb 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ##
  2. # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
  3. ##
  4. easyblock = 'ConfigureMake'
  5. name = 'ncview'
  6. version = '2.1.11'
  7. homepage = 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html'
  8. description = """Ncview is a visual browser for netCDF format files.
  9. Typically you would use ncview to get a quick and easy, push-button
  10. look at your netCDF files. You can view simple movies of the data,
  11. view along various dimensions, take a look at the actual data values,
  12. change color maps, invert the data, etc."""
  13. toolchain = {'name': 'gompi', 'version': '2025b'}
  14. toolchainopts = {'usempi': True, 'pic': True}
  15. source_urls = ['https://cirrus.ucsd.edu/~pierce/ncview/']
  16. sources = [SOURCE_TAR_GZ]
  17. patches = ['ncview-2.1.11_fix_data_cast_error.patch']
  18. checksums = [
  19. '597cfddf9c2d7993e9b0b86bca1b73839567ee9116ee33f6d750a449b5033d91', # ncview-2.1.11.tar.gz
  20. 'a2b8346600da7dfe3326cf1ff4f95e474a0878ab7ae326a623ba5f491ee37387', # ncview-2.1.11_fix_data_cast_error.patch
  21. ]
  22. # specified compiler is hard checked against (full path to) compiler used for netCDF...
  23. preconfigopts = "CC=$(nc-config --cc) "
  24. configopts = "--with-udunits2_incdir=$EBROOTUDUNITS/include --with-udunits2_libdir=$EBROOTUDUNITS/lib "
  25. configopts += "--with-nc-config=$EBROOTNETCDF/bin/nc-config"
  26. dependencies = [
  27. ('netCDF', '4.9.3'),
  28. ('netCDF-Fortran', '4.6.2'),
  29. ('UDUNITS', '2.2.28'),
  30. ('X11', '20250608'),
  31. ('libpng', '1.6.50'),
  32. ('zlib', '1.3.1'),
  33. ]
  34. sanity_check_paths = {
  35. 'files': ['bin/ncview'],
  36. 'dirs': [],
  37. }
  38. moduleclass = 'vis'