爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 11649|回复: 7

WRF4.0 wrf.exe报错Segmentation fault - invalid memory reference.

[复制链接]
发表于 2020-5-13 00:13:51 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
WRF 4.0 运行GFS新版数据,老是报错Segmentation fault - invalid memory reference
每次刚运行就报错,不知道是不是地形数据不匹配,求大神帮忙看一下
Timing for Writing wrfout_d01_2020-04-22_00:00:00 for domain        1:    0.81836 elapsed seconds
d01 2020-04-22_00:00:00  Input data is acceptable to use: wrfbdy_d01
Timing for processing lateral boundary for domain        1:    0.02221 elapsed seconds
Tile Strategy is not specified. Assuming 1D-Y
WRF TILE   1 IS      1 IE    161 JS      1 JE    121
WRF NUMBER OF TILES =   1
Flerchinger USEd in NEW version. Iterations=          10
Flerchinger USEd in NEW version. Iterations=          10
Flerchinger USEd in NEW version. Iterations=          10
Flerchinger USEd in NEW version. Iterations=          10
Flerchinger USEd in NEW version. Iterations=          10
Timing for Writing wrfout_d02_2020-04-22_00:00:00 for domain        2:    0.99106 elapsed seconds
Tile Strategy is not specified. Assuming 1D-Y
WRF TILE   1 IS      1 IE    211 JS      1 JE    151
WRF NUMBER OF TILES =   1
Timing for main: time 2020-04-22_00:01:00 on domain   2:    6.91173 elapsed seconds
Timing for main: time 2020-04-22_00:02:00 on domain   2:    2.49973 elapsed seconds
Timing for main: time 2020-04-22_00:03:00 on domain   2:    2.48384 elapsed seconds
Timing for main: time 2020-04-22_00:03:00 on domain   1:   24.00146 elapsed seconds

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x2B00AF01C697
#1  0x2B00AF01CCDE
#2  0x2B00AFAAF3AF
#3  0x2A58B5D in __module_sf_sfclayrev_MOD_psim_stable
#4  0x2A5D1AC in __module_sf_sfclayrev_MOD_sfclayrev1d
#5  0x2A6208D in __module_sf_sfclayrev_MOD_sfclayrev
#6  0x210A1F2 in __module_surface_driver_MOD_surface_driver
#7  0x185D109 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#8  0x122281F in solve_em_
#9  0x10FBBB5 in solve_interface_
#10  0x474D80 in __module_integrate_MOD_integrate
#11  0x406FE3 in __module_wrf_top_MOD_wrf_run
段错误(吐核)




namelist.wps如下:
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2020-04-22_00:00:00','2020-04-22_00:00:00',
end_date   = '2020-04-26_00:00:00','2020-04-26_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/

&geogrid
parent_id         =   1,   1,
parent_grid_ratio =   1,   3,
i_parent_start    =   1,  60,
j_parent_start    =   1,  30,
e_we              =  161, 211,
e_sn              =  121,  151,
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The default datasets used to produce the MAXSNOALB and ALBEDO12M
! fields have changed in WPS v4.0. These fields are now interpolated
! from MODIS-based datasets.
!
! To match the output given by the default namelist.wps in WPS v3.9.1,
! the following setting for geog_data_res may be used:
!
! geog_data_res = 'maxsnowalb_ncep+albedo_ncep+default', 'maxsnowalb_ncep+albedo_ncep+default',
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
geog_data_res = 'modis_30s+5m','modis_30s+5m',
dx = 30000,
dy = 30000,
map_proj = 'lambert',
ref_lat   =  30.0,
ref_lon   = 115.0,
truelat1  =  30.0,
truelat2  =  60.0,
stand_lon = 115.0,
geog_data_path = '/usr/local/geog/geog'
/

&ungrib
out_format = 'WPS',
prefix = 'FILE',
/

&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,

namelist.input 如下:
&time_control
run_days                            = 0,
run_hours                           = 96,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2020, 2020, 2020,
start_month                         = 04,   04,   04,
start_day                           = 22,   22,   22,
start_hour                          = 00,   00,   00,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2020, 2020, 2020,
end_month                           = 04,   04,   04,
end_day                             = 26,   26,   26,
end_hour                            = 00,   00,   00,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 21600
input_from_file                     = .true.,.true.,.true.,
history_interval                    = 180,  60,   60,
frames_per_outfile                  = 1000, 1000, 1000,
restart                             = .false.,
restart_interval                    = 5000,
io_form_history                     = 2
io_form_restart                     = 2
io_form_input                       = 2
io_form_boundary                    = 2
debug_level                         = 0
/

&domains
time_step                           = 180,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 2,
e_we                                = 161,    211,   94,
e_sn                                = 121,    151,   91,
e_vert                              = 34,    34,    50,
p_top_requested                     = 5000,
num_metgrid_levels                  = 34,
num_metgrid_soil_levels             = 4,
dx                                  = 30000, 10000,  3000,
dy                                  = 30000, 10000,  3000,
grid_id                             = 1,     2,     3,
parent_id                           = 0,     1,     2,
i_parent_start                      = 1,     60,    30,
j_parent_start                      = 1,     30,    30,
parent_grid_ratio                   = 1,     3,     3,
parent_time_step_ratio              = 1,     3,     3,
feedback                            = 1,
smooth_option                       = 0
&physics
mp_physics                          = 3,     3,     3,
ra_lw_physics                       = 1,     1,     1,
ra_sw_physics                       = 1,     1,     1,
radt                                = 30,    30,    30,
sf_sfclay_physics                   = 1,     1,     1,
sf_surface_physics                  = 2,     2,     2,
bl_pbl_physics                      = 1,     1,     1,
bldt                                = 0,     0,     0,
cu_physics                          = 1,     1,     0,
cudt                                = 5,     5,     5,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,     0,     0,
num_land_cat                        = 21
/

&fdda
/

&dynamics
w_damping                           = 0,
diff_opt                            = 1,
km_opt                              = 4,
diff_6th_opt                        = 0,      0,      0,
diff_6th_factor                     = 0.12,   0.12,   0.12,
base_temp                           = 290.
damp_opt                            = 0,
zdamp                               = 5000.,  5000.,  5000.,
dampcoef                            = 0.2,    0.2,    0.2
khdif                               = 0,      0,      0,
kvdif                               = 0,      0,      0,
non_hydrostatic                     = .true., .true., .true.,
moist_adv_opt                       = 1,      1,      1,
scalar_adv_opt                      = 1,      1,      1,
/

&bdy_control
spec_bdy_width                      = 10,
spec_zone                           = 1,




密码修改失败请联系微信:mofangbao
发表于 2020-5-13 10:26:31 | 显示全部楼层
应该是需要改小时间步长
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

发表于 2020-5-13 09:05:50 | 显示全部楼层
步长变成120试一下,或者调下w_damping=1
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

发表于 2020-5-13 10:56:15 | 显示全部楼层
改小时间步长+1
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-14 09:24:14 | 显示全部楼层
qqqin 发表于 2020-5-13 09:05
步长变成120试一下,或者调下w_damping=1

时间步长啥的改了还是不行
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2020-12-12 22:38:34 | 显示全部楼层
一颗梅子在南京 发表于 2020-5-14 09:24
时间步长啥的改了还是不行

楼主解决了吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2021-3-11 10:04:16 | 显示全部楼层
楼主解决了吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2022-2-25 09:31:42 | 显示全部楼层
楼主解决了吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表