Skip to content

Commit

Permalink
example fix (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Aug 14, 2021
1 parent 11bec24 commit b983308
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions examples/condor-grid-example/CondorGridSimulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ int main(int argc, char **argv) {
auto htcondor_cs = simulation->add(
new wrench::HTCondorComputeService(
"BatchHeadNode", std::move(condor_compute_resources),
{},
{
{wrench::HTCondorComputeServiceProperty::SUPPORTS_GRID_UNIVERSE, "true"},
{wrench::HTCondorComputeServiceProperty::SUPPORTS_STANDARD_JOBS, "true"}
},
{}));

std::dynamic_pointer_cast<wrench::HTCondorComputeService>(htcondor_cs)->setLocalStorageService(local_ss);
Expand Down Expand Up @@ -110,11 +113,11 @@ int main(int argc, char **argv) {
for (const auto &start_timestamp : start_timestamps) {
std::cout << "Started: " << start_timestamp->getContent()->getDate() << std::endl;
}
std::cout << "Tasks: " << flush;
std::cout << "Tasks: " << flush;
for (const auto &task_finish_timestamp : task_finish_timestamps) {
std::cout << task_finish_timestamp->getContent()->getDate() << ", " << flush;
}
std::cout << std::endl;
std::cout << std::endl;

std::cout << "Ended: " << end_timestamp->getContent()->getDate() << std::endl;

Expand Down

0 comments on commit b983308

Please sign in to comment.