Opened 3 years ago

Closed 7 months ago

#1856 closed Defect (fixed)

Issues with zero-sized arrays with bdy

Reported by: jchanut Owned by: gsamson
Priority: low Milestone:
Component: BDY Version: trunk
Severity: minor Keywords: BDY allocation/deallocation
Cc: rbourdal

Description

In the mpp case, some bdy arrays have size 0. Simply because the mpp sub-domain does not contain any open boundary points. These are still allocated to zero which is handled in Fortran but Guillaume Samson noticed side effects depending on the compiler (array size unrecognised afterwards).

It would be better to avoid such zero-sized allocations in bdyini and bydta.

Commit History (0)

(No commits)

Change History (9)

comment:1 Changed 3 years ago by nemo

  • Keywords allocation added; allocate removed

comment:2 Changed 3 years ago by clevy

  • Cc rbourdal added
  • Owner changed from jchanut to rbourdal
  • Status changed from new to assigned

comment:3 Changed 3 years ago by nemo

  • Keywords allocation/deallocation added; allocation removed

comment:4 Changed 3 years ago by nemo

  • Keywords release-3.6* added

comment:5 Changed 3 years ago by nemo

  • Keywords release-3.6* removed

comment:6 Changed 17 months ago by jchanut

  • Component changed from OCE to BDY
  • Severity set to minor

comment:7 Changed 17 months ago by jchanut

  • Version changed from release-3.6 to trunk

comment:8 Changed 17 months ago by gsamson

  • Owner changed from rbourdal to gsamson

comment:9 Changed 7 months ago by smasson

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