Opened 4 years ago
Closed 4 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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
12631 | jchanut | 2020-03-31T10:55:26+02:00 | Solve #2400 and replace at the same time useless area array by e1e2t |
12630 | jchanut | 2020-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 years ago by jchanut
comment:2 Changed 4 years ago by jchanut
In 12631:
comment:3 Changed 4 years ago by jchanut
comment:4 Changed 4 years ago by jchanut
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 12630: