From 49381d023222b4e41348f4a2507ca0de2fe30d7b Mon Sep 17 00:00:00 2001 From: Konstantinos Kallas Date: Fri, 8 Dec 2023 00:42:24 -0500 Subject: [PATCH] test something --- compiler/pash_compilation_server.py | 5 +++-- compiler/pash_runtime.sh | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/pash_compilation_server.py b/compiler/pash_compilation_server.py index 340fa875f..bcc6d3279 100644 --- a/compiler/pash_compilation_server.py +++ b/compiler/pash_compilation_server.py @@ -219,8 +219,9 @@ def get_averages_per_width(self, input_ir_file): ## This adds the time measurement, or just removes the entry if there is no exec_time (for space reclamation) def handle_time_measurement(self, process_id, exec_time): - ## TODO: Could put those behind the profile_driven check too to not fill memory - assert self.process_id_input_ir_map[process_id].exec_time is None + ## 2023-12-08 KK: When in parallel pipelines we receive two exits (when I tried to make it one something got stuck...) + ## so this assert is not true + # assert self.process_id_input_ir_map[process_id].exec_time is None ## If we don't have the exec time we do Nothing ## diff --git a/compiler/pash_runtime.sh b/compiler/pash_runtime.sh index df9afd581..4bdd0c8a9 100755 --- a/compiler/pash_runtime.sh +++ b/compiler/pash_runtime.sh @@ -144,6 +144,7 @@ else trap inform_daemon_exit SIGTERM SIGINT EXIT export SCRIPT_TO_EXECUTE="$pash_script_to_execute" source "$RUNTIME_DIR/pash_restore_state_and_execute.sh" + inform_daemon_exit } # Should we redirect errors aswell? # TODO: capturing the return state here isn't completely correct.