Skip to content

Commit

Permalink
Merge pull request #1026 from desihub/timingfile
Browse files Browse the repository at this point in the history
write timing file to batch script dir with other logs
  • Loading branch information
akremin committed Nov 13, 2020
2 parents 6ffb3b5 + 89c7a40 commit 4761093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/desispec/workflow/desi_proc_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def create_desi_proc_batch_script(night, exp, cameras, jobdesc, queue, runtime=N

if timingfile is None:
timingfile = f'{jobname}-timing-$SLURM_JOBID.json'
timingfile = os.path.join(batchdir, timingfile)

scriptfile = os.path.join(batchdir, jobname + '.slurm')

Expand Down

0 comments on commit 4761093

Please sign in to comment.