- 积分
- 28
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-1-2
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
系统是centos7
编译器用的PGI10.6 安装完输入 pgf90测试pgf90-Warning-No files to process 成功
netcdf为4.1.3 输入#ncdump 出现操作说明
ncl为ncl_ncarg-6.1.2.Linux_Debian6.0_x86_64_nodap_gcc445 安装完测试图也能出来
然后安装WRF
/.cofigure后出现
Testing for NetCDF, C and Fortran compiler
This installation of NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit
It will build in 64-bit
************************** W A R N I N G ************************************
There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed. That may not be enough.
看别人说warning可以不用管
然后开始编译,最后没有那四个exe,看编译的log,下面放上部分问题
ar: setfeenv.o: 没有那个文件或目录
make[2]: [shared] 错误 1 (忽略)
make[2]: 离开目录“/home/face/WRF/WRFV3/share”
make[1]: 离开目录“/home/face/WRF/WRFV3”
rm -f setfeenv.o
pgcc -o setfeenv.o -c -w -O3 -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0 setfeenv.c
PGC-S-0040-Illegal use of symbol, __SWBLK_T_TYPE (/usr/local/pgi/linux86-64/10.6/include/bits/types.h: 159)
PGC/x86-64 Linux 10.6-0: compilation completed with severe errors
make[2]: [setfeenv.o] 错误 2 (忽略)
rm -f input_wrf.o
libwrflib.a(couple_or_uncouple_em.o):在函数‘.C2_285’中:
couple_or_uncouple_em.f90:(.data+0x58):对‘module_bc_’未定义的引用
couple_or_uncouple_em.f90:(.data+0xe0):对‘module_model_constants_’未定义的引用
libwrflib.a(nest_init_utils.o):在函数‘input_terrain_rsmas_’中:
/home/face/WRF/WRFV3/dyn_em/./nest_init_utils.f90:520:对‘get_terrain_’未定义的引用
libwrflib.a(nest_init_utils.o):在函数‘.C9_17912’中:
nest_init_utils.f90:(.data+0x29c):对‘module_bc_’未定义的引用
nest_init_utils.f90:(.data+0x2d4):对‘module_model_constants_’未定义的引用
make[1]: [em_real] 错误 2 (忽略)
make[1]: 离开目录“/home/face/WRF/WRFV3/main”
然后就是出现好多 未定义的引用 这里有好多,只放一点
wrf.o:在函数‘.C1_283’中:
wrf.f90:(.data+0xa4):对‘module_check_a_mundo_’未定义的引用
wrf.f90:(.data+0xcc):对‘module_model_constants_’未定义的引用
../main/module_wrf_top.o:在函数‘module_wrf_top_wrf_init_’中:
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:143:对‘init_modules_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:151:对‘init_modules_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:171:对‘module_check_a_mundo_check_nml_consistency_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:171:对‘module_check_a_mundo_set_physics_rconfigs_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:171:对‘init_wrfio_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:253:对‘setup_timekeeping_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:253:对‘med_initialdata_input_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:282:对‘med_restart_out_’未定义的引用
../main/module_wrf_top.o:在函数‘module_wrf_top_wrf_finalize_’中:
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:357:对‘med_shutdown_io_’未定义的引用
../main/module_wrf_top.o:在函数‘module_wrf_top_wrf_dfi_’中:
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:390:对‘wrf_dfi_fwd_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:390:对‘wrf_dfi_array_reset_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:390:对‘wrf_dfi_fst_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:404:对‘wrf_dfi_write_initialized_state_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:408:对‘wrf_dfi_bck_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:408:对‘wrf_dfi_fwd_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:408:对‘wrf_dfi_array_reset_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:408:对‘wrf_dfi_fst_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:428:对‘wrf_dfi_write_initialized_state_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:432:对‘wrf_dfi_bck_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:432:对‘wrf_dfi_array_reset_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:432:对‘wrf_dfi_fwd_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:432:对‘wrf_dfi_array_reset_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:432:对‘wrf_dfi_fst_init_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:454:对‘wrf_dfi_write_initialized_state_’未定义的引用
../main/module_wrf_top.o:在函数‘module_wrf_top_alloc_doms_for_dfi_’中:
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:514:对‘setup_timekeeping_’未定义的引用
/home/face/WRF/WRFV3/main/../main/module_wrf_top.f90:514:对‘med_nest_initial_’未定义的引用
libwrflib.a(module_integrate.o):在函数‘.C2_303’中:
module_integrate.f90:(.data+0x2f8):对‘module_model_constants_’未定义的引用
libwrflib.a(module_dm.o):在函数‘module_dm_patch_domain_rsl_lite_’中:
/home/face/WRF/WRFV3/frame/./module_dm.f90:621:对‘med_add_config_info_to_grid_’未定义的引用
ndown_em.o:在函数‘ndown_em’中:
/home/face/WRF/WRFV3/main/./ndown_em.f90:178:对‘init_modules_’未定义的引用
/home/face/WRF/WRFV3/main/./ndown_em.f90:178:对‘init_modules_’未定义的引用
/home/face/WRF/WRFV3/main/./ndown_em.f90:198:对‘module_check_a_mundo_check_nml_consistency_’未定义的引用
ndown_em.o:在函数‘ndown_em’中:
/home/face/WRF/WRFV3/main/./ndown_em.f90:842:对‘module_bc_stuff_bdytend_new_’未定义的引用
/home/face/WRF/WRFV3/main/./ndown_em.f90:842:对‘module_bc_stuff_bdytend_new_’未定义的引用
libwrflib.a(module_dm.o):在函数‘.C94_283’中:
module_dm.f90:(.data+0x888):对‘module_model_constants_’未定义的引用
libwrflib.a(module_io_quilt.o):在函数‘.C54_305’中:
module_io_quilt.f90:(.data+0x204):对‘module_model_constants_’未定义的引用
libwrflib.a(module_cpl.o):在函数‘.C13_283’中:
module_cpl.f90:(.data+0x4c0):对‘module_model_constants_’未定义的引用
libwrflib.a(module_big_step_utilities_em.o):在函数‘.C40_287’中:
module_big_step_utilities_em.f90:(.data+0x2dc):对‘module_llxy_’未定义的引用
module_big_step_utilities_em.f90:(.data+0x2e4):对‘module_model_constants_’未定义的引用
libwrflib.a(module_polarfft.o):在函数‘.C8_287’中:
module_polarfft.f90:(.data+0x394):对‘module_model_constants_’未定义的引用
libwrflib.a(couple_or_uncouple_em.o):在函数‘couple_or_uncouple_em_’中:
/home/face/WRF/WRFV3/dyn_em/./couple_or_uncouple_em.f90:177:对‘module_bc_set_physical_bc2d_’未定义的引用
/home/face/WRF/WRFV3/dyn_em/./couple_or_uncouple_em.f90:177:对‘module_bc_set_physical_bc2d_’未定义的引用
/home/face/WRF/WRFV3/dyn_em/./couple_or_uncouple_em.f90:177:对‘module_bc_set_physical_bc2d_’未定义的引用
最后面是这样
( cd test/em_real ; /bin/rm -f GENPARM.TBL ; ln -s ../../run/GENPARM.TBL . )
( cd test/em_real ; /bin/rm -f LANDUSE.TBL ; ln -s ../../run/LANDUSE.TBL . )
( cd test/em_real ; /bin/rm -f SOILPARM.TBL ; ln -s ../../run/SOILPARM.TBL . )
( cd test/em_real ; /bin/rm -f URBPARM.TBL ; ln -s ../../run/URBPARM.TBL . )
( cd test/em_real ; /bin/rm -f VEGPARM.TBL ; ln -s ../../run/VEGPARM.TBL . )
( cd test/em_real ; /bin/rm -f MPTABLE.TBL ; ln -s ../../run/MPTABLE.TBL . )
( cd test/em_real ; /bin/rm -f tr49t67 ; ln -s ../../run/tr49t67 . )
( cd test/em_real ; /bin/rm -f tr49t85 ; ln -s ../../run/tr49t85 . )
( cd test/em_real ; /bin/rm -f tr67t85 ; ln -s ../../run/tr67t85 . )
( cd test/em_real ; /bin/rm -f gribmap.txt ; ln -s ../../run/gribmap.txt . )
( cd test/em_real ; /bin/rm -f grib2map.tbl ; ln -s ../../run/grib2map.tbl . )
( cd run ; /bin/rm -f real.exe ; ln -s ../main/real.exe . )
( cd run ; /bin/rm -f tc.exe ; ln -s ../main/tc.exe . )
( cd run ; /bin/rm -f ndown.exe ; ln -s ../main/ndown.exe . )
( cd run ; /bin/rm -f nup.exe ; ln -s ../main/nup.exe . )
( cd run ; if test -f namelist.input ; then \
/bin/cp -f namelist.input namelist.input.backup ; fi ; \
/bin/rm -f namelist.input ; cp ../test/em_real/namelist.input . )
build started: 2015年 03月 18日 星期三 13:02:05 CST
build completed: 2015年 03月 18日 星期三 13:18:20 CST
求帮助啊
|
|