mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2025-10-29 16:25:09 +01:00
Don't start monitoring those jobs..
This commit is contained in:
@@ -429,17 +429,18 @@ void CCSyncPlugin::endTransaction() {
|
|||||||
jobId.first, jobId.second);
|
jobId.first, jobId.second);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (auto totalSubmitProcs = job.find("TotalSubmitProcs");
|
|
||||||
totalSubmitProcs != job.end() &&
|
|
||||||
std::stoi(totalSubmitProcs->second) > 25) {
|
|
||||||
dprintf(D_VERBOSE,
|
|
||||||
"Job %d.%d is an array job with more than 25 sub-jobs, not "
|
|
||||||
"monitoring it\n",
|
|
||||||
jobId.first, jobId.second);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (state == RUNNING) {
|
if (state == RUNNING) {
|
||||||
|
if (auto totalSubmitProcs = job.find("TotalSubmitProcs");
|
||||||
|
totalSubmitProcs != job.end() &&
|
||||||
|
std::stoi(totalSubmitProcs->second) > 25) {
|
||||||
|
dprintf(D_VERBOSE,
|
||||||
|
"Job %d.%d is an array job with more than 25 sub-jobs, not "
|
||||||
|
"monitoring it\n",
|
||||||
|
jobId.first, jobId.second);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
auto jobBatchNameIt = job.find("JobBatchName");
|
auto jobBatchNameIt = job.find("JobBatchName");
|
||||||
auto globalJobId = globalJobIdToInt(jobId);
|
auto globalJobId = globalJobIdToInt(jobId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user