-
Notifications
You must be signed in to change notification settings - Fork 354
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
Add check for invalid fp-ops for GNU in debug mode #5808
Conversation
|
I suppose this |
7af79a4
to
77c90e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased onto latest master and re-checked with e3sm_integration
: https://my.cdash.org/viewTest.php?buildid=2411304 .
real(r8), optional, intent(in) :: tropFlagInt(ncol, pver) | ||
real(r8), optional, intent(in) :: tropFlagInt(pcols, pver) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All calls to gaschmmass_diags
pass the whole tropFlagInt(:pcols,pver)
array.
mmr_tend(:ncol,:,:), pmid(:ncol,:), pdel(:ncol,:), pdeldry(:ncol,:), pbuf, troplev(:ncol), tropFlag=tropFlag ) | ||
mmr_tend(:ncol,:,:), pmid, pdel(:ncol,:), pdeldry(:ncol,:), pbuf, troplev, tropFlag=tropFlag ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chm_diags
declares pmid
and troplev
arrays with pcols
.
(PR #5808) Add check for invalid fp-ops for GNU in debug mode. Also, fix ncol/pcol indexes in 2 eam-chemistry subroutines (flagged by `-ffpe-trap=invalid`). [non-BFB] - in fully-coupled tests
Add check for invalid fp-ops for GNU in debug mode.
Also, fix ncol/pcol indexes in 2 eam-chemistry subroutines
(flagged by
-ffpe-trap=invalid
).[non-BFB] - in fully-coupled tests