Report or discuss software problems and other woes
Moderators: arango , robertson
LauraB
Posts: 23 Joined: Mon Jul 30, 2007 9:13 pm
Location: Dalhousie University
Contact:
#1
Unread post
by LauraB » Wed Jul 08, 2009 4:38 pm
Hi community,
I'm trying a run with nudging to climatology for tracers and 3D momentum, i.e. cpp options:
Code: Select all
#define TCLM_NUDGING
#define M3CLM_NUDGING
#define ANA_NUDGCOEF
#define ANA_TCLIMA
#define ANA_M3CLIMA
#undef TCLIMATOLOGY
#undef M3CLIMATOLOGY
I get the following error:
rhs3d.f90:110.39:
& CLIMA(ng) % uclm, &
1
Error: 'uclm' at (1) is not a member of the 't_clima' structure
make: *** [Build/rhs3d.o] Error 1
Compilation works if I define M3CLIMATOLOGY instead of ANA_M3CLIMA... Any suggestions?
Thanks!
Laura
kate
Posts: 4090 Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA
#2
Unread post
by kate » Wed Jul 08, 2009 9:21 pm
LauraB wrote: Hi community,
I'm trying a run with nudging to climatology for tracers and 3D momentum, i.e. cpp options:
Code: Select all
#define TCLM_NUDGING
#define M3CLM_NUDGING
#define ANA_NUDGCOEF
#define ANA_TCLIMA
#define ANA_M3CLIMA
#undef TCLIMATOLOGY
#undef M3CLIMATOLOGY
Your problem is here - you need to #define TCLIMATOLOGY to make that storage available to the model. Likewise, #define M3CLIMATOLOGY.
LauraB
Posts: 23 Joined: Mon Jul 30, 2007 9:13 pm
Location: Dalhousie University
Contact:
#3
Unread post
by LauraB » Thu Jul 09, 2009 12:32 am
Thanks Kate!
from a previous post (
viewtopic.php?f=1&t=709 ) I had understood that TCLIMATOLOGY (or M3CLIMATOLOGY) was used when a netcdf file was given to provide the climatological data, while ANA_**CLIMA was used when the clim data was an analytical function...
But with both defined, it runs and does not ask for a climatological .nc file, so it sounds good to me!
Regards,
Laura