ncview-2.1.7-intel-2020b.eb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ##
  2. # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
  3. #
  4. # Copyright:: Copyright 2014 The Cyprus Institute
  5. # Authors:: Thekla Loizou <t.loizou@cyi.ac.cy>
  6. # License:: MIT/GPL
  7. #
  8. ##
  9. easyblock = 'ConfigureMake'
  10. name = 'ncview'
  11. version = '2.1.7'
  12. homepage = 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html'
  13. description = """Ncview is a visual browser for netCDF format files.
  14. Typically you would use ncview to get a quick and easy, push-button
  15. look at your netCDF files. You can view simple movies of the data,
  16. view along various dimensions, take a look at the actual data values,
  17. change color maps, invert the data, etc."""
  18. toolchain = {'name': 'intel', 'version': '2020b'}
  19. toolchainopts = {'usempi': True, 'pic': True}
  20. source_urls = ['ftp://cirrus.ucsd.edu/pub/ncview/']
  21. sources = [SOURCE_TAR_GZ]
  22. checksums = ['a14c2dddac0fc78dad9e4e7e35e2119562589738f4ded55ff6e0eca04d682c82']
  23. # specified compiler is hard checked against (full path to) compiler used for netCDF...
  24. preconfigopts = "CC=$(command -v $CC) "
  25. configopts = "--with-udunits2_incdir=$EBROOTUDUNITS/include --with-udunits2_libdir=$EBROOTUDUNITS/lib "
  26. configopts += "--with-nc-config=$EBROOTNETCDF/bin/nc-config"
  27. dependencies = [
  28. ('netCDF', '4.7.4'),
  29. ('netCDF-Fortran', '4.5.3'),
  30. ('UDUNITS', '2.2.26'),
  31. ('X11', '20201008'),
  32. ]
  33. sanity_check_paths = {
  34. 'files': ['bin/ncview'],
  35. 'dirs': [],
  36. }
  37. moduleclass = 'vis'