# IT4Innovations
# LK 2024

name = 'HDF5'
version = '1.14.5'

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': 'gompi', 'version': '2024it4i'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://github.com/HDFGroup/hdf5/archive/refs/tags/']
sources = ['hdf5_1.14.5.tar.gz']
checksums = ['c83996dc79080a34e7b5244a1d5ea076abfd642ec12d7c25388e2fdd81d26350']

import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
    toolchainopts = {'pic': True, 'usempi': True, 'optarch': 'march=core-avx2'}
else:
    toolchainopts = {'pic': True, 'usempi': True}

dependencies = [
    ('zlib', '1.3.1'),
    ('Szip', '2.1.1'),
]

moduleclass = 'data'
