ncview-2.1.7-foss-2017b.eb 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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': 'foss', 'version': '2017b'}
  19. toolchainopts = {'opt': True, 'pic': True, 'usempi': 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=$(which $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.6.1'),
  29. ('netCDF-Fortran', '4.4.5'),
  30. ('UDUNITS', '2.2.26'),
  31. ('X11', '20180131'),
  32. ('zlib', '1.2.11'),
  33. ]
  34. sanity_check_paths = {
  35. 'files': ['bin/ncview'],
  36. 'dirs': [],
  37. }
  38. moduleclass = 'vis'