Skip to content

Commit

Permalink
Fix SlurmManager launch
Browse files Browse the repository at this point in the history
Using append! for job_output_template appends it character-wise, causing failure.
  • Loading branch information
oschulz committed Apr 19, 2024
1 parent ccf72ba commit 815a3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slurm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function launch(manager::SlurmManager, params::Dict, instances_arr::Array,
job_output_name = "$(jobname)-$(trunc(Int, Base.time() * 10))"
make_job_output_path(task_num) = joinpath(job_file_loc, "$(job_output_name)-$(task_num).out")
job_output_template = make_job_output_path("%4t")
append!(srunargs, "-o", job_output_template)
push!(srunargs, "-o", job_output_template)
end

np = manager.np
Expand Down

0 comments on commit 815a3bf

Please sign in to comment.