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

Fixing a bug causing floating-point error in RtmMod.F90 #6146

Merged

Conversation

liho745
Copy link
Contributor

@liho745 liho745 commented Jan 11, 2024

A bug in RtmMod.F90 has been causing a floating-point error, related to Tunit%rlen,
when the land-river two-way coupling is invoked. This PR fixes that bug based on
a branch off the commit, 417920b, where the bug was introduced into the master.

[BFB]
Fixes #5540

@rljacob
Copy link
Member

rljacob commented Jan 19, 2024

@liho745 is this BFB or non-BFB ?

@liho745
Copy link
Contributor Author

liho745 commented Jan 19, 2024 via email

@rljacob
Copy link
Member

rljacob commented Feb 1, 2024

@liho745 you should see if its BFB. You could just run one test.

@liho745
Copy link
Contributor Author

liho745 commented Feb 1, 2024

@liho745 you should see if its BFB. You could just run one test.

@rljacob Three MOSART related tests all passed BFB on Compy: ERS.MOS_USRDAT.RMOSGPCC.compy_intel.mosart-mos_usrdat; ERS.r05_r05.RMOSGPCC.compy_intel.mosart-gpcc_1972; SMS.MOS_USRDAT.RMOSGPCC.compy_intel.mosart-unstructure. So, the bug fix should be BFB.

@rljacob
Copy link
Member

rljacob commented Feb 1, 2024

great! @bishtgautam you can start merging this.

@rljacob rljacob added the BFB PR leaves answers BFB label Feb 1, 2024
@bishtgautam
Copy link
Contributor

I re-merged another MOSART PR (#6092) today. I will merge this PR tomorrow, provided nightly tests look good tomorrow.

bishtgautam added a commit that referenced this pull request Feb 2, 2024
A bug in RtmMod.F90 has been causing a floating-point error, related to Tunit%rlen,
when the land-river two-way coupling is invoked. This PR fixes that bug based on
a branch off the commit, 417920b, where the bug was introduced into the master.

[BFB]
Fixes #5540
@bishtgautam bishtgautam merged commit 6607537 into E3SM-Project:master Feb 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB bug fix PR River
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIGFPE: Floating-point exception (divide-by-zero) SMS_D.f09_f09.IELM.machine_compiler.elm-lnd_rof_2way
5 participants