1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- ##
- # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
- #
- # Copyright:: Copyright 2014 The Cyprus Institute
- # Authors:: Thekla Loizou <t.loizou@cyi.ac.cy>
- # License:: MIT/GPL
- #
- ##
- easyblock = 'ConfigureMake'
- name = 'ncview'
- version = '2.1.7'
- homepage = 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html'
- description = """Ncview is a visual browser for netCDF format files.
- Typically you would use ncview to get a quick and easy, push-button
- look at your netCDF files. You can view simple movies of the data,
- view along various dimensions, take a look at the actual data values,
- change color maps, invert the data, etc."""
- toolchain = {'name': 'intel', 'version': '2017.02'}
- toolchainopts = {'usempi': True, 'pic': True}
- source_urls = ['ftp://cirrus.ucsd.edu/pub/ncview/']
- sources = [SOURCE_TAR_GZ]
- # specified compiler is hard checked against (full path to) compiler used for netCDF...
- preconfigopts = "CC=$(which $CC) "
- configopts = "--with-udunits2_incdir=$EBROOTUDUNITS/include --with-udunits2_libdir=$EBROOTUDUNITS/lib "
- configopts += "--with-nc-config=$EBROOTNETCDF/bin/nc-config"
- dependencies = [
- ('netCDF', '4.4.1.1'),
- ('netCDF-Fortran', '4.4.4'),
- ('UDUNITS', '2.2.24'),
- ('X11', '20170314'),
- ]
- sanity_check_paths = {
- 'files': ['bin/ncview'],
- 'dirs': [],
- }
- moduleclass = 'vis'
|