New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1298 (division by zero when lk_mpp activated in sbcice_lim_2.F90) – NEMO

Opened 8 years ago

Closed 8 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: v3.6
Severity: Keywords:
Cc:

Description

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)

ChangesetAuthorTimeChangeLog
4609cetlod2014-03-31T15:06:20+02:00

bugfix on PISCES/P2Z, see ticket #1298

Change History (1)

comment:1 Changed 8 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:

https://forge.ipsl.jussieu.fr/nemo/changeset/4621/trunk

Note: See TracTickets for help on using tickets.