ncview-2.1.7-intel-2017.02.eb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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': '2017.02'}
  19. toolchainopts = {'usempi': True, 'pic': True}
  20. source_urls = ['ftp://cirrus.ucsd.edu/pub/ncview/']
  21. sources = [SOURCE_TAR_GZ]
  22. # specified compiler is hard checked against (full path to) compiler used for netCDF...
  23. preconfigopts = "CC=$(which $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.4.1.1'),
  28. ('netCDF-Fortran', '4.4.4'),
  29. ('UDUNITS', '2.2.24'),
  30. ('X11', '20170314'),
  31. ]
  32. sanity_check_paths = {
  33. 'files': ['bin/ncview'],
  34. 'dirs': [],
  35. }
  36. moduleclass = 'vis'