Closed penguian closed 4 years ago
At line 462 of https://github.com/COSIMA/cice5/blob/master/drivers/auscom/cpl_interface.F90 in subroutine pack_coupling_array, the variable offset should be initialised to 0. The current lack of initialisation causes errors such as
subroutine pack_coupling_array
offset
Segmentation fault: address not mapped to object
History: In commit https://github.com/COSIMA/cice5/commit/c132689bce7801fe7fe618163d7956c412e3ec1b which resolves issue #21, at line 465 in subroutine pack_coupling_array, the variable offset should have been initialised to 0. Compare with line 436 in subroutine unpack_coupling_array in the same commit.
subroutine unpack_coupling_array
At line 462 of https://github.com/COSIMA/cice5/blob/master/drivers/auscom/cpl_interface.F90 in
subroutine pack_coupling_array
, the variableoffset
should be initialised to 0. The current lack of initialisation causes errors such asHistory: In commit https://github.com/COSIMA/cice5/commit/c132689bce7801fe7fe618163d7956c412e3ec1b which resolves issue #21, at line 465 in
subroutine pack_coupling_array
, the variableoffset
should have been initialised to 0. Compare with line 436 insubroutine unpack_coupling_array
in the same commit.