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

gcc fpe errors in time_interp_external2 #1587

Open
rem1776 opened this issue Sep 6, 2024 · 0 comments
Open

gcc fpe errors in time_interp_external2 #1587

rem1776 opened this issue Sep 6, 2024 · 0 comments

Comments

@rem1776
Copy link
Contributor

rem1776 commented Sep 6, 2024

Describe the bug
Occasionally on the amd box and in the ci, this line generates a floating point exception:

hi_tmp_src_data = real(field%src_data, r4_kind)

I've seen the same error happen with two of the tests, test_coupler.sh test 3 and test_data_override2_mono.sh test 1.

To Reproduce
compile with gcc 13 and debug flags (-O0 -fbacktrace -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow), then run either the coupler or data_override tests a couple of times until it comes up.

Expected behavior
Not fail, all tests should be pass with debug flags.

System Environment
amd box with gcc 13.3.0 + mpich.

Additional context
This is preventing #1579 from working. On the amd box these error don't happen every run, but in the ci it seems to fail every time (maybe due to it running 7 different instances, one failure is bound to happen).

field%src_data is a pointer, and hi_tmp_src_data is an allocatable, so that likely has something to do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant