Opened 12 years ago

Closed 12 years ago

Last modified 12 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: release-2
Severity: Keywords:


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)


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

Change History (3)

comment:1 Changed 12 years ago by ctlod

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

comment:2 Changed 12 years ago by ctlod

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

comment:3 Changed 12 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.