爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7291|回复: 3

wrf-chem, ./wrf.exe出错,化学模块参数化组合出错forrtl: severe (174): SIGSEGV,...

[复制链接]
发表于 2021-12-14 18:49:49 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 魏文玉 于 2021-12-14 18:52 编辑

大家好,我在./wrf.exe出现forrtl: severe (174): SIGSEGV, segmentation fault occurred的错误。
我使用的是CBMZ-Mosaic的化学方案,当我关闭aerchem_onoff  ,cldchem_onoff 模型能运行成功,当我开启它俩得时候,./wrf.exe就出现错误:forrtl: severe (174): SIGSEGV, segmentation fault occurred
但在wrf_chem里aerchem_onoff 默认是打开的,我不明白namelist.input要如何修改正确?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2021-12-14 18:52:45 | 显示全部楼层
&time_control
run_days                            = 27,
run_hours                           = 0,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2017, 2017,2017,
start_month                         = 06,   06, 06,
start_day                           = 10,   10, 10,
start_hour                          = 00,   00, 00,
end_year                            = 2017, 2017, 2017,
end_month                           = 07,   07, 07,
end_day                             = 06,   06, 06,
end_hour                            = 00,   00, 00,
interval_seconds                    = 21600
input_from_file                     = .true.,.true., .true.,
history_interval                    = 60,  60, 60,
frames_per_outfile                  = 1,    1,  1,
restart                             = .false.,
restart_interval                    = 0,
io_form_history                     = 2
io_form_restart                     = 2
io_form_input                       = 2
io_form_boundary                    = 2
auxinput1_inname                    = '/home/WPS/met_em.d<domain>.<date>',
debug_level                         = 0,
auxinput12_inname                   = 'wrf_chem_input',
iofields_filename                   = 'my_iofields_list.txt'  
auxinput5_inname                    ='wrfchemi_d<domain>_<date>',
auxinput6_inname                    = 'wrfbiochemi_d<domain>',
frames_per_auxinput5                =1, 1, 1,
auxinput5_interval_m                = 60,  60,  60,
io_form_auxinput5                   = 2,
io_form_auxinput6                   = 2,
io_form_auxinput12                  = 2,  
history_outname                     = '/home/output/wrfout_d<domain>_<date>',

force_use_old_data                   = .true.




/

&domains
time_step                           = 150,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 3,
e_we                                = 101,   151, 181,
e_sn                                = 101,   151, 181,
e_vert                              = 47,   47, 47,
dzstretch_s                         = 1.1
p_top_requested                     = 5000,
num_metgrid_levels                  = 32,
num_metgrid_soil_levels             = 4,
dx                                  = 45000, 15000, 5000,
dy                                  = 45000, 15000, 5000,
grid_id                             = 1,     2,  3,
parent_id                           = 0,     1,  2,
i_parent_start                      = 1,     24, 45,
j_parent_start                      = 1,     34, 49,
parent_grid_ratio                   = 1,     3,  3,
parent_time_step_ratio              = 1,     3,  3,
feedback                            = 1,
smooth_option                       = 0
/

&physics
mp_physics                          = 10,  10,  10,
cu_physics                          = 3,    3,  3,
ra_lw_physics                       = 4,    4,  4,
ra_sw_physics                       = 5,    5,  5,
bl_pbl_physics                      = 1,    1,  1,
sf_sfclay_physics                   = 1,    1,  1,
sf_surface_physics                  = 2,    2,  2,
progn                               = 1,    1,  1,        
naer                                = 1e9,      
mp_zero_out                         = 2,  
mp_zero_out_thresh                  = 1.e-8,  
radt                                = 30,   30, 30,
bldt                                = 0,     0,  0,
cudt                                = 5,     5,  5,
icloud                              = 1,
cu_diag                             = 1,     1,  1,
cugd_avedx                          = 1,   
num_land_cat                        = 21,
sf_urban_physics                    = 0,     0,  0,
fractional_seaice                   = 0,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,    0,   0,
maxiens                             = 1,
maxens                              = 3,
maxens2                             = 3,
maxens3                             = 16,
ensdim                              = 144,
cu_rad_feedback                     = .true., .true., .true.,

/

&fdda
/

&dynamics
hybrid_opt                          = 2,
w_damping                           = 0,
diff_opt                            = 1,      1, 1,
km_opt                              = 4,      4, 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.01,   0.01, 0.01,
khdif                               =0, 0, 0,
kvdif                               =0, 0, 0,
moist_adv_opt                       = 2,      2,     2,  
scalar_adv_opt                      = 2,      2,    2,
non_hydrostatic                     = .true., .true., .true.,
gwd_opt                             = 0,
chem_adv_opt                        =2,   2,   2,
tke_adv_opt                         = 1,   1,   1,  



/

&bdy_control
spec_bdy_width                      = 5,
spec_zone                           = 1,
relax_zone                          = 4,
specified                           = .true., .false., .false.
nested                              = .false.,.true., .true.,
/

&grib2

/

&chem
kemit                               = 11,
chem_opt                            = 10, 10, 10,
bioemdt                             =30, 30, 30,
photdt                              = 30, 30, 30,
chemdt                              =30, 30, 30,
io_style_emissions                  = 2,
emiss_inpt_opt                      = 101, 101, 101,
emiss_opt                           = 4, 4, 4,
chem_in_opt                         = 1, 1, 1,
ne_area                             = 300,
phot_opt                            = 2,  2, 2,
gas_drydep_opt                      = 1,  1, 1,
aer_drydep_opt                      = 1,  1, 1,
bio_emiss_opt                       = 3,  3, 3,
dust_opt                            = 3,
dmsemis_opt                         = 0,
seas_opt                            = 2,
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                       = 1, 1, 1,
cldchem_onoff                       = 0, 0, 0,
vertmix_onoff                       = 1, 1, 1,
chem_conv_tr                        = 1, 1, 1,
biomass_burn_opt                    = 0, 0, 0,
plumerisefire_frq                   = 30, 30, 30,
have_bcs_chem                       = .true.,  .true.,   .true.,
have_bcs_tracer                     = .true., .true., .true.,
aer_ra_feedback                     = 1, 1, 1,
aer_op_opt                          = 1, 1, 1,
opt_pars_out                        = 1,
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-12-27 15:06:27 | 显示全部楼层
已经解决上述问题,可能出错原因:1. wrf4.3.2版本特定 PBL 方案组合有bug,导致分段错误,2.移动嵌套功能存在bug, 导致分段错误。
解决方法:将wrf版本降级至4.2.2.
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2023-4-26 13:35:40 | 显示全部楼层
我使用4.4.2版本同方案,单层运行,出现同样现象,请问换版本有用对嘛?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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