Opened 5 months ago

Closed 4 months 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 4 months ago by jchanut

In 12630:

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

comment:2 Changed 4 months ago by jchanut

In 12631:

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

comment:3 Changed 4 months ago by jchanut

  • Version changed from release-4.2 to trunk

comment:4 Changed 4 months ago by jchanut

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