Opened 15 years ago
Closed 15 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: | v3.0 |
Severity: | Keywords: | ||
Cc: |
Description
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!
Steven
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
1271 | rblod | 2009-01-15T09:12:00+01:00 | Addapt AGRIF routines to the new TOP organization, clean some routines and add a sponge layer for passive tracers, see ticket #293 |
Attachments (1)
Change History (3)
Changed 15 years ago by sga
comment:1 Changed 15 years ago by rblod
comment:2 Changed 15 years ago by ctlod
- Resolution set to fixed
- Status changed from new to closed
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.