Skip to content

Commit

Permalink
fix the affinity setting bug when using LCI pp and multiple localitie…
Browse files Browse the repository at this point in the history
…s per node
  • Loading branch information
JiakunYan committed Dec 14, 2023
1 parent 1cf717d commit dd67224
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libs/full/parcelport_lci/src/parcelport_lci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<sender_connection_base> parcelport::create_connection(
Expand Down

0 comments on commit dd67224

Please sign in to comment.