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.
#2342 (missing initialisation in bdyini) – NEMO

Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#2342 closed Defect (fixed)

missing initialisation in bdyini

Reported by: molines Owned by: systeam
Priority: low Milestone:
Component: BDY Version: v4.0
Severity: minor Keywords: bdyini v4.0
Cc:

Description

Context

Spurious values in ibr_max (seen in ocean.output) from bdyini. ( See on some congiguration on jeab-zay HPC)

...

Analysis

bdyrdta array is allocated with first dimension = max length of the BDY.

Then it is filled up for each boundary for the existing data ( extra elements are then uninitialized and possibly random ... )

When computing ibr_max:

 ibr_max = MAXVAL( nbrdta(:,igrd,ib_bdy) )

We can possibly get the garbage ...

...

Recommendation

Initialize bdy arrays ( ro 0 or other flag values) after allocation in bdyini

...

Commit History (1)

ChangesetAuthorTimeChangeLog
12142smasson2019-12-10T12:50:13+01:00

trunk: minor bugfix in bdyini, see #2342

Change History (3)

comment:1 Changed 4 years ago by smasson

In 12142:

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

comment:3 Changed 2 years ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.