easyblock = 'ConfigureMake'

name = 'PnetCDF'
version = '1.8.1'

homepage = 'https://trac.mcs.anl.gov/projects/parallel-netcdf'
description = """Parallel netCDF: A Parallel I/O Library for NetCDF File Access"""

toolchain = {'name': 'intel', 'version': '2017a'}

sources = ['parallel-netcdf-%(version)s.tar.gz']
source_urls = ['http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/']
checksums = ['8d7d4c9c7b39bb1cbbcf087e0d726551c50f0cc30d44aed3df63daf3772c9043']

sanity_check_paths = {
    'files': ['bin/pnetcdf_version'],
    'dirs': ['include', 'lib'],
}

modextravars = {
    'PNETCDF': '%(installdir)s',
}

moduleclass = 'data'
