Hi every one.
I want to run coawst in 2d mode for stormsurge simulation.
But I get error when compile atm2ocn_flux.f90:
atm2ocn_flux.f90(65): error #6460: This is not a field name that is defined in the encompassing structure. [RAIN]
& FORCES(ng) % rain, &
-------------------------------------------^
atm2ocn_flux.f90(66): error #6460: This is not a field name that is defined in the encompassing structure. [LHFLX]
& FORCES(ng) % lhflx, &
-------------------------------------------^
atm2ocn_flux.f90(67): error #6460: This is not a field name that is defined in the encompassing structure. [LRFLX]
& FORCES(ng) % lrflx, &
-------------------------------------------^
atm2ocn_flux.f90(68): error #6460: This is not a field name that is defined in the encompassing structure. [SHFLX]
& FORCES(ng) % shflx, &
-------------------------------------------^
atm2ocn_flux.f90(69): error #6460: This is not a field name that is defined in the encompassing structure. [SRFLX]
& FORCES(ng) % srflx, &
-------------------------------------------^
atm2ocn_flux.f90(70): error #6460: This is not a field name that is defined in the encompassing structure. [STFLX]
This my cpp file:
#define WRF_MODEL
#define ROMS_MODEL
#define NESTING
#define MCT_LIB
#define MCT_INTERP_OC2AT
/* Momemtun equation */
#define UV_VIS2
#define UV_ADV
#define UV_COR
#undef UV_QDRAG
#define UV_LDRAG
#define ANA_DRAG
#undef UPWELLING
#define UV_DRAG_GRID
#define CURVGRID
#define AVERAGES
#define AVERAGES_FLUXES
#ifdef WRF_MODEL
#undef BULK_FLUXES /*use if bulk fluxes computation*/
#define ATM2OCN_FLUXES
#undef ANA_SSFLUX
#undef LONGWAVE_OUT
#endif
#define ATM_PRESS
#define EMINUSP
#define SOLAR_SOURCE
/* Model configuration */
#define MASKING
#define WET_DRY
/* Options for analytical fields configuration */
#undef ANA_SMFLUX
#define ANA_INITIAL
Who help me solve this problem please?