Skip to content

Commit

Permalink
Skip threads tests also on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Nov 3, 2023
1 parent fef360f commit 60ce7e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ testfiles = sort(filter(istest, readdir(testdir)))
# Some command as the others, but always use a single process
run(cmd(1))
elseif f == "test_threads.jl"
if MPI.MPI_LIBRARY == "IntelMPI" && MPI.MPI_LIBRARY_VERSION < v"2020"
# Legacy Intel MPI (before 2020) crashes threads tests:
# <https://github.com/JuliaParallel/MPI.jl/issues/725>.
# Legacy Intel MPI (before 2020) crashes threads tests:
# <https://github.com/JuliaParallel/MPI.jl/issues/725>. These tests fail also on
# Windows: <https://github.com/JuliaParallel/MPI.jl/issues/711>
if (MPI.MPI_LIBRARY == "IntelMPI" && MPI.MPI_LIBRARY_VERSION < v"2020") || Sys.iswindows()
@test_broken false
else
withenv("JULIA_NUM_THREADS" => "4") do
Expand Down

0 comments on commit 60ce7e4

Please sign in to comment.