From 53e9cc60d3acd22dcb9f60d767df876fe783bb75 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 21 Feb 2023 15:12:43 +0100 Subject: [PATCH] [MeL/IO/MPI_IO] Rank output already in spdlog For the parallel execution the spdlog format specifier already contains the rank almost always --- MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp index 5e044a4e78b..d9503f2d7dd 100644 --- a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp +++ b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp @@ -279,9 +279,8 @@ void NodePartitionedMeshReader::readProperties( "Could not read the partition meta data for the mpi process {:d}", _mpi_rank); } - DBUG("[{:d}] offset in the PropertyVector: {:d}", _mpi_rank, pvpmd->offset); - DBUG("[{:d}] {:d} tuples in partition.", _mpi_rank, - pvpmd->number_of_tuples); + DBUG("offset in the PropertyVector: {:d}", pvpmd->offset); + DBUG("{:d} tuples in partition.", pvpmd->number_of_tuples); is.close(); const std::string fname_val = file_name_base + "_partitioned_" + item_type + @@ -311,12 +310,10 @@ void NodePartitionedMeshReader::readDomainSpecificPartOfPropertyVectors( std::size_t const number_of_properties = vec_pvmd.size(); for (std::size_t i(0); i < number_of_properties; ++i) { - DBUG( - "[{:d}] global offset: {:d}, offset within the PropertyVector: " - "{:d}.", - _mpi_rank, global_offset, - global_offset + pvpmd.offset * vec_pvmd[i]->number_of_components * - vec_pvmd[i]->data_type_size_in_bytes); + DBUG("global offset: {:d}, offset within the PropertyVector: {:d}.", + global_offset, + global_offset + pvpmd.offset * vec_pvmd[i]->number_of_components * + vec_pvmd[i]->data_type_size_in_bytes); // Special field data such as OGS_VERSION, IntegrationPointMetaData, // etc., which are not "real" integration points, are copied "as is" -- GitLab