Opened 3 years ago

Last modified 8 months ago

#1856 assigned Defect

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 (8)

comment:1 Changed 3 years ago by nemo

  • Keywords allocation added; allocate removed

comment:2 Changed 2 years ago by clevy

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

comment:3 Changed 23 months ago by nemo

  • Keywords allocation/deallocation added; allocation removed

comment:4 Changed 23 months ago by nemo

  • Keywords release-3.6* added

comment:5 Changed 23 months ago by nemo

  • Keywords release-3.6* removed

comment:6 Changed 8 months ago by jchanut

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

comment:7 Changed 8 months ago by jchanut

  • Version changed from release-3.6 to trunk

comment:8 Changed 8 months ago by gsamson

  • Owner changed from rbourdal to gsamson
Note: See TracTickets for help on using tickets.