From 369033b166e815ecc912d77ce81ac5b22dd7c9d9 Mon Sep 17 00:00:00 2001 From: Henri Casanova Date: Tue, 10 Sep 2024 10:07:05 -1000 Subject: [PATCH] Preparing for 2.3 release --- .github/workflows/build.yml | 2 +- examples/run_all_examples.sh.in | 3 ++- .../action_execution_service/ActionExecutionService.cpp | 2 +- tools/wrench/wrench-daemon/scripts/generate_crow_routes.py | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29791a5b50..bee177e3de 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,7 +93,7 @@ jobs: docker exec wrench mkdir wrench/build; # build and test wrench docker exec -w /home/wrench/wrench/build wrench cmake -DENABLE_BATSCHED=${batsched} -DCMAKE_VERBOSE_MAKEFILE=ON ..; - docker exec -w /home/wrench/wrench/build wrench make all unit_tests examples; + docker exec -w /home/wrench/wrench/build wrench make all unit_tests examples wrench-daemon; docker exec -w /home/wrench/wrench/build wrench ./unit_tests; docker exec -w /home/wrench/wrench/build/examples wrench ./run_all_examples.sh wrench-example-batch-smpi-action; diff --git a/examples/run_all_examples.sh.in b/examples/run_all_examples.sh.in index 13e526d1b9..abb3fdf74c 100755 --- a/examples/run_all_examples.sh.in +++ b/examples/run_all_examples.sh.in @@ -2,7 +2,8 @@ # # Usage: run_all_examples [executable_to_exclude1,executable_to_exclude2,....] -TO_ALWAYS_EXCLUDE="wrench-example-cloud-bag-of-tasks-energy" +#TO_ALWAYS_EXCLUDE="wrench-example-cloud-bag-of-tasks-energy" +TO_ALWAYS_EXCLUDE="" TO_EXCLUDE="{$TO_ALWAYS_EXCLUDE},{$1}" diff --git a/src/wrench/services/helper_services/action_execution_service/ActionExecutionService.cpp b/src/wrench/services/helper_services/action_execution_service/ActionExecutionService.cpp index a7fe031c55..a6c52ca70a 100644 --- a/src/wrench/services/helper_services/action_execution_service/ActionExecutionService.cpp +++ b/src/wrench/services/helper_services/action_execution_service/ActionExecutionService.cpp @@ -395,7 +395,7 @@ namespace wrench { // Select the "best" host double lowest_load = DBL_MAX; - simgrid::s4u::Host *picked_host; + simgrid::s4u::Host *picked_host = nullptr; unsigned long picked_num_cores = 0; for (auto const &h: possible_hosts) { unsigned long num_running_threads = this->running_thread_counts[h]; diff --git a/tools/wrench/wrench-daemon/scripts/generate_crow_routes.py b/tools/wrench/wrench-daemon/scripts/generate_crow_routes.py index a7f04c4f61..c7c2fb9d57 100755 --- a/tools/wrench/wrench-daemon/scripts/generate_crow_routes.py +++ b/tools/wrench/wrench-daemon/scripts/generate_crow_routes.py @@ -1,4 +1,3 @@ -import import json import re import sys