View | Details | Raw Unified | Return to ticket 316 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/slurmd/slurmstepd/mgr.c (+3 lines)
Lines 1695-1700 _wait_for_any_task(slurmd_job_t *job, bool waitflag) Link Here
1695
		if (jobacct) {
1695
		if (jobacct) {
1696
			jobacctinfo_setinfo(jobacct,
1696
			jobacctinfo_setinfo(jobacct,
1697
					    JOBACCT_DATA_RUSAGE, &rusage);
1697
					    JOBACCT_DATA_RUSAGE, &rusage);
1698
			/*Concerning energy consumption we take into 
1699
			  account only the last poll of the slowest task*/
1700
			job->jobacct->energy.consumed_energy=0;
1698
			jobacctinfo_aggregate(job->jobacct, jobacct);
1701
			jobacctinfo_aggregate(job->jobacct, jobacct);
1699
			jobacctinfo_destroy(jobacct);
1702
			jobacctinfo_destroy(jobacct);
1700
		}
1703
		}

Return to ticket 316