From 8206853ec7fb1c12a181c46200a7ad9992323eee Mon Sep 17 00:00:00 2001 From: "Dreyer, Lukas" Date: Tue, 4 Jul 2023 13:05:31 +0200 Subject: [PATCH] adapt MPI_INT to sc_MPI_INT to enable serial build --- src/t8_forest/t8_forest_cxx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t8_forest/t8_forest_cxx.cxx b/src/t8_forest/t8_forest_cxx.cxx index 89603f19ab..3664d8fe45 100644 --- a/src/t8_forest/t8_forest_cxx.cxx +++ b/src/t8_forest/t8_forest_cxx.cxx @@ -330,7 +330,7 @@ t8_forest_no_overlap (t8_forest_t forest) int has_overlap_local_global; int mpiret = sc_MPI_Allreduce (&has_overlap_local, &has_overlap_local_global, - 1, MPI_INT, sc_MPI_MAX, forest->mpicomm); + 1, sc_MPI_INT, sc_MPI_MAX, forest->mpicomm); SC_CHECK_MPI (mpiret); T8_ASSERT (has_overlap_local_global == 0 || has_overlap_local_global == 1);