Skip to content

Commit

Permalink
log job and out_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Apr 17, 2024
1 parent 2f5ff6d commit 517718e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/run-sim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function start_job(out_dir, job::String;
job_out = mkpath(joinpath(abspath(out_dir), job))
in_new_log_dir(job_out) do
FileWatching.Pidfile.mkpidlock(joinpath(job_out,"traj.lock"); wait=false) do
@info "Starting new job."
@info "Starting new job." job out_dir
@info get_version_string()

# remove old snapshot data
Expand Down Expand Up @@ -189,7 +189,7 @@ function continue_job(out_dir, job;
job_out = mkpath(joinpath(abspath(out_dir), job))
traj = mkpath(joinpath(job_out, "traj"))
in_new_log_dir(job_out) do
@info "Continuing job."
@info "Continuing job." job out_dir
@info get_version_string()
pidlock = try
FileWatching.Pidfile.mkpidlock(joinpath(job_out,"traj.lock"); wait=false)
Expand Down

0 comments on commit 517718e

Please sign in to comment.