Opened 11 years ago

Closed 11 years ago

Last modified 12 days ago

#367 closed Bug (fixed)

AGRIF and "down" constant in histvert calls

Reported by: sga Owned by: nemo
Priority: low Milestone:
Component: AGRIF Version: trunk
Severity: Keywords:


For reasons that I don't pretend to understand, the AGRIF preprocessor conv seems to be confused by the character constant "down" that has been introduced (trunk revision 1335). With this present it fails to write entries for the gdept_0 and gdepw_0 arrays into the interface calls (e.g. Sub_Loop_dia_ptr_wri). The solution seems to be to declare a local character variable, set this to "down" and pass this instead in the histvert call. Routines affected are diawri.F90, diaptr.F90 and limwri_2.F90.

Commit History (1)


Fix Agrif issue with constant character char, see ticket #367

Change History (2)

comment:1 Changed 11 years ago by rblod

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

Fixed in changing the conv (in a way I don't pretend to understand)

comment:2 Changed 12 days ago by jwhile

In 13355:

Merged in changes to fix 1d running - documented in UKMO ocean utils ticket 367

Note: See TracTickets for help on using tickets.