Opened 7 years ago

Closed 7 years ago

#1298 closed Bug (fixed)

division by zero when lk_mpp activated in sbcice_lim_2.F90

Reported by: cbricaud Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.6
Severity: Keywords:
Cc: Branch review:
MP ready?: Task progress:


ninfo is not initialized and is read in lim_dia_init_2 only if lk_mpp=F

so, in sbcice_lim_2.F90 , line 224, MOD( kt+nn_fsbc-1, ninfo ) == 0 give a divisiob by zero

Commit History (1)


bugfix on PISCES/P2Z, see ticket #1298

Change History (1)

comment:1 Changed 7 years ago by cbricaud

  • Resolution set to fixed
  • Status changed from new to closed

remark: it is detected only if debug option suc as -g -C -qsigtrap -qfloat=nans -qflttrap=overflow -qflttrap=overflow:underflow:zerodivide:invalid:enable are activated when compiling….

commit rev 4621:

Note: See TracTickets for help on using tickets.