# IT4Innovations
# BS 2023

easyblock = "CMakeMake"

name = "ADIOS2"
version = "2.7.0"

homepage = 'https://github.com/ornladios/ADIOS2/'
description = """This is ADIOS2: The Adaptable Input/Output (I/O) System.
ADIOS2 is developed as part of the United States Department of Energy's Exascale Computing 
Project. It is a framework for scientific data I/O to publish and subscribe to data when 
and where required.
ADIOS2 transports data as groups of self-describing variables and attributes across different 
media types (such as files, wide-area-networks, and remote direct memory access) using a 
common application programming interface for all transport modes. ADIOS2 can be used on 
supercomputers, cloud systems, and personal computers. """

toolchain = {'name': 'gompi', 'version': '2020e'}

source_urls = ['https://github.com/ornladios/ADIOS2/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['4b5df1a1f92d7ff380416dec7511cfcfe3dc44da27e486ed63c3e6cffb173924']

builddependencies = [('CMake', '3.20.1')]

dependencies = [
    ('HDF5', '1.12.0'),
    ('c-blosc', '1.21.0'),
    ('libfabric', '1.12.1'),
]

separate_build_dir = True

sanity_check_paths = {
    'files': ['bin/adios2-config', 'include/adios2.h', 'include/adios2_c.h'],
    'dirs': ['bin', 'include', 'lib64']
}

moduleclass = 'tools'
