easyblock = 'ConfigureMake'

name = 'ncview'
version = '2.1.2'

homepage = 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html'
description = """Ncview is a visual browser for netCDF format files."""

toolchain = {'name': 'ictce', 'version': '4.1.13'}
toolchainopts = {'usempi': True}

source_urls = ['ftp://cirrus.ucsd.edu/pub/ncview/']
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('netCDF', '4.2.1.1'),
    ('HDF5', '1.8.10', '-gpfs'),
    ('UDUNITS', '2.1.24'),
]

sanity_check_paths = {
    'files': ['bin/ncview'],
    'dirs': [],
}

moduleclass = 'vis'
