From 7f6a46b2900b1bedeea924fae366c7209516f262 Mon Sep 17 00:00:00 2001 From: JOAN VINYALS YLLA CATALA Date: Tue, 22 Oct 2024 11:58:14 +0200 Subject: [PATCH] Fix TALP Tree use of MPI instead of PMPI There was still one use of MPI_Allgather, and this commit changes it to PMPI_Allgather. --- src/backends/dlb_talp_tree/dlb_talp_tree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/dlb_talp_tree/dlb_talp_tree.cpp b/src/backends/dlb_talp_tree/dlb_talp_tree.cpp index 50802a7..854ce39 100644 --- a/src/backends/dlb_talp_tree/dlb_talp_tree.cpp +++ b/src/backends/dlb_talp_tree/dlb_talp_tree.cpp @@ -121,8 +121,8 @@ void DLBTalpTreeStrategy::Finalize() noexcept { counts.resize(mpi_size); displs.resize(mpi_size); - MPI_Allgather(&num_regions, 1, MPI_INT, counts.data(), 1, MPI_INT, - MPI_COMM_WORLD); + PMPI_Allgather(&num_regions, 1, MPI_INT, counts.data(), 1, MPI_INT, + MPI_COMM_WORLD); int num_all_regions = 0; for (int i = 0; i < counts.size(); i++) { -- GitLab