- 积分
- 21
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-1-4
- 最后登录
- 1970-1-1
|
发表于 2018-2-27 17:10:06
|
显示全部楼层
前辈,我到了安装WRF的./compile em_real >&checkwrf.log这步的时候,checkwrf.log文件里面有700多个error,重新编译了很多次也无法生成.exe文件,恳请前辈指点,感谢。由于字数限制我复制前面部分的error如下。
ESMF_MOD_DEPENDENCE="/home/paul/model/WRFV3/external/esmf_time_f90/module_utility.o" AR="INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR" diffwrf; \
cd ../io_netcdf ; \
make -i -r NETCDFPATH="/usr/local/NETCDF" \
FC="gfortran -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " RANLIB="ranlib" \
CPP="/lib/cpp -P -nostdinc" LDFLAGS=" -O2 -ftree-vectorize -funroll-loops -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " TRADFLAG="-traditional-cpp" ESMF_IO_LIB_EXT="-L/home/paul/model/WRFV3/external/esmf_time_f90 -lesmf_time" \
LIB_LOCAL="" \
ESMF_MOD_DEPENDENCE="/home/paul/model/WRFV3/external/esmf_time_f90/module_utility.o" AR="INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR"; \
cd ../io_pio ; \
echo SKIPPING PIO BUILD make -i -r NETCDFPATH="" \
FC="gfortran -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " RANLIB="ranlib" \
CPP="/lib/cpp -P -nostdinc" LDFLAGS=" -O2 -ftree-vectorize -funroll-loops -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " TRADFLAG="-traditional-cpp" ESMF_IO_LIB_EXT="-L/home/paul/model/WRFV3/external/esmf_time_f90 -lesmf_time" \
LIB_LOCAL="" \
ESMF_MOD_DEPENDENCE="/home/paul/model/WRFV3/external/esmf_time_f90/module_utility.o" AR="INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR"; \
cd ../io_int ; \
make -i -r SFC="gfortran -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " \
FC="gfortran -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " \
RANLIB="ranlib" CPP="/lib/cpp -P -nostdinc -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM" DM_FC="mpif90 -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 "\
TRADFLAG="-traditional-cpp" ESMF_IO_LIB_EXT="-L/home/paul/model/WRFV3/external/esmf_time_f90 -lesmf_time" \
ESMF_MOD_DEPENDENCE="/home/paul/model/WRFV3/external/esmf_time_f90/module_utility.o" AR="INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR" diffwrf ; \
cd ../../frame )
0.00user 0.00system 0:02.52elapsed 0%CPU (0avgtext+0avgdata 14040maxresident)k
1040inputs+24outputs (4major+2655minor)pagefaults 0swaps
rm -f module_wrf_error.o
sed -e "s/grid%mu/gridmu/g" -e "s/grid%Mu/gridMu/g" -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" module_wrf_error.F > module_wrf_error.G
/lib/cpp -P -nostdinc -I/home/paul/model/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB2 -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -I. -traditional-cpp module_wrf_error.G > module_wrf_error.H
sed -e "s/gridmu/grid%mu/g" -e "s/gridMu/grid%Mu/g" module_wrf_error.H > module_wrf_error.bb
/home/paul/model/WRFV3/tools/standard.exe module_wrf_error.bb | /lib/cpp -P -nostdinc -traditional-cpp > module_wrf_error.f90
rm -f module_wrf_error.G module_wrf_error.H module_wrf_error.bb
time gfortran -o module_wrf_error.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I../dyn_em -I../dyn_nmm -I/home/paul/model/WRFV3/external/esmf_time_f90 -I/home/paul/model/WRFV3/main -I/home/paul/model/WRFV3/external/io_netcdf -I/home/paul/model/WRFV3/external/io_int -I/home/paul/model/WRFV3/frame -I/home/paul/model/WRFV3/share -I/home/paul/model/WRFV3/phys -I/home/paul/model/WRFV3/chem -I/home/paul/model/WRFV3/inc -I/usr/local/NETCDF/include module_wrf_error.f90
cpp: error: module_state_description.F: 没有那个文件或目录
cpp: warning: ‘-x c’ after last input file has no effect
cpp: fatal error: no input files
compilation terminated.
../configure.wrf:533: recipe for target 'module_state_description.o' failed
make[2]: [module_state_description.o] Error 1 (ignored)
rm -f module_wrf_error.o
sed -e "s/grid%mu/gridmu/g" -e "s/grid%Mu/gridMu/g" -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" module_wrf_error.F > module_wrf_error.G
/lib/cpp -P -nostdinc -I/home/paul/model/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB2 -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -I. -traditional-cpp module_wrf_error.G > module_wrf_error.H
sed -e "s/gridmu/grid%mu/g" -e "s/gridMu/grid%Mu/g" module_wrf_error.H > module_wrf_error.bb
/home/paul/model/WRFV3/tools/standard.exe module_wrf_error.bb | /lib/cpp -P -nostdinc -traditional-cpp > module_wrf_error.f90
rm -f module_wrf_error.G module_wrf_error.H module_wrf_error.bb
time gfortran -o module_wrf_error.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -cpp -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I../dyn_em -I../dyn_nmm -I/home/paul/model/WRFV3/external/esmf_time_f90 -I/home/paul/model/WRFV3/main -I/home/paul/model/WRFV3/external/io_netcdf -I/home/paul/model/WRFV3/external/io_int -I/home/paul/model/WRFV3/frame -I/home/paul/model/WRFV3/share -I/home/paul/model/WRFV3/phys -I/home/paul/model/WRFV3/chem -I/home/paul/model/WRFV3/inc -I/usr/local/NETCDF/include module_wrf_error.f90
|
|