diff --git a/include/openPMD/RecordComponent.tpp b/include/openPMD/RecordComponent.tpp index a39325540e..db6f68636c 100644 --- a/include/openPMD/RecordComponent.tpp +++ b/include/openPMD/RecordComponent.tpp @@ -135,9 +135,11 @@ RecordComponent::loadChunk(std::shared_ptr data, Offset o, Extent e) if (extent.size() != dim || offset.size() != dim) { std::ostringstream oss; - oss << "Dimensionality of chunk (" << "offset=" << offset.size() - << "D, " << "extent=" << extent.size() << "D) " - << "and record component (" << int(dim) << "D) " << "do not match."; + oss << "Dimensionality of chunk (" + << "offset=" << offset.size() << "D, " + << "extent=" << extent.size() << "D) " + << "and record component (" << int(dim) << "D) " + << "do not match."; throw std::runtime_error(oss.str()); } Extent dse = getExtent(); diff --git a/src/RecordComponent.cpp b/src/RecordComponent.cpp index d8ebda0113..0011363bc4 100644 --- a/src/RecordComponent.cpp +++ b/src/RecordComponent.cpp @@ -499,8 +499,8 @@ void RecordComponent::verifyChunk( { std::ostringstream oss; oss << "Joined array: Must specify an empty offset (given: " - << "offset=" << o.size() << "D, " << "extent=" << e.size() - << "D)."; + << "offset=" << o.size() << "D, " + << "extent=" << e.size() << "D)."; throw std::runtime_error(oss.str()); } if (e.size() != dim) @@ -508,8 +508,8 @@ void RecordComponent::verifyChunk( std::ostringstream oss; oss << "Joined array: Dimensionalities of chunk extent and dataset " "extent must be equivalent (given: " - << "offset=" << o.size() << "D, " << "extent=" << e.size() - << "D)."; + << "offset=" << o.size() << "D, " + << "extent=" << e.size() << "D)."; throw std::runtime_error(oss.str()); } for (size_t i = 0; i < dim; ++i) @@ -529,9 +529,11 @@ void RecordComponent::verifyChunk( if (e.size() != dim || o.size() != dim) { std::ostringstream oss; - oss << "Dimensionality of chunk (" << "offset=" << o.size() << "D, " - << "extent=" << e.size() << "D) " << "and record component (" - << int(dim) << "D) " << "do not match."; + oss << "Dimensionality of chunk (" + << "offset=" << o.size() << "D, " + << "extent=" << e.size() << "D) " + << "and record component (" << int(dim) << "D) " + << "do not match."; throw std::runtime_error(oss.str()); } for (uint8_t i = 0; i < dim; ++i) diff --git a/test/ParallelIOTest.cpp b/test/ParallelIOTest.cpp index 72c376cb63..9f3ae43ee2 100644 --- a/test/ParallelIOTest.cpp +++ b/test/ParallelIOTest.cpp @@ -414,7 +414,8 @@ void available_chunks_test(std::string const &file_ending) "parameters": { "NumAggregators":)END" - << "\"" << std::to_string(mpi_size) << "\"" << R"END( + << "\"" << std::to_string(mpi_size) << "\"" + << R"END( } } } @@ -956,7 +957,8 @@ void hipace_like_write(std::string const &file_ending) int const step = first_rank_step - my_first_step; if (verbose) - std::cout << "[" << i_mpi_rank << "] " << "step: " << step + std::cout << "[" << i_mpi_rank << "] " + << "step: " << step << " | first_ranks_step: " << first_rank_step << std::endl; // do we start writing to a new step?