Opened 2 years ago

Closed 2 years ago

#2006 closed Defect (fixed)

ORCA2_LIM3_PISCES crashes after 179 timesteps in dev_merge_2017

Reported by: cbricaud Owned by:
Priority: low Milestone: 2018 release-4.0
Component: OCE Version: trunk
Severity: minor Keywords: dev_merge_2017
Cc:

Description (last modified by nemo)

Context

ORCA2_LIM3_PISCES crashes after 179 timesteps in dev_merge_2017 ( SETTE tests, but 1500 TS instead of 150 for LONG run)

ORCA2_LIM3_PISCES is also not reproducible ( diff in run.stat after 71 timesteps )

Analysis

dev_METO_MERCATOR_2017 : same problem
dev_METO_2017 : no problem
dev_MERCATOR_2017 : same problem

dynspg_ts uses rn_scal_load.
rn_scal_load value is defined and read in tideini, even if ln_tide=F
As rn_scal_load is not initialized, its value is read in namelist ( rn_scal_load = 0.094 in namelist_ref )

Recommendation

I propose to force rn_scal_load = 0. when ln_tide=F

  IF( ln_tide ) THEN
      [...]
  ELSE
      rn_scal_load = 0._wp 
      ! rn_scal_load is used in dynspg_ts, even if ln_tide=F ;
      ! if (rn_scal_load is =/ 0. .AND. ln_tide=F in namelist), it will modify results.
      IF(lwp) WRITE(numout,*)
      IF(lwp) WRITE(numout,*) 'tide_init : tidal components not used (ln_tide = F)'
      IF(lwp) WRITE(numout,*) '~~~~~~~~~ '
      IF(lwp) WRITE(numout,*) '         Fraction of SSH used in scal. approx.   rn_scal_load = ', rn_scal_load
      RETURN
   ENDIF

With this fix, ORCA2LIM3PISCES "LONG SETTE run" runs 1500 timesteps.
But it is still not reproducible ( diff in run.stat after 71 timesteps )

Commit History (2)

ChangesetAuthorTimeChangeLog
9338jchanut2018-02-20T12:04:44+01:00

Set rn_scal_load=0 without tidal forcing, #2006

9337jchanut2018-02-20T12:00:58+01:00

Set rn_scal_load=0 without tidal forcing, #2006

Change History (7)

comment:1 Changed 2 years ago by cbricaud

  • Milestone set to 2018 release-4.0

comment:2 Changed 2 years ago by cbricaud

  • Version set to release-4.0

comment:3 Changed 2 years ago by nemo

  • Description modified (diff)

comment:4 Changed 2 years ago by nicolasmartin

  • Version changed from release-4.0 to trunk

Switch to 'trunk' version, 4.0 is not officially released.
I don't even know how you set it, the entry should not be available from the drop-down menu.

comment:5 Changed 2 years ago by jchanut

In 9337:

Set rn_scal_load=0 without tidal forcing, #2006

comment:6 Changed 2 years ago by jchanut

In 9338:

Set rn_scal_load=0 without tidal forcing, #2006

comment:7 Changed 2 years ago by clevy

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.