Skip to content

Commit

Permalink
rm redundant dir
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed Aug 2, 2023
1 parent caebb14 commit 3749896
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/mpi_tests/checkpointer_mpi_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ get_model_state_vector(sim::DummySimulation) = sim.state
@test sim_new.state.T == sim.state.T

# remove checkpoint directory
rm("./test_checkpoint/", force = true, recursive = true)
ClimaComms.barrier(comms_ctx)
if ClimaComms.iamroot(comms_ctx)
rm("./test_checkpoint/", force = true, recursive = true)
end
end

0 comments on commit 3749896

Please sign in to comment.