Created attachment 336 [details] Fixes merge when all steps are not profiles. If all steps don't have profile data, sh5util will not merge data from all the steps. It currently stops on the first stepno that does not have data. So if step 0 is a setup step. it will not merge subsequent steps. Or if step 0 has data, step 1 does not, but step 2 does, it will only merge step 0. The attached patch fixes the issue.
Committed to slurm-2.6 branch: commit c12aa93f025b2ea04f4a14dfb45a47f700a1fd9e Author: Morris Jette <jette@schedmd.com> Date: Fri Jul 12 12:23:29 2013 -0700 Minor formatting changes, no change to logic commit 262d754f57242eafc17b5eaa8cfcf3623af5df50 Author: Rod Schultz <Rod.Schultz@bull.com> Date: Fri Jul 12 12:22:14 2013 -0700 Fix merge when all steps are not profiled Bug 366