problems with the addition of tide forcing

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
mistral
Posts: 23
Joined: Wed Jan 16, 2008 11:17 pm
Location: Privat

problems with the addition of tide forcing

#1 Unread post by mistral »

Hello everyone

I'm using lake_signel as a test of starting.
I created a file of tidal forcing.
on my PC works perfectly but does not work on the cluster.
this is the problem and .h files
...
...
...
31 106.50 212.50 195.50 208.00 V-points

Maximum halo size in XI and ETA directions:

HaloSizeI(1) = 357
HaloSizeJ(1) = 81
TileSide(1) = 113
TileSize(1) = 2373


Activated C-preprocessing Options:

CREUS Cape Creus Test Case
ANA_BSFLUX Analytical kinematic bottom salinity flux.
ANA_BTFLUX Analytical kinematic bottom temperature flux.
ANA_FSOBC Analytical free-surface boundary conditions.
ANA_M2OBC Analytical 2D momentum boundary conditions.
ANA_SMFLUX Analytical kinematic surface momentum flux.
ANA_SSFLUX Analytical kinematic surface salinity flux.
ANA_STFLUX Analytical kinematic surface temperature flux.
ASSUMED_SHAPE Using assumed-shape arrays.
AVERAGES Writing out time-averaged fields.
CURVGRID Orthogonal curvilinear grid.
DJ_GRADPS Parabolic Splines density Jacobian (Shchepetkin, 2002).
DOUBLE_PRECISION Double precision arithmetic.
EAST_FSCHAPMAN Eastern edge, free-surface, Chapman condition.
EAST_M2FLATHER Eastern edge, 2D momentum, Flather condition.
EAST_M3RADIATION Eastern edge, 3D momentum, radiation condition.
EAST_TRADIATION Eastern edge, tracers, radiation condition.
GLS_MIXING Generic Length-Scale turbulence closure.
KANTHA_CLAYSON Kantha and Clayson stability function formulation.
MASKING Land/Sea masking.
MPI MPI distributed-memory configuration.
NONLINEAR Nonlinear Model.
!NONLIN_EOS Linear Equation of State for seawater.
NORTHERN_WALL Wall boundary at Northern edge.
N2S2_HORAVG Horizontal smoothing of buoyancy and shear.
POWER_LAW Power-law shape time-averaging barotropic filter.
PROFILE Time profiling activated .
K_GSCHEME Third-order upstream advection of TKE fields.
RADIATION_2D Use tangential phase speed in radiation conditions.
!RST_SINGLE Double precision fields in restart NetCDF file.
SALINITY Using salinity.
SOLVE3D Solving 3D Primitive Equations.
SOUTHERN_WALL Wall boundary at Southern edge.
SPLINES Conservative parabolic spline reconstruction.
SSH_TIDES Add tidal elevation to SSH climatology.
TCLIMATOLOGY Processing tracer climatology data.
TCLM_NUDGING Nudging toward tracer climatology.
THREE_GHOST Using three Ghost Points in halo regions.
TS_MPDATA Recursive flux corrected MPDATA 3D advection of tracers.
UV_ADV Advection of momentum.
UV_COR Coriolis term.
UV_U3HADVECTION Third-order upstream horizontal advection of 3D momentum.
UV_C4VADVECTION Fourth-order centered vertical advection of momentum.
UV_TIDES Add tidal currents to 2D momentum climatologies.
VAR_RHO_2D Variable density barotropic mode.
WESTERN_WALL Wall boundary at Western edge.

CHECKDEFS - no bottom stress formulation is selected.
Node # 25 (pid= 19121) is active.

Elapsed CPU time (seconds):

