Skip to content

Commit

Permalink
test: make job runtime more forgiving
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-weber committed Oct 21, 2024
1 parent b2434b2 commit 4a54bc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_parallel_tempering.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@

job = make_test_job(
"$tmpdir/parallel_tempering",
50000;
20000;
binsize = 200,
thermalization = 5000,
thermalization = 3000,
mc = ParallelTemperingMC,
ranks_per_run = length(μs),
ntasks = 1,
Expand Down
6 changes: 4 additions & 2 deletions test/test_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ function make_test_job(
mc = TestMC,
ranks_per_run = 1,
ntasks = 3,
checkpoint_time = "5:00",
run_time = "15:00",
kwargs...,
)
tm = TaskMaker()
Expand All @@ -44,8 +46,8 @@ function make_test_job(
dir,
mc;
tasks = make_tasks(tm),
checkpoint_time = "1:00",
run_time = "10:00",
checkpoint_time,
run_time,
ranks_per_run = ranks_per_run,
)
end
Expand Down

0 comments on commit 4a54bc8

Please sign in to comment.