Skip to content

Commit

Permalink
Init cooperative wait test for multiple threads
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
lcw committed Sep 14, 2023
1 parent a57528f commit 1f61a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cooperative_wait.jl
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 1f61a64

Please sign in to comment.