Opened 2 months ago

Closed 7 weeks ago

#2342 closed Defect (fixed)

missing initialisation in bdyini

Reported by: molines Owned by: systeam
Priority: low Milestone:
Component: BDY Version: release-4.0
Severity: minor Keywords: bdyini
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 (2)

comment:1 Changed 7 weeks ago by smasson

In 12142:

trunk: minor bugfix in bdyini, see #2342

comment:2 Changed 7 weeks ago by smasson

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