Errors when computing DAMEE 4 testcase

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
marinezaku
Posts: 4
Joined: Fri Mar 18, 2016 2:39 pm
Location: person

Errors when computing DAMEE 4 testcase

#1 Unread post by marinezaku »

I try computing the DAMEE 4 testcase.
But I got the following error messages.

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

CHECKDEFS - only one horizontal advection scheme
is allowed for tracers, itrcHadv = 2

CHECKDEFS - only one vertical advection scheme
is allowed for tracers, itrcVadv = 2

Elapsed CPU time (seconds):


ROMS/TOMS - Output NetCDF summary for Grid 01:

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


ERROR: Illegal model configuration.

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

Please teach me the reasons of the errors and how to solve them.

rtopper
Posts: 24
Joined: Fri Jul 04, 2014 2:32 pm
Location: MARUM, University of Bremen

Re: Errors when computing DAMEE 4 testcase

#2 Unread post by rtopper »

The error is pretty self-explanatory. You've defined more than one horizontal and vertical advection scheme for tracers in your .h file.

Look through your .h file and make sure there is just one TS_*HADVECTION and one TS_*VADVECTION option defined.

marinezaku
Posts: 4
Joined: Fri Mar 18, 2016 2:39 pm
Location: person

Re: Errors when computing DAMEE 4 testcase

#3 Unread post by marinezaku »

Thank you for your reply, but, in my .h file "damee_4.h",
there is just one TS_*HADVECTION and one TS_*VADVECTION.
The following is the text of "damee_4.h".

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

/*
** svn $Id: damee_4.h 779 2015-08-22 03:11:58Z arango $
*******************************************************************************
** Copyright (c) 2002-2015 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
*******************************************************************************
**
** Options for North Atlantic DAMEE Application, 3/4 degree resolution
**
** Application flag: DAMEE_4
** Input script: ocean_damee_4.in
*/

#define UV_ADV
#define UV_COR
#define UV_QDRAG
#define DJ_GRADPS
#define SPLINES_VDIFF
#define SPLINES_VVISC
#define TS_U3HADVECTION
#define TS_C4VADVECTION
#define NONLIN_EOS
#define SALINITY
#define SOLVE3D
#define MASKING
#define QCORRECTION
#define SRELAXATION
#define CURVGRID
#define AVERAGES
#define LMD_MIXING
#ifdef LMD_MIXING
# define LMD_RIMIX
# define LMD_CONVEC
# define LMD_SKPP
# define LMD_NONLOCAL
# define RI_SPLINES
#endif
#define ANA_BSFLUX
#define ANA_BTFLUX

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

... I wonder again where is wrong. Do you have another idea?

marinezaku
Posts: 4
Joined: Fri Mar 18, 2016 2:39 pm
Location: person

Re: Errors when computing DAMEE 4 testcase

#4 Unread post by marinezaku »

The errors were solved !

In "build.bash", I had forgotten to comment out the following "export" line.

-----------------------------------------------------------------------------------------
export MY_CPP_FLAGS="${MY_CPP_FLAGS} -DTS_A4HADVECTION -DTS_A4VADVECTION"
-----------------------------------------------------------------------------------------

I commented out the line by putting "#" to the head of it.
Then, the computing is running now.

Dear rtopper, your reply was a good hint. Thank you very much! (^ ^)

Post Reply