You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution should be as easy as setting the default value of threadlevel in tests/common.jl and always initialise with MPI.Init(; threadlevel) in all tests, the only question is how to let the user choose the threadlevel for the tests. Another environment variable?
Alternatively, have a smarter threadlevel default value, but can we query whether the MPI library supports threading before Init?
The text was updated successfully, but these errors were encountered:
Alternatively, have a smarter threadlevel default value, but can we query whether the MPI library supports threading before Init?
As far as I know, no. MPI_Query_thread only returns the provided threadlevel after initialization, thus it does not help here. Further, threading support is both implementation- and system-dependent, thus it is not possible to store it as a constant either.
MVAPICH on Ookami doesn't support threading, but we default
MPI.Init
tothreadlevel=:serialized
MPI.jl/src/environment.jl
Line 81 in a179cf8
and this creates a lot of noise when running the tests because each test would print a series of
The solution should be as easy as setting the default value of
threadlevel
intests/common.jl
and always initialise withMPI.Init(; threadlevel)
in all tests, the only question is how to let the user choose the threadlevel for the tests. Another environment variable?Alternatively, have a smarter
threadlevel
default value, but can we query whether the MPI library supports threading beforeInit
?The text was updated successfully, but these errors were encountered: