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

Opened 3 years ago

Closed 3 years ago

#2428 closed Bug (fixed)

do not try to access unassociated pointers in bdydta

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: BDY Version: trunk
Severity: minor Keywords:
Cc:

Description

Context

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
12638smasson2020-04-01T12:52:02+02:00

trunk: avoid to use unassociated pointers in bdydta, see #2428

Change History (2)

comment:1 Changed 3 years ago by smasson

In 12638:

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

comment:2 Changed 3 years ago by smasson

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

fixed in [12638]

Note: See TracTickets for help on using tickets.