Skip to content

Commit

Permalink
Merge pull request #157 from Julia-Tempering/mpi-to-mpi-resume
Browse files Browse the repository at this point in the history
Add test for resume MPI with another MPI
  • Loading branch information
alexandrebouchard authored Oct 23, 2023
2 parents acfc92c + 1a46e8f commit 3c3b877
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_resume.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ end
end
end

@testset "Extend number of rounds with PT object, from MPI to another MPI run" begin
pt = pigeons(; target = toy_mvn_target(1), checkpoint = true, on = ChildProcess(n_local_mpi_processes = 2))
exec = increment_n_rounds!(pt.exec_folder, 2)
r = pigeons(exec, ChildProcess(n_local_mpi_processes = 2))
Pigeons.check_against_serial(load(r))
end

@testset "Extend number of rounds with PT object, on ChildProcess" begin
pt = pigeons(; target = toy_mvn_target(1), checkpoint = true)
pt = increment_n_rounds!(pt, 2)
Expand Down

0 comments on commit 3c3b877

Please sign in to comment.