Node # 0 CPU: 0.036
Node # 2 CPU: 0.100
Node # 1 CPU: 0.096
Node # 4 CPU: 0.100
Node # 10 CPU: 0.100
Node # 3 CPU: 0.072
Node # 6 CPU: 0.076
Node # 16 CPU: 0.096
Node # 18 CPU: 0.096
Node # 8 CPU: 0.100
Node # 17 CPU: 0.096
Node # 7 CPU: 0.100
Node # 21 CPU: 0.016
Node # 9 CPU: 0.100
Node # 20 CPU: 0.068
Node # 22 CPU: 0.096
Node # 12 CPU: 0.100
Node # 26 CPU: 0.092
Node # 5 CPU: 0.096
Node # 11 CPU: 0.100
Node # 23 CPU: 0.096
Node # 24 CPU: 0.096
Node # 14 CPU: 0.108
Node # 29 CPU: 0.096
Node # 27 CPU: 0.096
Node # 13 CPU: 0.056
Node # 28 CPU: 0.096
Node # 15 CPU: 0.100
Node # 31 CPU: 0.096
Node # 19 CPU: 0.076
Node # 30 CPU: 0.088
Node # 25 CPU: 0.072
Total: 2.812

Nonlinear model elapsed time profile:

Total: 0.000 0.0000

Nonlinear model message Passage profile:

Message Passage: data broadcast .................. 0.104 ( 3.6986 %)
Total: 0.104 3.6986

All percentages are with respect to total time = 2.812

ROMS/TOMS - Output NetCDF summary for Grid 01:

ROMS/TOMS - Configuration error ..... exit_flag: 5



----------------------------------

#define CURVGRID
#define UV_ADV
#define UV_COR
#define DJ_GRADPS
#define TS_MPDATA
#define SALINITY
#define SOLVE3D
#define SPLINES
#define MASKING
#define AVERAGES
#if defined AVERAGES && defined BEDLOAD
# define AVERAGES_BEDLOAD
#endif
#undef FLOATS


#define NORTHERN_WALL
#define SOUTHERN_WALL
#define WESTERN_WALL
#define RADIATION_2D
#define EAST_M3RADIATION
#define EAST_TRADIATION
#define EAST_FSCHAPMAN
#define ANA_FSOBC
#define EAST_M2FLATHER
#define ANA_M2OBC
#define FSBOC REDUCED
#define UV_TIDES
#define SSH_TIDES


#undef MB_BBL
#undef SG_BBL
#undef SSW_BBL

#ifdef SG_BBL
#ifdef SG_BBL
# define SG_CALC_ZNOT
# undef SG_LOGINT
#endif
#ifdef MB_BBL
# define MB_CALC_ZNOT
# undef MB_Z0BIO
# undef MB_Z0BL
# undef MB_Z0RIP
#endif
#ifdef SSW_BBL
# define SSW_CALC_ZNOT
# undef SSW_LOGINT
#endif

#if defined MB_BBL || defined SG_BBL || defined SSW_BBL
# define ANA_WWAVE
#endif

#undef SEDIMENT
#ifdef SEDIMENT
# define SUSPLOAD
# define BEDLOAD_SOULSBY
# undef SED_MORPH
#endif

#if defined SEDIMENT || defined SG_BBL || defined MB_BBL || defined SSW_BBL
# define ANA_SEDIMENT
#endif

#ifdef MASKING
# undef ANA_MASK
#endif

#undef ANA_GRID
#undef ANA_INITIAL

#undef ANA_TCLIMA
#define TCLIMATOLOGY
#undef M3CLIMATOLOGY
#define TCLM_NUDGING
#define ANA_SMFLUX
#define ANA_STFLUX
#define ANA_SSFLUX
#define ANA_BPFLUX
#define ANA_BTFLUX
#define ANA_BSFLUX
#define ANA_SPFLUX
#define ANA_SRFLUX

/* define one vertical mixing scheme here*/

#undef ANA_VMIX
#undef MY25_MIXING
#define GLS_MIXING
#if defined GLS_MIXING || defined MY25_MIXING
# define KANTHA_CLAYSON
# define N2S2_HORAVG
# undef CRAIG_BANNER
# undef CHARNOK
#endif
----------------------------------------------------

you have any ideas???


best regards

User avatar
susonic
Posts: 170
Joined: Tue Aug 21, 2007 5:44 pm
Location: UST21 / Korea
Contact:

Re: problems with the addition of tide forcing

#2 Unread post by susonic »

CHECKDEFS - no bottom stress formulation is selected.
See above error message. You need to give the formulation which caculates the bottom stress.
In ROMS, we have logarithmic, Linear and Quadratic bottom friction formulation.
Those are UV_LOGDRAG, UV_LDRAG and UV_QDAG respectively in cppdefs.h.

