Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Dec 4, 2024
1 parent c11d3ef commit 7c934dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t3/runners/rmg_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 7c934dd

Please sign in to comment.