Skip to content

Conversation

@philipwjones
Copy link

@philipwjones philipwjones commented Oct 29, 2025

When the frequency of a stream is never, the read routine should return an error, but during the recent propagation of error codes, the read routine was aborting instead. This fixes that and also adds some error checking to diagnose problems if both InitialState and RestartRead fail

I have tested this with the standalone driver unit test with the InitialState as never in the config, but was unable to test with the polaris restart tests due to problems getting a working updated polaris.

Fixes #306

Checklist

  • Testing
    • Unit tests have passed. Please provide a relevant CDash build entry for verification.
    • Polaris test suite has passed

  also adds some error checking to diagnose problems if both InitialState
  and RestartRead fail
@philipwjones philipwjones requested a review from xylar October 29, 2025 18:12
@philipwjones philipwjones self-assigned this Oct 29, 2025
@xylar
Copy link

xylar commented Oct 29, 2025

Thanks so much, @philipwjones! I'll test this out carefully tomorrow.

Copy link

@xylar xylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @philipwjones! I can confirm that both CTests and the omega_pr suite now pass for me with this branch and E3SM-Project/polaris#384 on Chrysalis.

Polaris omega_pr suite

  • PR build: /gpfs/fs1/home/ac.xylar/e3sm_work/polaris/fix-omega-manufatured-solution/build_omega/build_chrysalis_intel
  • PR workdir: /lcrc/group/e3sm/ac.xylar/polaris_0.9/chrysalis/test_20251030/fix-omega-pr
  • Machine: chrysalis
  • Partition: compute
  • Compiler: intel
  • Build type: Release
  • Log: /lcrc/group/e3sm/ac.xylar/polaris_0.9/chrysalis/test_20251030/fix-omega-pr/polaris_omega_pr.o996864
  • Result: All tests passed

@philipwjones philipwjones merged commit 209776a into E3SM-Project:develop Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InitialState stream does not work with FrequUnits: never

2 participants