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.
#2408 (minor bugfix in ice control print in coupled mode) – NEMO

Opened 3 years ago

Closed 3 years ago

#2408 closed Bug (fixed)

minor bugfix in ice control print in coupled mode

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: SI3 Version: trunk
Severity: minor Keywords:
Cc:

Description

Context

In coupled mode (ln_cpl = T), model stop on undefined value in si3 when compiled with debugging options and sn_cfctl%l_prtctl = .true.
This happen typically, when you try to find an error and you activate all print and debugging options...

Analysis

When ln_cpl = T and nn_ice > 1 flux variables (qsr, qns, emp...) are not defined in the call to sbc_cpl_rcv. So when ice_prt3D, that is called several times in the ice dynamics (before the call to ice_sbc_flx), try to print informations related to qsr, qns... it is accessing undefined values.

Fix

Simply suppress the print of these lines...
Clement suggested to remove them in any case as ice_prt3D verbosity is much too high.

Commit History (1)

ChangesetAuthorTimeChangeLog
12544smasson2020-03-13T10:23:31+01:00

trunk: minor bugfix in ice control print, see #2408

Change History (2)

comment:1 Changed 3 years ago by smasson

In 12544:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 3 years ago by smasson

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

done in [12544]

Note: See TracTickets for help on using tickets.