Skip to content

Commit

Permalink
Batch trace file loader fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Mar 29, 2019
1 parent 7658d87 commit 53047dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wrench/services/compute/batch/TraceFileLoader.cpp
Expand Up @@ -199,8 +199,8 @@ namespace wrench {
"TraceFileLoader::loadFromTraceFileSWF(): invalid job with negative flops and negative requested flops in batch workload trace file");
}
if (requested_time < time) {
throw std::invalid_argument(
"TraceFileLoader::loadFromTraceFileSWF(): invalid job with requested time smaller than actual time in batch workload trace file");
WRENCH_WARN("TraceFileLoader::loadFromTraceFileSWF(): invalid job with requested time smaller than actual time in batch workload trace file [fixing it]");
requested_time = time;
}

if (requested_ram < 0) {
Expand Down

0 comments on commit 53047dc

Please sign in to comment.