-
Notifications
You must be signed in to change notification settings - Fork 18
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
Resolve gfortran segfault issue with vertical regridding tests #3195
Resolve gfortran segfault issue with vertical regridding tests #3195
Conversation
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.
hmm. This is not a very robust workaround. If/when we want to do any higher-level I/O we need to add #ifndef ...
there as well.
I suspect you only need to ifdef the actual generic statement in the derived type and the rest could remain in place.
It is also possible/likely that if you made the write(formatted)
an F90 procedure rather than type-bound it would circumvent the compiler problem. But it may well create other issues. I've seen Intel struggle when 2 such are overloaded in the same scope.
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.
ELiminate the unneeded #ifndef ...
…ab/vertical-regridding-gfortran
Types of change(s)
Checklist
make tests
)Description
This resolves gfortran segfault issue with running Scenarios tests vertical_regridding_2/3. The issue was caused by the type bound write overload - deactivated that in case of gfortran builds.
Related Issue