Feat: Add timing table for all slurm jobs in report
1 unresolved thread
1 unresolved thread
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
Activity
Filter activity
- Resolved by Mikhail Karnevskiy
- Resolved by Mikhail Karnevskiy
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:]: added 19 commits
-
5c0d24fc...847554a5 - 16 commits from branch
master
- 0a92c1c1 - Add timing table for all slurm jobs in report
- 34be8643 - Use template for latex table
- c95e8515 - Add code comment
Toggle commit list-
5c0d24fc...847554a5 - 16 commits from branch
mentioned in commit 66dbe6f6
Please register or sign in to reply