Skip to content
Snippets Groups Projects

Feat: Add timing table for all slurm jobs in report

Merged Mikhail Karnevskiy requested to merge feat/timing_table into master
1 unresolved thread

@haufs @ahmedk

This feature adds a table with running and waiting time of slurm jobs to the output report. Finalize script gets job IDs with parameter joblist. It contains all job IDs except a job ID of the final job. This is given to the script as command-line parameter.

In additional I include print-out for all input parameters to the slurm job. It appears in the output information of the slurm job.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • c9717239 - Use template for latex table

    Compare with previous version

  • Steffen Hauf
  • 57 57 return sphinx_path
    58 58
    59
    60 def make_timing_summary(run_path, joblist):
    61 print('Prepare timing summary')
    62 run_path = os.path.abspath(run_path)
    63 pars_vals = []
    64 pars = 'JobID,Elapsed,Suspended'
    65 pars_name = pars.split(',')
    66
    67 for job in joblist:
    68 out = check_output(['sacct', '-j', job,
    69 '--format={}'.format(pars)],
    70 shell=False)
    71 l = str(out).split('\\n')
    72 for line in l[2:]:
  • Minor comment, LGTM aside form that

  • added 1 commit

    Compare with previous version

  • added 19 commits

    Compare with previous version

  • mentioned in commit 66dbe6f6

  • Please register or sign in to reply
    Loading