Skip to content

Commit

Permalink
oops forgot save
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jun 7, 2018
1 parent 6290cbe commit 6a8fd4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/job.jl
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ end
Saves the job locally, and then either runs it locally using `qsub` (when `job.server == "localhost"`) or sends it to the specified `job.server` in `job.server_dir`, and submits it using `qsub` on the server.
"""
function submit(job::DFJob; server=job.server, server_dir=job.server_dir)
save(job)
job.server = server
job.server_dir = server_dir == "" ? "" : form_directory(server_dir)
job.metadata[:slurmid] = qsub(job)
Expand Down

0 comments on commit 6a8fd4c

Please sign in to comment.