Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A couple problem when compiling coawstM #76

Closed
wanghong78 opened this issue Apr 29, 2022 · 1 comment
Closed

A couple problem when compiling coawstM #76

wanghong78 opened this issue Apr 29, 2022 · 1 comment

Comments

@wanghong78
Copy link

wanghong78 commented Apr 29, 2022

Hi,

I met an ocean_coupler problem when I ran the WRF-ROMS coupling case. I can run ROMS or WRF alone successifully while when ran the ROMS alone with some ANA_ force field setting in the .h file. My head file setting as below:

#define ROMS_MODEL
#define WRF_MODEL
#undef NESTING
#define MCT_LIB
#define ATM2OCE_FLUXES
/Physics + numerics/
#undef LOG_PROFILE
#define UV_ADV
#define UV_COR
#define UV_LOGDRAG
#define SALINITY
#define SOLVE3D
#define SPHERICAL
#undef SEDIMENT
/Grid and Initial/
#define MASKING
/Turbulence closure/
#undef SPLINES
#undef ANA_VMIX
#define GLS_MIXING
#ifdef GLS_MIXING

define KANTHA_CLAYSON

define N2S2_HORAVG

#endif

/Forcing/
#undef ANA_SSFLUX
#undef LONGWAVE_OUT
#undef BULK_FLUXES
#define ANA_BTFLUX
#define ANA_BSFLUX
#define EMINUSP
#define SOLAR_SOURCE

Then I did the weight_coawst.nc file and when I coupled them and compiled the coawst.bash file, I met the wrong information as belows:

image
The attachment is my log.file and I would appreciate it if you could give me some guidance!

build.log

Thanks a lot!

@jcwarner-usgs
Copy link
Collaborator

i think you have a misspelled cpp def

define ATM2OCE_FLUXES
should be
define ATM2OCN_FLUXES

then do a ./coawst.bash and see if that compiles better.
-john
Top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants