I was running make to compile ROMS 3.0 and each time I defined SPONGE option and / or ZCLM_NUDGING, M2CLM_NUDGING, M3CLM_NUDGING, TCLM_NUDGING options the compilation was aborted indicating an ERROR 1.
If I have defined SPONGE the message specified something like.
... in function 'initial_'..... undefined reference to 'ana_hmixcoef_' Error 1
If I have defined the above Nudging options the message specified:
... in function 'initial_'... undefined reference to 'ana_nudgcoef_' Error 1
A) I could not find notes about this options. Someone could send me notes or explain to me how to solve the problem I having with these CPP OPTIONS ?
B) What is NUDGING_COFF ? It is not in cppdefs.h but it appears in some files of ROMS 3.0.
C) Where could I read about NUDGING and SPONGE in ROMS 3.0 ?
Bye and best whishes
Cecilia
problems with NUDGING and SPONGE CPP options
There's a block of checks in globaldefs.h in which ANALYTICAL gets defined if any one of the ANA_ flags is defined. The tests in analytical.F are:
and
These four flags should be added to the tests in globaldefs.h. This should also be reported to the bug reporting system (which I can do).
Code: Select all
# if defined VISC_GRID || defined DIFF_GRID || defined SPONGE
# include <ana_hmixcoef>
# endif
Code: Select all
# if defined NUDGING_COFF
# include <ana_nudgcoef>
# endif