New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1856 (Issues with zero-sized arrays with bdy) – NEMO

Opened 7 years ago

Closed 4 years 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 7 years ago by nemo

  • Keywords allocation added; allocate removed

comment:2 Changed 6 years ago by clevy

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

comment:3 Changed 6 years ago by nemo

  • Keywords allocation/deallocation added; allocation removed

comment:4 Changed 6 years ago by nemo

  • Keywords release-3.6* added

comment:5 Changed 6 years ago by nemo

  • Keywords release-3.6* removed

comment:6 Changed 5 years ago by jchanut

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

comment:7 Changed 5 years ago by jchanut

  • Version changed from v3.6 to trunk

comment:8 Changed 5 years ago by gsamson

  • Owner changed from rbourdal to gsamson

comment:9 Changed 4 years ago by smasson

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