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.
#2422 (ICE_AGRIF does not run if compiled with debug options) – NEMO

Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#2422 closed Bug (fixed)

ICE_AGRIF does not run if compiled with debug options

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: USR Version: v4.0.*
Severity: minor Keywords: v4.0.*
Cc:

Description

Context

same as #2421 but for r4.0-HEAD

jpk = 1 in ICE_AGRIF. This generates out-of-bounds in domzgr at this line

         bathy  (ji,jj) = gdepw_0(ji,jj,ikb+1)

Analysis

the model is not designed to ru with jpk = 1. It needs at least 2 levels to be able to define the surface and the bottom at W levels:

— W jk = 1 — surface
— T jk = 1 — 
— W jk = 2 — bottom
— T jk = 2 — 

Fix

define jpk = 2 in ICE_AGRIF/MY_SRC/usrdef_nam and remove a few small tricks added to run with jpk = 1

Commit History (1)

ChangesetAuthorTimeChangeLog
12598smasson2020-03-25T10:02:31+01:00

r4.0-HEAD: ice_agrif bugfix, see #2422

Change History (4)

comment:1 Changed 4 years ago by smasson

In 12598:

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

comment:2 Changed 4 years ago by smasson

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

fixed in [12598]

comment:3 Changed 2 years ago by nemo

  • Keywords release-4.0* added

comment:4 Changed 2 years ago by nemo

  • Keywords v4.0.* added; release-4.0* removed
Note: See TracTickets for help on using tickets.