Repository navigation
Small fixes: bc_type dummy shape, serial BC files every save, format/lint/validator tooling - #2118
Draft
sbryngelson wants to merge 1 commit into
Draft
sbryngelson wants to merge 1 commit into
sbryngelson wants to merge 1 commit into
Conversation
…rmat on ffmt structure warnings; Cray debug bounds checking; Open MPI oversubscribe; stage-guard lint; validator fixes bc_type is allocated (1:num_dims, 1:2) but simulation's m_data_output declared it (1:num_dims, -1:1). Serial readers need bc_type.dat and bc_buffers.dat in every step directory. format.sh treats ffmt's unmatched-structure warnings as fatal; Cray debug builds get -h bounds like the other compilers; the run template passes --oversubscribe to Open MPI when ranks exceed cores; a source lint rejects per-executable preprocessor guards; the validator derives cfl_dt like the Fortran and rejects MHD with Euler bubbles and a non-positive rburn%pign.
Lines of Code
|
|
Claude Code Review Head SHA: 7526aaf Files changed:
Findings:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution Policy
All contributions are expected to demonstrate:
Summary
Small fixes and tooling found while preparing #2116 and the AMR PR, split out so each can be reviewed on its own.
bc_typedummy shape (bug):bc_typeis allocated(1:num_dims, 1:2)butsimulation/m_data_output.fppdeclaredthe dummies
(1:num_dims, -1:1). Now(1:num_dims, 1:2)everywhere.bc_type.datandbc_buffers.datineach step directory, not only step 0.
s_write_serial_boundary_condition_filesnow takes the packed buffers, so pre andsim share it.
format.sh: ffmt reports unmatched block structure as a warning and exits 0; the script now shows stderr and failson those warnings (the source would not compile).
-h bounds, as the other compilers' debug builds already check bounds.--oversubscribeto Open MPI when ranks exceed cores (small CI runners refused-np 4).MFC_PRE_PROCESS, ...), which the sources no longer use.cfl_dtfromcfl_adap_dt/cfl_const_dtlike the Fortran; rejects MHD with Euler bubbles and anon-positive
rburn%pign.Verification
Frontier amdflang OpenMP full regression (as part of the branch these came from): all master goldens unchanged. CI runs
here on this branch alone.