Skip to content

Compilation issue with HDF5 1.12.1 #2848

Closed
@ax3l

Description

Describe the bug
With conda-forge migrating over to HDF5 1.12.1, I see compilation issues with ADIOS2, v2.7.1.

To Reproduce
conda-forge/adios2-feedstock#33

Expected behavior
Should compile.

Desktop (please complete the following information):

  • OS/Platform: Microsoft Windows Server 2016, 10.0.14393, Datacenter
  • Build: MSVC 19.16.27045.0, build type: shared

Additional context
Error message:

%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(96): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(123): error C2131: expression did not evaluate to a constant
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(123): note: failure was caused by a read of a variable outside its lifetime
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(123): note: see usage of 'this'
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(124): error C2131: expression did not evaluate to a constant
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(124): note: failure was caused by a read of a variable outside its lifetime
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(124): note: see usage of 'this'
%SRC_DIR%\source\adios2\engine\mixer\HDFMixerWriter.cpp(131): error C2672: 'adios2::helper::Comm::Gather': no matching overloaded function found

cc @guj @pnorbert

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