We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38800f4 commit ac055d3Copy full SHA for ac055d3
test/test_error.jl
@@ -1,13 +1,13 @@
1
using MPI
2
3
-@show get(ENV, "MPI_LOCALNRANKS", nothing)
4
-@show get(ENV, "OMPI_COMM_WORLD_SIZE", nothing)
5
-
6
function main()
7
MPI.Init()
8
comm = MPI.COMM_WORLD
9
rank = MPI.Comm_rank(comm)
10
if rank == 1
+ @show get(ENV, "MPI_LOCALNRANKS", nothing)
+ @show get(ENV, "OMPI_COMM_WORLD_SIZE", nothing)
+ @show Comm_size(comm)
11
error("This is an expected error, ignore it")
12
end
13
MPI.Barrier(comm)
0 commit comments