From dd6722415532118e3df48a8afab43847682a0be4 Mon Sep 17 00:00:00 2001 From: Jiakun Yan Date: Thu, 14 Dec 2023 14:42:57 -0600 Subject: [PATCH] fix the affinity setting bug when using LCI pp and multiple localities per node --- libs/full/parcelport_lci/src/parcelport_lci.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/full/parcelport_lci/src/parcelport_lci.cpp b/libs/full/parcelport_lci/src/parcelport_lci.cpp index c6d47958f928..c9ea35b492fc 100644 --- a/libs/full/parcelport_lci/src/parcelport_lci.cpp +++ b/libs/full/parcelport_lci/src/parcelport_lci.cpp @@ -118,9 +118,8 @@ namespace hpx::parcelset::policies::lci { /// Return the name of this locality std::string parcelport::get_locality_name() const { - // hostname-rank - return util::lci_environment::get_processor_name() + "-" + - std::to_string(util::lci_environment::rank()); + // hostname + return util::lci_environment::get_processor_name(); } std::shared_ptr parcelport::create_connection(