Skip to content

Commit 3c3b877

Browse files
Merge pull request #157 from Julia-Tempering/mpi-to-mpi-resume
Add test for resume MPI with another MPI
2 parents acfc92c + 1a46e8f commit 3c3b877

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test_resume.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ end
1515
end
1616
end
1717

18+
@testset "Extend number of rounds with PT object, from MPI to another MPI run" begin
19+
pt = pigeons(; target = toy_mvn_target(1), checkpoint = true, on = ChildProcess(n_local_mpi_processes = 2))
20+
exec = increment_n_rounds!(pt.exec_folder, 2)
21+
r = pigeons(exec, ChildProcess(n_local_mpi_processes = 2))
22+
Pigeons.check_against_serial(load(r))
23+
end
24+
1825
@testset "Extend number of rounds with PT object, on ChildProcess" begin
1926
pt = pigeons(; target = toy_mvn_target(1), checkpoint = true)
2027
pt = increment_n_rounds!(pt, 2)

0 commit comments

Comments
 (0)