From a65f8407ffae2768971f46ba45f17e6207d66c03 Mon Sep 17 00:00:00 2001 From: David Schneller Date: Tue, 14 Jan 2025 16:42:18 +0100 Subject: [PATCH] Clean up utils ranks --- PUML.h | 4 ++-- PartitionParhip.h | 4 ++-- PartitionPtscotch.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PUML.h b/PUML.h index 5f05d03..109bb48 100644 --- a/PUML.h +++ b/PUML.h @@ -308,7 +308,7 @@ class PUML { logError() << "Each cell must have" << internal::Topology::cellvertices() << "vertices"; } - logInfo(rank) << "Found" << dims[0] << "cells"; + logInfo() << "Found" << dims[0] << "cells"; auto cellDistributor = Distributor(dims[0], procs); // Read the cells @@ -358,7 +358,7 @@ class PUML { logError() << "Each vertex must have xyz coordinate"; } - logInfo(rank) << "Found" << dims[0] << "vertices"; + logInfo() << "Found" << dims[0] << "vertices"; auto vertexDistributor = Distributor(dims[0], procs); // Read the vertices diff --git a/PartitionParhip.h b/PartitionParhip.h index 4904039..896fa66 100644 --- a/PartitionParhip.h +++ b/PartitionParhip.h @@ -57,10 +57,10 @@ class PartitionParhip : public PartitionBase { auto cellCount = graph.localVertexCount(); if (!target.vertexWeightsUniform()) { - logWarning(rank) << "Node weights (target vertex weights) are currently ignored by ParHIP."; + logWarning() << "Node weights (target vertex weights) are currently ignored by ParHIP."; } if (graph.vertexWeights().size() > graph.localVertexCount()) { - logWarning(rank) << "Multiple vertex weights are currently ignored by ParHIP."; + logWarning() << "Multiple vertex weights are currently ignored by ParHIP."; } int edgecut = 0; diff --git a/PartitionPtscotch.h b/PartitionPtscotch.h index bbfa75b..9554aa8 100644 --- a/PartitionPtscotch.h +++ b/PartitionPtscotch.h @@ -50,10 +50,10 @@ class PartitionPtscotch : public PartitionBase { MPI_Comm_rank(graph.comm(), &rank); if (graph.vertexWeights().size() > graph.localVertexCount()) { - logWarning(rank) << "Multiple vertex weights are currently ignored by PTSCOTCH."; + logWarning() << "Multiple vertex weights are currently ignored by PTSCOTCH."; } if (!graph.edgeWeights().empty()) { - logWarning(rank) << "The existence of edge weights may make PTSCOTCH very slow."; + logWarning() << "The existence of edge weights may make PTSCOTCH very slow."; } auto comm = graph.comm();