Skip to content

Commit 8d71374

Browse files
committed
Do not use MPI until ensure that PETSC was loaded during tests
1 parent 12bad3d commit 8d71374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using GridapPETSc
2-
using MPI
32
using Test
43

54
# Skip tests if library was not properly loaded
65
if GridapPETSc.PETSC_LOADED[]
6+
using MPI
77
if !MPI.Initialized()
88
MPI.Init()
99
end

0 commit comments

Comments
 (0)