爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 29575|回复: 36

【Help!!!】wrf.exe后段错误 Segmentation fault (core dumped),

[复制链接]

新浪微博达人勋

发表于 2012-10-1 12:01:54 | 显示全部楼层 |阅读模式

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

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

x
我的版本是3.4.1,最新的。
我只用Megan生物源做一个3层嵌套的case,我real.exe后出现了wrfinput01,02,03,并且在rsl.error最后有success出现,说明我到real.exe这一步是成功的。
之后我

ulimit -s unlimited
./wrf.exe

出现Segmentation fault (core dumped),

我调试了很久 依旧没有反应  所以请求大家帮忙   下面是我namelist.wps和namelist.input的内容
namelist.wps


&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2010-09-13_00:00:00','2010-09-13_00:00:00','2010-09-13_00:00:00'
end_date   = '2010-09-14_18:00:00','2010-09-14_18:00:00','2010-09-14_18:00:00'
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id         =   1,    1,    2,   3,
parent_grid_ratio =   1,    3,    3,   3,
i_parent_start    =   1,    69,   100,
j_parent_start    =   1,    57,   75,
e_we              =   259,  247,  70,
e_sn              =   182,  175,  61,
geog_data_res     =  '10m',  '2m','30s',
dx = 27000,
dy = 27000,
map_proj = 'lambert',
ref_lat   =  23.87,
ref_lon   =  119.34,
truelat1  =  30.0,
truelat2  =  60.0,
stand_lon = 106.0,
geog_data_path = '/powervault/pvd3/guo3/wangnan/WPS_GEOG/geog'
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/
&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
/
            
-------------------------------------------------------------------------------------
namelist.input



&time_control
run_days                            = 1,
run_hours                           = 18,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2010, 2010, 2010,
start_month                         = 09,   09,   09,
start_day                           = 13,   13,   13,
start_hour                          = 00,   00,   00,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2010, 2010, 2010,
end_month                           = 09,   09,   09,
end_day                             = 14,   14,   14,
end_hour                            = 18,   18,   18,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 21600,
input_from_file                     = .true.,.true.,.true.,
history_interval                    = 60,  60,   60,
frames_per_outfile                  = 72, 1000, 1000,
restart                             = .false.,
restart_interval                    =    0,
io_form_history                     = 2,
io_form_restart                     = 2,
io_form_input                       = 2,
io_form_boundary                    = 2,
auxinput6_inname                    = 'wrfbiochemi_d<domain>',
auxinput7_inname                    = 'wrffirechemi_d<domain>',
auxinput8_inname                    = 'wrfchemi_gocart_bg_d<domain>',
auxinput12_inname                   = 'wrf_chem_input',
auxinput13_inname                   = 'wrfchemv_d<domain>',
auxinput5_interval_m                = 86400, 86400, 60,
auxinput7_interval_m                = 86400, 86400, 60,
auxinput8_interval_m                = 86400, 86400, 60,
auxinput13_interval_m               = 86400, 86400, 60,
io_form_auxinput2                   = 2,
io_form_auxinput5                   = 2,
io_form_auxinput6                   = 0,
io_form_auxinput7                   = 0,
io_form_auxinput8                   = 0,
io_form_auxinput12                  = 0,
io_form_auxinput13                  = 0,
debug_level                         = 0,
auxinput1_inname                    = "met_em.d<domain>.<date>",
/
&dfi_control
/
&domains
time_step                           = 600,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 3,
s_we                                = 1,     1,     1,
e_we                                = 259,   247,   70,
s_sn                                =   1,    1,     1,
e_sn                                = 182,   175,   61,
e_vert                              = 28,    28,    28,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 27000, 9000,  3000,
dy                                  = 27000, 9000,  3000,
grid_id                             = 1,     2,     3,
parent_id                           = 0,     1,     2,
i_parent_start                      = 1,     69,    100,
j_parent_start                      = 1,     57,    75,
parent_grid_ratio                   = 1,     3,     3,
parent_time_step_ratio              = 1,     3,     3,
p_top_requested                     = 5000,
feedback                            = 1,
smooth_option                       = 0
p_top_requested                     = 5000
zap_close_levels                    = 50
interp_type                         = 1
t_extrap_type                       = 2
force_sfc_in_vinterp                = 0
use_levels_below_ground             = .true.
use_surface                         = .true.
lagrange_order                      = 1
/
sfcp_to_sfcp                        = .true.
&physics
mp_physics                          = 4,     4,     4,
progn                               = 0,
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                          = 5,     5,     5,
cu_diag                             = 1,     0,     0,
cudt                                = 0,     0,     0,
ishallow                            = 0,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,     0,     0,
mp_zero_out                         = 2,
mp_zero_out_thresh                  = 1.e-12
maxiens                             = 1,
maxens                              = 3,
maxens2                             = 3,
maxens3                             = 16,
ensdim                              = 144,
cu_rad_feedback                     = .true.,
/
&fdda
/
&dynamics
rk_ord                              = 3,
w_damping                           = 1,
diff_opt                            = 1,
km_opt                              = 4,
diff_6th_opt                        = 0,
diff_6th_factor                     = 0.12,
base_temp                           = 290.
damp_opt                            = 0,
zdamp                               = 5000.,  5000.,  5000.,
dampcoef                            = 0.01,   0.01,   0.01
khdif                               = 0,      0,      0,
kvdif                               = 0,      0,      0,
non_hydrostatic                     = .true., .true., .true.,
moist_adv_opt                       = 2,      0,      0,
scalar_adv_opt                      = 2,      0,      0,
chem_adv_opt                        = 2,      0,      0,
tke_adv_opt                         = 2,      0,      0,
time_step_sound                     = 4,      4,      4,
h_mom_adv_order                     = 5,      5,      5,
v_mom_adv_order                     = 3,      3,      3,
h_sca_adv_order                     = 5,      5,      5,
v_sca_adv_order                     = 3,      3,      3,
/
&bdy_control
spec_bdy_width                      = 5,
spec_zone                           = 1,
relax_zone                          = 4,
specified                           = .true., .false.,.false.,
nested                              = .false.,.true.,.true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
&chem
kemit                               = 8,
chem_opt                            = 301,
bioemdt                             = 30,
photdt                              = 30,
chemdt                              = 5,
io_style_emissions                  = 1,
emiss_opt                           = 3,    3,     3,
emiss_opt_vol                       = 0,    0,     0,
emiss_ash_hgt                       = 20000.,
chem_in_opt                         = 0,    0,     0,
phot_opt                            = 1,    1,     1,
gas_drydep_opt                      = 1,    1,     1,
aer_drydep_opt                      = 1,    1,     1,
bio_emiss_opt                       = 3,    3,     3,
dust_opt                            = 1,
dmsemis_opt                         = 1,
seas_opt                            = 1,
gas_bc_opt                          = 1,    1,     1,
gas_ic_opt                          = 1,    1,     1,
aer_bc_opt                          = 1,    1,     1,
aer_ic_opt                          = 1,    1,     1,
gaschem_onoff                       = 1,    1,     1,
aerchem_onoff                       = 1,    1,     1,
wetscav_onoff                       = 0,    0,      0,
cldchem_onoff                       = 0,    0,      0,
vertmix_onoff                       = 1,    1,     1,
chem_conv_tr                        = 1,    1,      1,
biomass_burn_opt                    = 0,    0,     0,
have_bcs_chem                       = .false., .false., .false.,
aer_ra_feedback                     = 1,
aer_op_opt                          = 1,
opt_pars_out                        = 1,
diagnostic_chem                     = 0,
/





