From 98a99217f228c14c1c7ecbf2cb5b4f737c0976cc Mon Sep 17 00:00:00 2001 From: Lucas C Wilcox Date: Wed, 13 Sep 2023 16:27:51 -0700 Subject: [PATCH] Init cooperative wait test for multiple threads In the cooperative wait test multiple threads are calling MPI functions in a non-serialized way. Thus, MPI needs to be initialized with `threadlevel=:multiple`. --- test/test_cooperative_wait.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_cooperative_wait.jl b/test/test_cooperative_wait.jl index 3219305ac..181b1f544 100644 --- a/test/test_cooperative_wait.jl +++ b/test/test_cooperative_wait.jl @@ -1,7 +1,7 @@ # tests for the various kinds of waits include("common.jl") -MPI.Init() +MPI.Init(threadlevel=:multiple) myrank = MPI.Comm_rank(MPI.COMM_WORLD) commsize = MPI.Comm_rank(MPI.COMM_WORLD)