# IT4Innovations 2022
# JK

name = 'HDF5'
version = '1.12.1'

homepage = 'https://portal.hdfgroup.org/display/support'
description = """HDF5 is a data model, library, and file format for storing and managing data.
 It supports an unlimited variety of datatypes, and is designed for flexible
 and efficient I/O and for high volume and complex data."""

toolchain = {'name': 'NVHPC', 'version': '21.9'}
toolchainopts = {'pic': True}

source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['79c66ff67e666665369396e9c90b32e238e501f345afd2234186bfb8331081ca']

configopts = '--enable-fortran --enable-fortran 2003 --enable-cxx --enable-parallel --enable-shared'

dependencies = [
    ('OpenMPI', '4.0.7', '-CUDA-11.4.1'),
    ('zlib', '1.2.11', '', ('GCCcore', '10.2.0')),
    ('Szip', '2.1.1', '', ('GCCcore', '10.2.0')),
]

moduleclass = 'data'
