Failed to build real.exe when compiling WRF-CMAQ two-way model

Hi David,

Thanks for your explanation on running model.

Now I can run the WRF part of the coupled model and get wrfout files with set up in runscript:

wrf_cmaq_option = 0

However, when I set it to 1 ( run WRF only, with producing MCIP like GRID and MET files ) or direct_sw_feedback = T, the program displays an error:

ERROR: The option “direct_sw_feedback=T” and “wrf_cmaq_option==1” require CMAQ coupling

I followed wfy’s advice and changed my model version from WRFv4.4-CMAQv5.4 to WRFv4.3-CMAQv5.3.3, but the problem remained.
Here are my runscript, running log and build log. The BLD/cmaq folder looks like it was compiled properly, but the error looks like cmaq was not recognized.
run_cctm_WRFCMAQ.csh (52.0 KB)
rsl.error.0000.txt (561 Bytes)
wrf-cmaq_buildlog.log.txt (3.5 MB)