很是苦恼
希望大家都能帮忙!!!!


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-7 23:36:47 | 显示全部楼层

解决了,我重装了WRF,原因是我之前没编译em_real,只编译其他的case,但我跑的是em_real里的wrf.exe,那个文件不是真实的,是系统自动从我之前编译的那个case里链接过来的。所以当我重新编译em_real后就没出现这个问题了,你最好在google里搜解决方案,我的经验是中文的网站基本没有得到过答案,全在英文网页里找到的~~因为很多中文网站上楼主解决问题后不会挂出来跟大家分享,他压根忘了,而大牛又通常不出来回答问题。。。
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 1

使用道具 举报

新浪微博达人勋

发表于 2012-10-1 12:04:53 | 显示全部楼层
time_step                           = 600,
积分时间步长600s太大了吧,把它调低试试看
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2012-10-1 13:10:05 | 显示全部楼层
我有换成27*6=162 也不行
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2012-10-1 13:48:13 | 显示全部楼层
有熟悉wrf-chem的大神来看看么
我真的很急啊  
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2012-10-7 12:19:53 | 显示全部楼层
为什么restart_interval = 0,
一般是设为5000哦。若你不做restart,它要比运行的时间段大.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2012-10-22 22:34:46 | 显示全部楼层
Segmentation fault 内存访问错误。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2012-11-2 16:59:34 | 显示全部楼层
你说林剑么
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-8-24 23:18:41 | 显示全部楼层
求解啊,同样遇到这样的问题
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-1-19 16:51:45 | 显示全部楼层
请问楼主解决了么,我也遇到同样的问题
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-1-19 16:52:15 | 显示全部楼层
TANG 发表于 2013-8-24 23:18
求解啊,同样遇到这样的问题

你好,请问你解决了么?怎么解决的?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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