Opened 2 years ago

Closed 2 years 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



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



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 ...



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


Commit History (1)


trunk: minor bugfix in bdyini, see #2342

Change History (2)

comment:1 Changed 2 years ago by smasson

In 12142:

trunk: minor bugfix in bdyini, see #2342

comment:2 Changed 2 years ago by smasson

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