Skip to content

Commit ac055d3

Browse files
committed
Moar debug
1 parent 38800f4 commit ac055d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_error.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
using MPI
22

3-
@show get(ENV, "MPI_LOCALNRANKS", nothing)
4-
@show get(ENV, "OMPI_COMM_WORLD_SIZE", nothing)
5-
63
function main()
74
MPI.Init()
85
comm = MPI.COMM_WORLD
96
rank = MPI.Comm_rank(comm)
107
if rank == 1
8+
@show get(ENV, "MPI_LOCALNRANKS", nothing)
9+
@show get(ENV, "OMPI_COMM_WORLD_SIZE", nothing)
10+
@show Comm_size(comm)
1111
error("This is an expected error, ignore it")
1212
end
1313
MPI.Barrier(comm)

0 commit comments

Comments
 (0)