Project

General

Profile

Actions

Bug #6598

closed

[Crunch] Fix crunch-job's update_progress_stats post-5717

Added by Brett Smith almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Description

crunch-job's update_proress_stats function updates the job's tasks summary. It assumes that the number of running jobs is the total number of SLURM slots available to the job, minus the number of slots unused (because they're free or being held due to node failures). After #5717, this math is no longer accurate: when few tasks exist at a level, crunch-job may use few a limited number of slots at that level. The math expects those slots are running jobs, but they're not.

Update the function to calculate a new "running" number based on a more accurate measure, like maybe scalar(keys(%proc)).


Subtasks 2 (0 open2 closed)

Task #6745: Review 6598-crunch-progress-statsResolvedTom Clegg07/13/2015Actions
Task #6746: Fix summary calculationResolvedTom Clegg07/13/2015Actions
Actions

Also available in: Atom PDF