From 424316112454f3a9d27344874ece40f5ed433d70 Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Mon, 4 Sep 2023 16:46:49 -0400 Subject: [PATCH] MPI: Add mpi_init_thread in test --- testing/adios2/engine/staging-common/TestOnDemandMPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/adios2/engine/staging-common/TestOnDemandMPI.cpp b/testing/adios2/engine/staging-common/TestOnDemandMPI.cpp index 83c8c6efc3..3f88da6ead 100644 --- a/testing/adios2/engine/staging-common/TestOnDemandMPI.cpp +++ b/testing/adios2/engine/staging-common/TestOnDemandMPI.cpp @@ -139,7 +139,7 @@ TEST_F(TestOnDemandMPI, ADIOS2OnDemandMPI) int main(int argc, char **argv) { - MPI_Init(nullptr, nullptr); + MPI_Init_thread(NULL, NULL, MPI_THREAD_MULTIPLE, NULL); int result; ::testing::InitGoogleTest(&argc, argv);