Skip to content

Commit 1f61a64

Browse files
committed
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`.
1 parent a57528f commit 1f61a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_cooperative_wait.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# tests for the various kinds of waits
22
include("common.jl")
33

4-
MPI.Init()
4+
MPI.Init(threadlevel=:multiple)
55

66
myrank = MPI.Comm_rank(MPI.COMM_WORLD)
77
commsize = MPI.Comm_rank(MPI.COMM_WORLD)

0 commit comments

Comments
 (0)