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.
#2400 (iom_put() unallocated array "area" in diaar5.F90) – NEMO

Opened 3 years ago

Closed 3 years ago

#2400 closed Bug (fixed)

iom_put() unallocated array "area" in diaar5.F90

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: DIA Version: trunk
Severity: minor Keywords:
Cc:

Description

Context

No matter one output diagnostics in dia_ar5 routine (i.e. l_ar5=F), the code attempts to output some variables and in particular the variable area(:,:) which is not allocated in that case. At least, ECMWF CRAY complains about this.

Analysis

the faulty line:

CALL iom_put( 'areacello', area(:,:) )

Fix

IF ( l_ar5 ) CALL iom_put( 'areacello', area(:,:) )

or

CALL iom_put( 'areacello', e1e2t(:,:) )

Commit History (2)

ChangesetAuthorTimeChangeLog
12631jchanut2020-03-31T10:55:26+02:00

Solve #2400 and replace at the same time useless area array by e1e2t

12630jchanut2020-03-31T10:54:04+02:00

Solve #2400 and replace at the same time useless area array by e1e2t

Change History (4)

comment:1 Changed 3 years ago by jchanut

In 12630:

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

comment:2 Changed 3 years ago by jchanut

In 12631:

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

comment:3 Changed 3 years ago by jchanut

comment:4 Changed 3 years ago by jchanut

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.