From 7c934ddb8b449993218a174e9b7dd9e9b0142e35 Mon Sep 17 00:00:00 2001 From: Alon Grinberg Dana Date: Wed, 4 Dec 2024 14:33:14 +0200 Subject: [PATCH] d --- t3/runners/rmg_runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t3/runners/rmg_runner.py b/t3/runners/rmg_runner.py index 801dacd5..4e71c4cc 100644 --- a/t3/runners/rmg_runner.py +++ b/t3/runners/rmg_runner.py @@ -123,6 +123,7 @@ def check_running_jobs_ids(cluster_soft: str) -> List[str]: """ stdout = execute_command(CHECK_STATUS_COMMAND)[0] running_job_ids = parse_running_jobs_ids(stdout, cluster_soft=cluster_soft.lower()) + print(f'Running job IDs: {running_job_ids}') return running_job_ids @@ -312,7 +313,9 @@ def rmg_runner(rmg_input_file_path: str, t3_project_name=t3_project_name, ) while job_id in check_running_jobs_ids(cluster_soft=LOCAL_CLUSTER_SOFTWARE): + print(f'RMG job {job_id} is still running...') time.sleep(120) + print(f'RMG job {job_id} has terminated.') converged, error = rmg_job_converged(project_directory=project_directory) err_path = os.path.join(project_directory, 'err.txt') if os.path.isfile(err_path):