Biogeochemistry

does anyone meet this error before? I just define BIOLOGY, and define PISCES,key_pisces,and key_ligand in a given upwelling case cppdefs.h

param_.f(42): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NTRC_BIO]
parameter (NT=itemp+ntrc_salt+ntrc_pas+ntrc_bio+ntrc_sed)
---------------------------------------------^

Hi, please clarify

Are you adding

#BIOLOGY and #PISCES

to the #define UPWELLING (test example?)

Yes, I did exactly what you said. Adding both #BIOLOGY and #PISCES

#elif defined UPWELLING
/*
! Upwelling Example
! ========= =======
*/

undef OPENMP

define MPI

define SOLVE3D

define UV_COR

define UV_ADV

define ANA_GRID

define ANA_INITIAL

define AVERAGES

define SALINITY

define NONLIN_EOS

define ANA_SSFLUX

define ANA_SRFLUX

define ANA_STFLUX

define ANA_BSFLUX

define ANA_BTFLUX

define ANA_SMFLUX

define LMD_MIXING

define LMD_SKPP

define LMD_BKPP

define LMD_RIMIX

define LMD_CONVEC

define EW_PERIODIC

define NO_FRCFILE

undef RVTK_DEBUG

define BIOLOGY

define PISCES

here is my cppdefs.h