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.
#130 (Hardwired arguments in call to prihre in domzgr::zgr_zps cause out-of-bounds errors) – NEMO

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#130 closed Bug (fixed)

Hardwired arguments in call to prihre in domzgr::zgr_zps cause out-of-bounds errors

Reported by: a.r.porter@… Owned by: ctlod
Priority: low Milestone:
Component: OCE Version: v2
Severity: Keywords:
Cc:

Description

The printing routine prihre is called from zgr_zps in the domzgr module with hardwired arguments. Those arguments seem to specify which section of an array to print. Depending on the processor grid being used, it is possible that processor 0 will not have that section of the array and therefore the WRITE statements within prihre are referencing elements beyond the declared bounds of the array.

See e.g. line 408 of domzgr_zps.h90.

Commit History (1)

ChangesetAuthorTimeChangeLog
1099ctlod2008-06-09T10:58:04+02:00

trunk: code review stuff, see tickets: #205, #191, #130

Change History (3)

comment:1 Changed 16 years ago by ctlod

  • Owner changed from NEMO team to ctlod
  • Status changed from new to assigned

comment:2 Changed 16 years ago by ctlod

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

comment:3 Changed 16 years ago by ctlod

This is clearly a mistake and has been removed with the revision #1099 and associated to the tickets: #205

Note: See TracTickets for help on using tickets.