ncview-2.1.8-gompi-2022b.eb 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.8'
  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': '2022b'}
  14. toolchainopts = {'usempi': True, 'pic': True}
  15. source_urls = ['ftp://cirrus.ucsd.edu/pub/ncview/']
  16. sources = [SOURCE_TAR_GZ]
  17. checksums = ['e8badc507b9b774801288d1c2d59eb79ab31b004df4858d0674ed0d87dfc91be']
  18. # specified compiler is hard checked against (full path to) compiler used for netCDF...
  19. preconfigopts = "CC=$(nc-config --cc) "
  20. configopts = "--with-udunits2_incdir=$EBROOTUDUNITS/include --with-udunits2_libdir=$EBROOTUDUNITS/lib "
  21. configopts += "--with-nc-config=$EBROOTNETCDF/bin/nc-config"
  22. dependencies = [
  23. ('netCDF', '4.9.0'),
  24. ('netCDF-Fortran', '4.6.0'),
  25. ('UDUNITS', '2.2.28'),
  26. ('X11', '20221110'),
  27. ('libpng', '1.6.38'),
  28. ('zlib', '1.2.12'),
  29. ]
  30. sanity_check_paths = {
  31. 'files': ['bin/ncview'],
  32. 'dirs': [],
  33. }
  34. moduleclass = 'vis'