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.
#2520 (Invalid Memory Access in tra_adv_cen) – NEMO

Opened 2 years ago

Closed 2 years ago

Last modified 12 months ago

#2520 closed Bug (fixed)

Invalid Memory Access in tra_adv_cen

Reported by: francesca Owned by: systeam
Priority: low Milestone: Unscheduled
Component: TRA Version: v4.0
Severity: major Keywords: TRA access bad memory v4.0
Cc:

Description

Context

There is a memory access error in traadv_cen.F90 file (line 129) of the r4.0-HEAD NEMO version.
It happens since the ji index of DO loop starts from 1 and the value of ztu at the line 133 is read at the position ji-1.
I think that ji should start from 2..

Moreover, probably a communication on zwx and zwy should be added after the loop.

Analysis

...

Fix

...

Commit History (2)

ChangesetAuthorTimeChangeLog
13457francesca2020-09-10T17:48:13+02:00

fix ticket #2520 in trunk

13456francesca2020-09-10T17:42:42+02:00

fix ticket #2520 in r4.0-HEAD

Change History (5)

comment:1 Changed 2 years ago by clem

I concur. I think you can proceed to the fix in 4.0-HEAD and in the trunk...

comment:2 Changed 2 years ago by francesca

In 13456:

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

comment:3 Changed 2 years ago by francesca

In 13457:

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

comment:4 Changed 2 years ago by francesca

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

comment:5 Changed 12 months ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.