Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On no-batch systems, short-term archiver runs even if the run fails #4386

Open
billsacks opened this issue Apr 5, 2023 · 2 comments
Open

Comments

@billsacks
Copy link
Member

@adrifoster pointed this out and I have reproduced it: On our macs, the short-term archiver runs even when the run fails. My guess is that this is due to this being a no-batch system and that the logic for stopping the short-term archiver from running doesn't work correctly in the absence of a batch system.

I reproduced this from CTSM (ctsm5.1.dev120, which uses cime6.0.100) by introducing an endrun call. The CaseStatus file shows:

 ---------------------------------------------------
2023-04-05 14:57:12: case.run starting
 ---------------------------------------------------
2023-04-05 14:57:13: model execution starting
 ---------------------------------------------------
2023-04-05 14:57:31: model execution error
ERROR: Command: 'mpirun  -np 8   --tag-output  /Users/sacks/projects/scratch/test_zipping_0405a/bld/cesm.exe   >> cesm.log.$LID 2>&1 ' failed with error '' from dir '/Users/sacks/projects/scratch/test_zipping_0405a/run'
 ---------------------------------------------------
2023-04-05 14:57:31: case.run error
ERROR: RUN FAIL: Command 'mpirun  -np 8   --tag-output  /Users/sacks/projects/scratch/test_zipping_0405a/bld/cesm.exe   >> cesm.log.$LID 2>&1 ' failed
See log file for details: /Users/sacks/projects/scratch/test_zipping_0405a/run/cesm.log.230405-145712
 ---------------------------------------------------
2023-04-05 14:57:31: st_archive starting
 ---------------------------------------------------
2023-04-05 14:57:31: st_archive success
 ---------------------------------------------------
2023-04-05 14:57:31: case.submit starting
 ---------------------------------------------------
2023-04-05 14:57:31: case.submit success
 ---------------------------------------------------

This is not high priority from our perspective, but we still wanted to open an issue documenting this.

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 6, 2023
@billsacks billsacks removed the Stale label May 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants