Answering to myself:

I added


exts_list = [
    ('hdf5plugin', version, {
        'source_tmpl': 'hdf5plugin-%(version)s-centos8_64.tar.gz',
        'source_urls': 
['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-%(version)s/plugins/'],
        'checksums': 
['036e3e8998b6c3dd9e6b5ba598e3aea2cd2f7ffe4eda4386f38fe35545091843'],
    }),
]

And it works. I trusted them to have done it properly before asking me

(there’s more to be done afterwards, but that’s the tldr)

> On 4. Sep 2023, at 13:06, Strube, Alexandre <[email protected]> wrote:
> 
> Hi, a colleague is trying to add the hdf5 plugins to HDF5.
> 
> First, they tried adding an extension on hdf5, which fails, as there’s no 
> extension class on hdf5 easyblock.
> 
> So they created a bundle (see attachment).
> 
> The error that comes up is this:
> 
> == 2023-09-04 13:01:12,174 build_log.py:171 ERROR EasyBuild crashed with an 
> error (at easybuild/base/exceptions.py:126 in __init__): Failed to import 
> EB_hdf5 easyblock: Failed to import EB_hdf5 from easybuild.easyblocks.hdf5: 
> module 'easybuild.easyblocks.hdf5' has no attribute 'EB_hdf5' (at 
> easybuild/framework/easyconfig/easyconfig.py:1937 in get_easyblock_class)
> ERROR: Failed to get application instance for HDF5 (easyblock: Bundle): 
> Failed to import EB_hdf5 easyblock: Failed to import EB_hdf5 from 
> easybuild.easyblocks.hdf5: module 'easybuild.easyblocks.hdf5' has no 
> attribute 'EB_hdf5'
> 
> 
> I think that the hdf5 plugins are a welcome addition to hdf5, but I am a bit 
> lost here. Any hints?
> 
> 
> <HDF5-1.14.2-GCCcore-12.3.0-serial-bundle.eb>

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to