- 积分
- 783
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-7-27
- 最后登录
- 1970-1-1
|
100金钱
在编译wrf-chem时候出现问题,我敢打包票我前面任何库和其他的环境设置的完全没问题,能编译wrf,不激活kpp时也能编译上wrf-chem。但就是设置了kpp后死活都安不上,就报这个错然后就无法生成wrf.exe,其他三个exe都能生成。
有没有朋友能帮助一下,真的感激不尽,可以有偿。
下面是报错:
ranlib libwrflib.a
time mpif90 -o wrf.exe -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 wrf.o ../main/module_wrf_top.o libwrflib.a /root/Build_WRF/WRF-4.1.2/external/fftpack/fftpack5/libfftpack.a /root/Build_WRF/WRF-4.1.2/external/io_grib1/libio_grib1.a /root/Build_WRF/WRF-4.1.2/external/io_grib_share/libio_grib_share.a /root/Build_WRF/WRF-4.1.2/external/io_int/libwrfio_int.a -L/root/Build_WRF/WRF-4.1.2/external/esmf_time_f90 -lesmf_time /root/Build_WRF/WRF-4.1.2/external/RSL_LITE/librsl_lite.a /root/Build_WRF/WRF-4.1.2/frame/module_internal_header_util.o /root/Build_WRF/WRF-4.1.2/frame/pack_utils.o -L/root/Build_WRF/WRF-4.1.2/external/io_netcdf -lwrfio_nf -L/root/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf
libwrflib.a(chem_driver.o):在函数‘chem_driver_’中:
chem_driver.f90:(.text+0x10efd):对‘kpp_mechanism_driver_’未定义的引用
collect2: 错误:ld 返回 1
0.47user 0.26system 0:01.73elapsed 42%CPU (0avgtext+0avgdata 135972maxresident)k
4296inputs+148120outputs (0major+39340minor)pagefaults 0swaps
make[1]: [em_wrf] 错误 1 (忽略)
make[1]: 离开目录“/root/Build_WRF/WRF-4.1.2/main”
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
( cd main ; make -i -r RLFLAGS="" MODULE_DIRS="-I../dyn_em -I../dyn_nmm -I/root/Build_WRF/WRF-4.1.2/external/esmf_time_f90 -I/root/Build_WRF/WRF-4.1.2/main -I/root/Build_WRF/WRF-4.1.2/external/io_netcdf -I/root/Build_WRF/WRF-4.1.2/external/io_int -I/root/Build_WRF/WRF-4.1.2/frame -I/root/Build_WRF/WRF-4.1.2/share -I/root/Build_WRF/WRF-4.1.2/phys -I/root/Build_WRF/WRF-4.1.2/wrftladj -I/root/Build_WRF/WRF-4.1.2/chem -I/root/Build_WRF/WRF-4.1.2/inc -I/root/Build_WRF/LIBRARIES/netcdf/include " SOLVER=em em_wrf_SST_ESMF ) ; \
fi
build started: 2021年 09月 11日 星期六 20:03:57 CST
build completed: 2021年 09月 11日 星期六 20:41:22 CST
|
|