You can choose any of them but only one need to be specified.

-Peter
Joonho Lee

venuscheung

Re: problems with the addition of tide forcing

#3 Unread post by venuscheung »

susonic wrote: Mon Apr 26, 2010 1:20 am
CHECKDEFS - no bottom stress formulation is selected.
See above error message. You need to give the formulation which caculates the bottom stress.
In ROMS, we have logarithmic, Linear and Quadratic bottom friction formulation.
Those are UV_LOGDRAG, UV_LDRAG and UV_QDAG respectively in cppdefs.h.

You can choose any of them but only one need to be specified.

-Peter
Sorry but may I ask where to specify.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problems with the addition of tide forcing

#4 Unread post by kate »

Which case are you trying to run? I suggest starting with a proven case like UPWELLING. There is an upwelling.h file containing the cppdefs for that case.

venuscheung

Re: problems with the addition of tide forcing

#5 Unread post by venuscheung »

kate wrote: Mon Oct 28, 2019 5:21 pm Which case are you trying to run? I suggest starting with a proven case like UPWELLING. There is an upwelling.h file containing the cppdefs for that case.
I am trying to run inlet_test

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problems with the addition of tide forcing

#6 Unread post by kate »

inlet_test.h has SSW_BBL defined, which should satisfy that bottom drag condition.

venuscheung

Re: problems with the addition of tide forcing

#7 Unread post by venuscheung »

kate wrote: Mon Oct 28, 2019 6:16 pm inlet_test.h has SSW_BBL defined, which should satisfy that bottom drag condition.
/*
** svn $Id: inlet_test.h 939 2019-01-28 07:02:47Z arango $
*******************************************************************************
** Copyright (c) 2002-2019 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
*******************************************************************************
**
** Options for Inlet Test Case, waves-ocean (SWAN/ROMS) two-way coupling.
**
** Application flag: INLET_TEST
** Input script: roms_inlet_test.in
** coupling_inlet_test.in
** sediment_inlet_test.in
*/

#define UV_VIS2
#define MIX_S_UV
#define MASKING
#define UV_ADV
#define SPLINES_VDIFF
#define SPLINES_VVISC
#define TS_MPDATA
#define DJ_GRADPS
#define SOLVE3D

#define ANA_INITIAL
#define ANA_SMFLUX
#define ANA_FSOBC
#define ANA_M2OBC

#ifdef SSW_BBL
# define SSW_CALC_ZNOT
#endif

#ifdef SOLVE3D

# define GLS_MIXING
# ifdef GLS_MIXING
# define KANTHA_CLAYSON
# define N2S2_HORAVG
# define RI_SPLINES
# endif

# define SEDIMENT
# ifdef SEDIMENT
# define SUSPLOAD
# define SED_MORPH
# endif
# if defined SEDIMENT || defined SG_BBL || defined MB_BBL || defined SSW_BBL
# define ANA_SEDIMENT

here is my inlet_test.h, I have tried to add #define SSW_BBL but seems nothing is being improved.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problems with the addition of tide forcing

#8 Unread post by kate »

You're missing parts of that file - where did you get it from? How did that even compile, since it is missing an ending #endif or two?

For the problem you are seeing, before the #ifdef SSW_BBL bit, there should be:
/* define only one of the following 5 */
#undef UV_LOGDRAG
#undef UV_QDRAG
#undef MB_BBL
#undef SG_BBL
#define SSW_BBL

venuscheung

Re: problems with the addition of tide forcing

#9 Unread post by venuscheung »

kate wrote: Tue Oct 29, 2019 5:48 pm You're missing parts of that file - where did you get it from? How did that even compile, since it is missing an ending #endif or two?

For the problem you are seeing, before the #ifdef SSW_BBL bit, there should be:
/* define only one of the following 5 */
#undef UV_LOGDRAG
#undef UV_QDRAG
#undef MB_BBL
#undef SG_BBL
#define SSW_BBL
I have updated my ROMS version but now another error come out.
Attachments
log.txt
(268.56 KiB) Downloaded 272 times

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problems with the addition of tide forcing

#10 Unread post by kate »

There are errors and warnings coming from SWAN. Is this from COAWST or not?

Post Reply