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.
#1520 (Straight Boundary Segments from Namelist causes Memory Error Crash) – NEMO

Opened 9 years ago

Closed 9 years ago

#1520 closed Bug (fixed)

Straight Boundary Segments from Namelist causes Memory Error Crash

Reported by: sallen@… Owned by: nemo
Priority: normal Milestone:
Component: OCE Version: v3.6
Severity: Keywords:
Cc:

Description

NEMO-3.6 svn at r5072

bdyini.F90

The allocated size of the arrays are not set correctly if you use straight boundary segments of less than a whole side and set them in the namelist. The variable jpbdtau does not get set and this causes a memory error when the boundary data is read. To fix this add

jpbdtau = jpbdtas

in bdyini.F90, right after jpbdtas is calculated on line 482.

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 9 years ago by sallen@…

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

Updating to NEMO-3.6 at r5258 (current version)

Fixed this problem.

Note: See TracTickets for help on using tickets.