- 积分
- 219
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-10-15
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
纯新手,初次接触WRF,我是按官网的步骤,第一次WRF编译成功了,但编译WPS的时候出了问题,查原因有人说是WRF安装还是有问题需要全删了重新安,于是我把WRF也删了。
第二遍安装步骤和第一遍一样,但一直报错如下,查了好几天也没搞懂怎么办。
下面是部分错误日志,麻烦各位大神帮我看看:
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating ../main/libwrflib.a
0.37user 0.04system 0:00.38elapsed 107%CPU (0avgtext+0avgdata 43092maxresident)k
0inputs+264outputs (0major+10537minor)pagefaults 0swaps
wrf_io.o: In function `__ext_ncd_support_routines_MOD_netcdf_err.part.0':
wrf_io.f:(.text+0x46): undefined reference to `nf_strerror_'
wrf_io.o: In function `__ext_ncd_support_routines_MOD_gettimeindex':
wrf_io.f:(.text+0x637f): undefined reference to `nf_put_vara_text_'
wrf_io.o: In function `ext_ncd_get_var_td_char_':
wrf_io.f:(.text+0xe00c): undefined reference to `nf_inq_varid_'
wrf_io.f:(.text+0xe075): undefined reference to `nf_inq_var_'
wrf_io.f:(.text+0xe69b): undefined reference to `nf_inq_dimlen_'
wrf_io.f:(.text+0xe762): undefined reference to `nf_get_vara_text_'
...(省略)
wrf_io.f:(.text+0x3cdf0): undefined reference to `nf_inq_dimlen_'
wrf_io.o:wrf_io.f:(.text+0x3ce35): more undefined references to `nf_inq_dimlen_' follow
wrf_io.o: In function `ext_ncd_get_var_info_':
wrf_io.f:(.text+0x3cfcf): undefined reference to `nf_inq_varid_'
wrf_io.f:(.text+0x3d009): undefined reference to `nf_inq_vartype_'
wrf_io.f:(.text+0x3d04e): undefined reference to `nf_get_att_int_'
wrf_io.f:(.text+0x3d53a): undefined reference to `nf_get_att_text_'
field_routines.o: In function `ext_ncd_realfieldio_':
field_routines.f:(.text+0x57): undefined reference to `nf_put_vara_real_'
field_routines.f:(.text+0x89): undefined reference to `nf_get_vara_real_'
field_routines.o: In function `ext_ncd_doublefieldio_':
field_routines.f:(.text+0x1c7): undefined reference to `nf_put_vara_double_'
field_routines.f:(.text+0x1f9): undefined reference to `nf_get_vara_double_'
field_routines.o: In function `ext_ncd_intfieldio_':
field_routines.f:(.text+0x337): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0x369): undefined reference to `nf_get_vara_int_'
field_routines.o: In function `ext_ncd_logicalfieldio_':
field_routines.f:(.text+0x8fa): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0xb94): undefined reference to `nf_get_vara_int_'
module_wrfsi_static.o: In function `__wrfsi_static_MOD_open_wrfsi_static':
module_wrfsi_static.f:(.text+0x15a): undefined reference to `nf_open_'
module_wrfsi_static.f:(.text+0x2ad): undefined reference to `nf_open_'
module_wrfsi_static.o: In function `__wrfsi_static_MOD_get_wrfsi_static_2d':
module_wrfsi_static.f:(.text+0x5f0): undefined reference to `nf_inq_varid_'
module_wrfsi_static.f:(.text+0x650): undefined reference to `nf_get_var_real_'
module_wrfsi_static.f:(.text+0x6d8): undefined reference to `nf_close_'
module_wrfsi_static.o: In function `__wrfsi_static_MOD_get_wrfsi_static_dims':
module_wrfsi_static.f:(.text+0x74a): undefined reference to `nf_inq_dimid_'
module_wrfsi_static.f:(.text+0x758): undefined reference to `nf_inq_dimlen_'
module_wrfsi_static.f:(.text+0x76f): undefined reference to `nf_inq_dimid_'
module_wrfsi_static.f:(.text+0x782): undefined reference to `nf_inq_dimlen_'
module_wrfsi_static.f:(.text+0x819): undefined reference to `nf_close_'
collect2: error: ld returned 1 exit status
Command exited with non-zero status 1
0.06user 0.06system 0:00.10elapsed 133%CPU (0avgtext+0avgdata 12420maxresident)k
0inputs+760outputs (0major+6513minor)pagefaults 0swaps
make[2]: [diffwrf] Error 1 (ignored)
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
libwrflib.a(module_trajectory.o): In function `__module_trajectory_MOD_handle_ncerr.part.0':
module_trajectory.f90:(.text+0x785): undefined reference to `nf_strerror_'
libwrflib.a(module_trajectory.o): In function `def_vars.15729':
module_trajectory.f90:(.text+0xcc0): undefined reference to `nf_def_var_'
module_trajectory.f90:(.text+0xdf8): undefined reference to `nf_put_att_text_'
module_trajectory.f90:(.text+0xf10): undefined reference to `nf_put_att_text_'
...(省略)
track_driver.f90:(.text+0x5c55): undefined reference to `nf_put_vara_real_'
track_driver.f90:(.text+0x5ccb): undefined reference to `nf_inq_varid_'
track_driver.f90:(.text+0x5e70): undefined reference to `nf_put_vara_real_'
track_driver.f90:(.text+0x5eb2): undefined reference to `nf_close_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_netcdf_err.part.0':
wrf_io.f:(.text+0x46): undefined reference to `nf_strerror_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_gettimeindex':
wrf_io.f:(.text+0x637f): undefined reference to `nf_put_vara_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd _get_var_td_char_':
wrf_io.f:(.text+0xe00c): undefined reference to `nf_inq_varid_'
...
wrf_io.f:(.text+0x3d04e): undefined reference to `nf_get_att_int_'
wrf_io.f:(.text+0x3d53a): undefined reference to `nf_get_att_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_realfieldio_':
field_routines.f:(.text+0x57): undefined reference to `nf_put_vara_real_'
field_routines.f:(.text+0x89): undefined reference to `nf_get_vara_real_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_doublefieldio_':
field_routines.f:(.text+0x1c7): undefined reference to `nf_put_vara_double_'
field_routines.f:(.text+0x1f9): undefined reference to `nf_get_vara_double_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_intfieldio_':
field_routines.f:(.text+0x337): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0x369): undefined reference to `nf_get_vara_int_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_logicalfieldio_':
field_routines.f:(.text+0x8fa): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0xb94): undefined reference to `nf_get_vara_int_'
collect2: error: ld returned 1 exit status
Command exited with non-zero status 1
0.22user 0.18system 0:00.38elapsed 108%CPU (0avgtext+0avgdata 80812maxresident)k
0inputs+83336outputs (0major+29990minor)pagefaults 0swaps
make[1]: [em_wrf] Error 1 (ignored)
libwrflib.a(track_driver.o): In function `write_track_':
track_driver.f90:(.text+0x1b2a): undefined reference to `nf_create_'
track_driver.f90:(.text+0x1b6a): undefined reference to `nf_def_dim_'
...
track_driver.f90:(.text+0x5e70): undefined reference to `nf_put_vara_real_'
track_driver.f90:(.text+0x5eb2): undefined reference to `nf_close_'
libwrflib.a(module_trajectory.o): In function `__module_trajectory_MOD_handle_ncerr.part.0':
module_trajectory.f90:(.text+0x785): undefined reference to `nf_strerror_'
libwrflib.a(module_trajectory.o): In function `def_vars.15729':
module_trajectory.f90:(.text+0xcc0): undefined reference to `nf_def_var_'
module_trajectory.f90:(.text+0xdf8): undefined reference to `nf_put_att_text_'
...
module_trajectory.f90:(.text+0x28e92): undefined reference to `nf_def_dim_'
module_trajectory.f90:(.text+0x28f25): undefined reference to `nf_def_dim_'
module_trajectory.f90:(.text+0x28fd9): undefined reference to `nf_def_var_'
module_trajectory.f90:(.text+0x29101): undefined reference to `nf_def_var_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_netcdf_err.part.0':
wrf_io.f:(.text+0x46): undefined reference to `nf_strerror_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_gettimeindex':
wrf_io.f:(.text+0x637f): undefined reference to `nf_put_vara_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd _get_var_td_char_':
wrf_io.f:(.text+0xe00c): undefined reference to `nf_inq_varid_'
wrf_io.f:(.text+0xe075): undefined reference to `nf_inq_var_'
wrf_io.f:(.text+0xe69b): undefined reference to `nf_inq_dimlen_'
wrf_io.f:(.text+0xe762): undefined reference to `nf_get_vara_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd _get_var_td_logical_':
wrf_io.f:(.text+0xf465): undefined reference to `nf_inq_varid_'
wrf_io.f:(.text+0xf4cf): undefined reference to `nf_inq_var_'
wrf_io.f:(.text+0xfaf6): undefined reference to `nf_inq_dimlen_'
wrf_io.f:(.text+0xfbe8): undefined reference to `nf_get_vara_int_'
...
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_intfieldio_':
field_routines.f:(.text+0x337): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0x369): undefined reference to `nf_get_vara_int_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_logicalfieldio_':
field_routines.f:(.text+0x8fa): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0xb94): undefined reference to `nf_get_vara_int_'
collect2: error: ld returned 1 exit status
Command exited with non-zero status 1
0.20user 0.18system 0:00.36elapsed 109%CPU (0avgtext+0avgdata 75552maxresident)k
0inputs+76288outputs (0major+29465minor)pagefaults 0swaps
make[1]: [em_real] Error 1 (ignored)
libwrflib.a(track_driver.o): In function `write_track_':
track_driver.f90:(.text+0x1b2a): undefined reference to `nf_create_'
track_driver.f90:(.text+0x1b6a): undefined reference to `nf_def_dim_'
track_driver.f90:(.text+0x1b91): undefined reference to `nf_def_dim_'
...
track_driver.f90:(.text+0x5e70): undefined reference to `nf_put_vara_real_'
track_driver.f90:(.text+0x5eb2): undefined reference to `nf_close_'
libwrflib.a(module_trajectory.o): In function `__module_trajectory_MOD_handle_ncerr.part.0':
module_trajectory.f90:(.text+0x785): undefined reference to `nf_strerror_'
libwrflib.a(module_trajectory.o): In function `def_vars.15729':
module_trajectory.f90:(.text+0xcc0): undefined reference to `nf_def_var_'
module_trajectory.f90:(.text+0xdf8): undefined reference to `nf_put_att_text_'
module_trajectory.f90:(.text+0xf10): undefined reference to `nf_put_att_text_'
...
module_trajectory.f90:(.text+0x29101): undefined reference to `nf_def_var_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_netcdf_err.part.0':
wrf_io.f:(.text+0x46): undefined reference to `nf_strerror_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_n cd_support_routines_MOD_gettimeindex':
wrf_io.f:(.text+0x637f): undefined reference to `nf_put_vara_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd _get_var_td_char_':
...
wrf_io.f:(.text+0x3d53a): undefined reference to `nf_get_att_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_realfieldio_':
field_routines.f:(.text+0x57): undefined reference to `nf_put_vara_real_'
field_routines.f:(.text+0x89): undefined reference to `nf_get_vara_real_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_doublefieldio_':
...
field_routines.f:(.text+0xb94): undefined reference to `nf_get_vara_int_'
collect2: error: ld returned 1 exit status
Command exited with non-zero status 1
0.22user 0.17system 0:00.36elapsed 108%CPU (0avgtext+0avgdata 74616maxresident)k
0inputs+75176outputs (0major+29194minor)pagefaults 0swaps
make[1]: [em_real] Error 1 (ignored)
libwrflib.a(track_driver.o): In function `write_track_':
track_driver.f90:(.text+0x1b2a): undefined reference to `nf_create_'
track_driver.f90:(.text+0x1b6a): undefined reference to `nf_def_dim_'
...
wrf_io.f:(.text+0x3d04e): undefined reference to `nf_get_att_int_'
wrf_io.f:(.text+0x3d53a): undefined reference to `nf_get_att_text_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_realfieldio_':
field_routines.f:(.text+0x57): undefined reference to `nf_put_vara_real_'
field_routines.f:(.text+0x89): undefined reference to `nf_get_vara_real_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_doublefieldio_':
field_routines.f:(.text+0x1c7): undefined reference to `nf_put_vara_double_'
field_routines.f:(.text+0x1f9): undefined reference to `nf_get_vara_double_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_intfieldio_':
field_routines.f:(.text+0x337): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0x369): undefined reference to `nf_get_vara_int_'
/data1/xhan/Build_WRF/LIBRARIES/WRF/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_logicalfieldio_':
field_routines.f:(.text+0x8fa): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0xb94): undefined reference to `nf_get_vara_int_'
collect2: error: ld returned 1 exit status
Command exited with non-zero status 1
0.23user 0.16system 0:00.36elapsed 108%CPU (0avgtext+0avgdata 75492maxresident)k
0inputs+76048outputs (0major+28455minor)pagefaults 0swaps
make[1]: [em_real] Error 1 (ignored)
|
|