From 0171c785f43b8d02540aea625c96ed73c2ba2b0e Mon Sep 17 00:00:00 2001 From: gliargovas Date: Mon, 21 Aug 2023 09:45:22 -0600 Subject: [PATCH] Pass environment file in the Wait response to hs --- .../orchestrator_runtime/speculative/speculative_runtime.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/orchestrator_runtime/speculative/speculative_runtime.sh b/compiler/orchestrator_runtime/speculative/speculative_runtime.sh index 7c91c1bcd..c07a13159 100644 --- a/compiler/orchestrator_runtime/speculative/speculative_runtime.sh +++ b/compiler/orchestrator_runtime/speculative/speculative_runtime.sh @@ -15,13 +15,12 @@ pash_redir_output echo "$$: (1) Bash variables saved in: $pash_runtime_shell_var ## Once the scheduler determines if there are environment changes, it can then ## decide to rerun or not the speculated commands with the new environment. - ## Determine all current loop iterations and send them to the scheduler pash_loop_iter_counters=${pash_loop_iters:-None} pash_redir_output echo "$$: Loop node iteration counters: $pash_loop_iter_counters" ## Send and receive from daemon -msg="Wait:${pash_speculative_command_id}|Loop iters:${pash_loop_iter_counters}" +msg="Wait:${pash_speculative_command_id}|Loop iters:${pash_loop_iter_counters}|Variables file:${pash_runtime_shell_variables_file}" daemon_response=$(pash_spec_communicate_scheduler "$msg") # Blocking step, daemon will not send response until it's safe to continue ## Receive an exit code