$./configure checking for perl5... no checking for perl... found /usr/bin/perl (perl) Will use NETCDF indir: /home/jihenghu/netcdf Will use HDF5 indir: /home/jihenghu/hdf5 Will use PHDF5 indir: /home/jihenghu/hdf5-parallel-1.14.0/ Will use 'time' to report timing information
Issue a ‘clean -a’ and then reconfigure. Then go into your configure.wrf file and look for the line: CFLAGS = $(CFLAGS_LOCAL) -DDM_PARALLEL -DSTUBMPI \ -DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE)
Onto the end of that, add -DLANDREAD_STUFF, so that it now looks like: CFLAGS = $(CFLAGS_LOCAL) -DDM_PARALLEL -DSTUBMPI \ -DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE) -DLANDREAD_STUB
Then save that configure file and recompile. This should get your past the problem. Please let us know if that works for you.
解决了这个问题,又出现下个问题:
bash
log.compile
include module_ra_rrtmg_swk.f90 module_ra_rrtmg_swk.f90:3264:0:
use rrsw_kg20_k, only : absa, ka, absb, kb, forref, selfref, & internal compiler error: in gfc_trans_use_stmts, at fortran/trans-decl.c:5206 Please submit a full bug report,
Solution: Currently, the solution is to remove the offending code (RRTMG fast for longwave and shortwave). After the user constructs the configure.wrf file (after the configure step, and before the compile step), the configure.wrf file is edited. Remove this line: -DBUILD_RRTMG_FAST=1 \ Then the code may be built as usual. Note that in this condition, the WRF code may not be used to run either of the fast RRTMG schemes.