I get the following compile error when trying to compile the dev/gfdl branch of SIS2:
src/SIS_sum_output.F90(174): error #6460: This is not a field name that is defined in the encompassing structure. [WATER_CELL_PREV]
allocate(CS%water_cell_prev(G%isd:G%ied, G%jsd:G%jed), source=0.0)
and similar errors for CS%heat_cell_prev and CS%salt_cell_prev.
I get the following compile error when trying to compile the dev/gfdl branch of SIS2:
and similar errors for
CS%heat_cell_prev
andCS%salt_cell_prev
.CS is
type(SIS_sum_out_CS
https://github.com/NOAA-GFDL/SIS2/blob/87ff9e51982f8c930db9720274b88cec6d4a2b39/src/SIS_sum_output.F90#L104-L105Which does not have the
water_cell_prev
heat_cell_prev
andsalt_cell_prev
defined. https://github.com/NOAA-GFDL/SIS2/blob/dev/gfdl/src/SIS_sum_output.F90#L47-L93Renaming
*_col_prev
to*_cell_prev
in the derived type solves the issue, but I don't know if that is the right thing to do.