Skip to content

Commit

Permalink
Fix parallel examples
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Dec 2, 2024
1 parent f4586f0 commit 4e27397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/parallel_hdf5_collective_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int main(int argc, char** argv) {
std::vector<size_t> offset{std::size_t(mpi_rank), 0ul};
std::vector<size_t> count{1ul, 2ul};

dataset.select(offset, count).write(data, xfer_props);
dataset.select(offset, count).squeezeMemSpace({0}).write(data, xfer_props);
check_collective_io(xfer_props);

// Let's ensure that everything has been written do disk.
Expand Down

0 comments on commit 4e27397

Please sign in to comment.