Openpmd-api: source ID changes in parallel I/O test

Created on 4 Jan 2021  路  1Comment  路  Source: openPMD/openPMD-api

Describe the bug

On conda-forge, I see the following assert in ParallelIOTests:

$SRC_DIR/test/ParallelIOTest.cpp:346: FAILED:
  REQUIRE( chunk.offset == Offset{ static_cast< unsigned >( chunk.sourceID ), 0 } )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ParallelIOTests is a Catch v2.6.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
available_chunks_test
-------------------------------------------------------------------------------
$SRC_DIR/test/ParallelIOTest.cpp:358
...............................................................................

$SRC_DIR/test/ParallelIOTest.cpp:346: FAILED:
  REQUIRE( chunk.offset == Offset{ static_cast< unsigned >( chunk.sourceID ), 0 } )
with expansion:
  { 0, 0 } == { 1, 0 }

with expansion:
  { 0, 0 } == { 1, 0 }

To Reproduce
This occurs on macOS with OpenMPI. MPICH is unaffected.

Just running the tests as usual with ctest.

See: https://github.com/conda-forge/openpmd-api-feedstock/pull/59

Expected behavior
Should not fail or not check an attribute that is runtime dependent.

Software Environment

  • version of openPMD-api: 0.13.0
  • installed openPMD-api via: conda-forge (curing release workflow)
  • operating system: macOS 10.15 with Clang 11.0.0 (from LLVM, not AppleClang)
  • machine: Azure Pipelines
  • name and version of Python implementation: CPython 3.9 (all affected)
  • version of HDF5: 1.10.6
  • version of ADIOS1: 1.13.1
  • version of ADIOS2: 2.6.0
  • name and version of MPI: OpenMPI 4.0.5

Additional context
Occurred during release of openPMD-api 0.13.0 on conda-forge.

MPI affects latest release bug tests

Most helpful comment

Can you check whether #871 fixes this? @ax3l

>All comments

Can you check whether #871 fixes this? @ax3l

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pordyna picture pordyna  路  5Comments

KseniaBastrakova picture KseniaBastrakova  路  6Comments

ax3l picture ax3l  路  3Comments

pordyna picture pordyna  路  4Comments

hightower8083 picture hightower8083  路  6Comments