Skip to content

Build error with parallel 2.0.0 #144

@jrydh

Description

@jrydh

Thank you for the earlier correction. Another error has turned up when parallel HDF5 is enabled:

error[E0425]: cannot find value `H5FD_MPIO_id` in module `hdf5_sys::h5p`
   --> [...]\hdf5-metno-0.12.1\src\globals.rs:364:74
    |
364 | pub static H5FD_MPIO: LazyLock<hid_t> = LazyLock::new(|| *hdf5_sys::h5p::H5FD_MPIO_id);
    |                                                                          ^^^^^^^^^^^^ not found in `hdf5_sys::h5p`

Perhaps this is meant to be h5fd::H5FD_MPIO? Although if so, it seems there is a type mismatch on Windows (usize vs i64) due to this "dllimport hack".

I suppose you don't have this configuration in CI, but I can test using a pre-release branch if you like, so that you don't have to make repeated new releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions