We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug horiz_interp_type_eq does not work with gnu
horiz_interp_type_eq
This is because some of the members of the horiz_interp_type are allocatables
horiz_interp_type
FMS/horiz_interp/horiz_interp_type.F90
Lines 118 to 127 in 77382e3
But some of the members are never allocatated, depending on the interpolation method. For example, ilon and jlat are never allocated if using bilinear. https://github.com/NOAA-GFDL/FMS/blob/main/horiz_interp/include/horiz_interp_bilinear.inc
ilon
jlat
This causes error with GNU like
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
To Reproduce The changes here can reproduce the issue uramirez8707@05c78b4
Expected behavior The subroutine should check if a variable is allocatable before attempting to copy it
System Environment Describe the system environment, include: I saw this using gcc/13.2.0 on the amd box, but it also happens in the CI
Additional context Discover this while debugging #1556
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
horiz_interp_type_eq
does not work with gnuThis is because some of the members of the
horiz_interp_type
are allocatablesFMS/horiz_interp/horiz_interp_type.F90
Lines 118 to 127 in 77382e3
But some of the members are never allocatated, depending on the interpolation method. For example,
ilon
andjlat
are never allocated if using bilinear.https://github.com/NOAA-GFDL/FMS/blob/main/horiz_interp/include/horiz_interp_bilinear.inc
This causes error with GNU like
To Reproduce
The changes here can reproduce the issue
uramirez8707@05c78b4
Expected behavior
The subroutine should check if a variable is allocatable before attempting to copy it
System Environment
Describe the system environment, include:
I saw this using gcc/13.2.0 on the amd box, but it also happens in the CI
Additional context
Discover this while debugging #1556
The text was updated successfully, but these errors were encountered: