Closed penguian closed 6 years ago
@mgk576@nci.org.au _uploaded file casa_cable.F90
(43.4 KiB)_
@vxh599@nci.org.au changed status from new
to closed
@vxh599@nci.org.au changed resolution from ` to
fixed`
@vxh599@nci.org.au commented
Fixed in https://trac.nci.org.au/svn/cable/branches/Share/CMIP6-MOSRS revision 4825
@vxh599@nci.org.au changed status from closed
to reopened
@vxh599@nci.org.au changed resolution from fixed
to ``
@vxh599@nci.org.au changed owner from yxw599
to vxh599
@vxh599@nci.org.au changed status from reopened
to new
@vxh599@nci.org.au changed status from new
to closed
@vxh599@nci.org.au changed resolution from ` to
fixed`
@jxs599@nci.org.au changed milestone from 2. Submission
to 1. Closed
@ccc561@nci.org.au changed keywords from seg fault, casa
to seg fault, casa nogit
keyword_casa_nogit
keyword_seg_fault
owner:vxh599@nci.org.au
resolution_fixed
type_defect
| by mgk576In cable_canopy.F90, write_casa_dump, there is a call:
CALL put_var_ncr2(ncid, var_name(13), real(climate%mtemp_max,r_2) ,n_call )
But if call_climate has been set to false the memory for mtemp_max has not been allocated and you will get a seg faut.
Solution:
IF (cable_user%CALL_climate) THEN CALL put_var_ncr2(ncid, var_name(13), real(climate%mtemp_max,r_2), n_call) END IF
Issue migrated from trac:171 at 2023-11-27 11:23:21 +1100