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.
#2073 (Out of bounds of passive tracers when using PISCES or another SMS model together with CFC) – NEMO

Opened 5 years ago

Closed 5 years ago

Last modified 16 months ago

#2073 closed Defect (fixed)

Out of bounds of passive tracers when using PISCES or another SMS model together with CFC

Reported by: cetlod Owned by: cetlod
Priority: low Milestone:
Component: TOP Version: v3.6
Severity: minor Keywords: v3.6
Cc:

Description (last modified by nicolasmartin)

Context

NEMO-TOP is designed to be able to simulate SMS models and inert tracers at the same time. When trying to uses PISCES+CFC the model crashes because the tracer loop is not well defined in the main CFC routine

Analysis

in trcsms_cfc.F90, an out-of-bounds occurs when trying to read and write the cumulative fluxes in the restart

Recommendation

the loop below

         DO jn = jp_cfc0, jp_cfc1
            CALL iom_rstput( kt, nitrst, numrtw, 'qint_'//ctrcnm(jn), qint_cfc(:,:,jn) )
         END DO

should be

         jl = 0
         DO jn = jp_cfc0, jp_cfc1
            jl = jl + 1
            CALL iom_get( numrtr, jpdom_autoglo, 'qint_'//ctrcnm(jn), qint_cfc(:,:,jl) )
         END DO

...

Commit History (2)

ChangesetAuthorTimeChangeLog
9456cetlod2018-04-04T09:24:34+02:00

dev_merge : Bugfix to avoid out-of-bounds in CFC model, see ticket #2073

9455cetlod2018-04-04T09:21:45+02:00

Bugfix to avoid out-of-bounds in CFC model, see ticket #2073

Change History (6)

comment:1 Changed 5 years ago by cetlod

In 9455:

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

comment:2 Changed 5 years ago by cetlod

In 9456:

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

comment:3 Changed 5 years ago by nicolasmartin

  • Description modified (diff)

comment:4 Changed 5 years ago by nicolasmartin

  • Owner set to cetlod
  • Status changed from new to assigned

comment:5 Changed 5 years ago by cetlod

  • Component changed from OCE to TOP
  • Resolution set to fixed
  • Status changed from assigned to closed

Done in v4.0

comment:6 Changed 16 months ago by nemo

  • Keywords v3.6 added
Note: See TracTickets for help on using tickets.