Opened 12 years ago

Closed 12 years ago

#293 closed Bug (fixed)

Compilation problems when using TOP and AGRIF

Reported by: sga@… Owned by: nemo
Priority: low Milestone:
Component: TOP Version: release-3.0
Severity: Keywords:


Hello, I've been trying to compile my own passive tracer code (introduced into MY_TRC) when using AGRIF with revision 1230 of the trunk. There were a number of small problems noted by my compiler. I've attached them as a patch file against revision 1230.

It objects to

USE oce_trc, ONLY : ztrtrd ⇒ ua

So I've replaced it with an explicit declaration of an allocatable array which is then assigned when needed.
This occurs in trcnxt.F90, trczdf_imp.F90, trczdf_iso.F90 and trczdf_exp.F90

There are similar problems with arrays zwx, zwy, zws, zwd and zavs, but they don't need to be allocatable.

The agrif routines don't seem to need 'USE trcstp' and it causes circular dependencies in the make, so I removed it.
Also it cannot find module sms, so I've replaced it with 'USE trc'.

These may be just compiler issues, so feel free to ignore me!


Commit History (1)


Addapt AGRIF routines to the new TOP organization, clean some routines and add a sponge layer for passive tracers, see ticket #293

Attachments (1)

tdiff (7.9 KB) - added by sga 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by sga

comment:1 Changed 12 years ago by rblod

AGRIF was indeed not phased with the last version of TOP. I have fixed the bugs you reported, also added a sponge layer for passive tracers (basically a copy -paste of the active tracers one), and updated the nesting tools available on the web to be able to interpolate a coarse restart. I have only tested this change with ORCA2_LIM_PISCES.

comment:2 Changed 12 years ago by ctlod

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