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.
#2429 (do not try to access unassociated pointers in bdydta) – NEMO

Opened 4 years ago

Closed 4 years ago

#2429 closed Bug (fixed)

do not try to access unassociated pointers in bdydta

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: BDY Version: v4.0.*
Severity: minor Keywords:
Cc:

Description (last modified by smasson)

Context

same as #2428 but for 4.0-HEAD

We access unassociated pointers in bdydta
Some compilers (gcc) do not like this... and one can understand...

Analysis

ice_var_itd_NcMc (called by bdydta) use SIZE on unassociated pointers (phti) on MPI subdomains without any BDY.
This create a complete mess...

Fix

make sure we don't try to use unassociated pointers in bdydta

Commit History (1)

ChangesetAuthorTimeChangeLog
12639smasson2020-04-01T13:06:26+02:00

r4.0-HEAD: avoid to use unassociated pointers in bdydta, see #2429

Change History (3)

comment:1 Changed 4 years ago by smasson

  • Description modified (diff)

comment:2 Changed 4 years ago by smasson

In 12639:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 4 years ago by smasson

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [12639]

Note: See TracTickets for help on using tickets.