Sometime in the last few Condor releases, the classad RemoteWallClockTime stopped being populated in a job's classad while a job was running, and that broke our jobsub_q. After consultation with the condor developers, this PR has the new implementation of calculating the job's cumulative run time.
The calculation for a running job is: (ServerTime - ShadowBday) + RemoteWallClockTime.
For an idle, completed, or held job, the classad RemoteWallClockTime still works, and that's reflected in this PR.
This PR also includes a small tweak to the jobsub_totals script to improve performance; and a few comments to make clear what Condor expression corresponds to what column.
Closes #501
Sometime in the last few Condor releases, the classad
RemoteWallClockTime
stopped being populated in a job's classad while a job was running, and that broke ourjobsub_q
. After consultation with the condor developers, this PR has the new implementation of calculating the job's cumulative run time.The calculation for a running job is:
(ServerTime - ShadowBday) + RemoteWallClockTime
.For an idle, completed, or held job, the classad
RemoteWallClockTime
still works, and that's reflected in this PR.This PR also includes a small tweak to the
jobsub_totals
script to improve performance; and a few comments to make clear what Condor expression corresponds to what column.