#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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
12142 | smasson | 2019-12-10T12:50:13+01:00 | trunk: minor bugfix in bdyini, see #2342 |
Change History (3)
comment:1 Changed 5 years ago by smasson
comment:2 Changed 5 years ago by smasson
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 3 years ago by nemo
- Keywords v4.0 added
Note: See
TracTickets for help on using
tickets.
In 12142: