-
Notifications
You must be signed in to change notification settings - Fork 383
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
fix float invalidation error of eca_bgc #3303
Conversation
By initializing col_plant_pdmeand_vr properly, it fixes a NaN triggered error of float invalidation when running ECACNP with DEBUG=TRUE.
By initializing col_plant_pdmeand_vr properly, it fixes a NaN triggered error of float invalidation when running ECACNP with DEBUG=TRUE. [BFB] Fixes #3296
@bishtgautam
See https://my.cdash.org/viewTest.php?onlydelta&buildid=1726125 Looks like baseline mismatch:
|
@dqwu and @bishtgautam, I suspect depending on the platform, the baseline may need to be regenerated. In the default code (i.e., the master), the array col_plant_pdemand_vr is not initialized properly, and depending on the compiler and platform, the value of col_plant_pdemand_vr at the 1st time step is totally random. |
Ok, I'm going to change this PR to be non-BFB. |
@jinyuntang This PR broke the following ECA ERS tests:
See https://my.cdash.org/viewTest.php?onlyfailed&buildid=1727482. I have reverted this PR. |
@bishtgautam and @rljacob , I saw the following line in the reports of both simulations. |
It worth looking at the timers more closely. |
@jinyuntang did you look at the timers? |
So this PR should be closed because the work will be done in a different, future PR? |
@rljacob, I think so. |
Closing this won't affect the other branch. We can leave the branch intact. |
By initializing col_plant_pdmeand_vr properly, it fixes
a NaN triggered error of float invalidation when running
ECACNP with DEBUG=TRUE.
[non-BFB]
Fixes #3296