爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 310|回复: 3

在跑wrf结束的时候出现了问题,有大佬能指点一下吗

[复制链接]

新浪微博达人勋

发表于 2025-3-2 17:54:51 | 显示全部楼层 |阅读模式

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

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

x
在跑完wrf之后出现的问题,不知道对结果会不会有影响呢,有没有遇到同样问题的,希望可以解答一下。感谢!

报错:
Timing for main (dt= 20.00): time 2010-01-02_00:00:00 on domain   3:    0.85792 elapsed seconds
Timing for Writing wrfout_d03_2010-01-02_00:00:00 for domain        3:    1.68511 elapsed seconds
Timing for main (dt= 60.00): time 2010-01-02_00:00:00 on domain   2:    5.47568 elapsed seconds
Timing for Writing wrfout_d02_2010-01-02_00:00:00 for domain        2:    1.82805 elapsed seconds
Timing for main (dt=180.00): time 2010-01-02_00:00:00 on domain   1:   16.16465 elapsed seconds
Timing for Writing wrfout_d01_2010-01-02_00:00:00 for domain        1:    1.75769 elapsed seconds
Timing for Writing restart for domain        1:    9.46867 elapsed seconds
Timing for Writing restart for domain        2:   10.66343 elapsed seconds
Timing for Writing restart for domain        3:    8.89035 elapsed seconds
d01 2010-01-02_00:00:00 wrf: SUCCESS COMPLETE WRF
corrupted size vs. prev_size

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f84ef3bd960 in ???
#1  0x7f84ef3bcac5 in ???
#2  0x7f84eefad51f in ???
#3  0x7f84ef0019fc in ???
#4  0x7f84eefad475 in ???
#5  0x7f84eef937f2 in ???
#6  0x7f84eeff4676 in ???
#7  0x7f84ef00bcfb in ???
#8  0x7f84ef00c7e1 in ???
#9  0x7f84ef00c968 in ???
#10  0x7f84ef00de9f in ???
#11  0x7f84ef010452 in ???
#12  0x7f84eea43faa in ???
#13  0x7f84eea4454c in ???
#14  0x7f84eea44756 in ???
#15  0x7f84ee95cc6c in ???
#16  0x7f84eefb0494 in ???
#17  0x7f84eefb060f in ???
#18  0x7f84eef94d96 in ???
#19  0x7f84eef94e3f in ???
#20  0x55daa9907254 in ???
#21  0xffffffffffffffff in ???

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

新浪微博达人勋

发表于 2025-3-3 09:49:50 | 显示全部楼层
虽然提示wrf成功完成运行,但是报错运行结束后由于内存问题崩溃了,可能是内存不足、编译器不兼容问题、mpi运行等问题。可以用 ncdump -h wrfout_*** 检查输入文件是否完整,完整的话应该不影响输出文件,或者检查 rsl.out.* 和 rsl.error.*查看更详细报错信息
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2025-3-3 11:43:51 | 显示全部楼层
俄罗斯威士忌 发表于 2025-3-3 09:49
虽然提示wrf成功完成运行,但是报错运行结束后由于内存问题崩溃了,可能是内存不足、编译器不兼容问题、mpi ...

rsl.out.*没有报错,其他文件也都完整,不知道是不是namelist的问题
我的namelist: &time_control
run_days                            = 0,
run_hours                           = 0,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2010, 2010, 2010,
start_month                         = 01,   01,   01,
start_day                           = 01,   01,   01,
start_hour                          = 00,   00,   00,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2010, 2010, 2010,
end_month                           = 01,   01,   01,
end_day                             = 02,   02,   02,
end_hour                            = 00,   00,   00,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 10800,
input_from_file                     = .true.,.true.,.true.,
history_interval                    = 60,  60,   60,
frames_per_outfile                  = 1000, 1000, 1000,
restart                             = .false.,
restart_interval                    = 360,
io_form_history                     = 2,
io_form_restart                     = 2,
io_form_input                       = 2,
io_form_boundary                    = 2,
! iofields_filename                   = 'my_file_d01.txt'
ignore_iofields_warning             = .false.,
! auxhist7_outname                    = "CO2_d<domain>_<date>"
! auxhist7_interval                   = 360,
! frames_per_auxhist7                 = 1,
! io_form_auxhist7                    = 2
debug_level                         = 0,
auxinput5_inname                    = 'wrfchemi_d<domain>_<date>',
auxinput5_interval_m                = 180,180,180,
! auxinput8_interval_m                = 100000,
io_form_auxinput5                   = 2,
force_use_old_data                  = .true.,
/

&dfi_control
/

&domains
time_step                           = 60,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 3,
s_we                                =   1,    1,     1
e_we                                = 121,    127,   121,
s_sn                                =   1,    1,     1,
e_sn                                = 121,    124,   118,
e_vert                              = 45,     45,   45,
num_metgrid_levels                  = 38,
num_metgrid_soil_levels             = 4,
dx                                  = 27000, 9000,  3000,
dy                                  = 27000, 9000,  3000,
grid_id                             = 1,     2,     3,
parent_id                           = 1,     1,     2,
i_parent_start                      = 1,     40,    44,
j_parent_start                      = 1,     42,    41,
parent_grid_ratio                   = 1,     3,     3,
parent_time_step_ratio              = 1,     3,     3,
p_top_requested                     = 5000,
feedback                            = 0,
smooth_option                       = 0
zap_close_levels                    = 50
interp_type                         = 1
t_extrap_type                       = 2
force_sfc_in_vinterp                = 0
use_adaptive_time_step              = .true.,
step_to_output_time                 = .true. ,
target_cfl                          = 1.2,1.2,1.2,
max_step_increase_pct               = 5,51,51,
starting_time_step                  = -1,-1,-1,
use_levels_below_ground             = .true.
use_surface                         = .true.
lagrange_order                      = 1
sfcp_to_sfcp                        = .true.
/

&physics
mp_physics                          = 10,     10,     10,
progn                               = 0,
ra_lw_physics                       = 4,     4,     4,
ra_sw_physics                       = 4,     4,     4,
radt                                = 30,    30,    30,
sf_sfclay_physics                   = 2,     2,     2,
sf_surface_physics                  = 2,     2,     2,
bl_pbl_physics                      = 2,     2,     2,
bldt                                = 0,     0,     0,
cu_physics                          = 5,     0,     0,
cu_diag                             = 1,     0,     0,
cudt                                = 0,     0,     0,
ishallow                            = 0,
isfflx                              = 1,
ifsnow                              = 0,
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.,.false.,.false.,
num_land_cat                             = 21,
/

密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2025-3-3 19:03:48 | 显示全部楼层
rsl.out.* 没有报错说明 WRF 主要的计算程序是完成的。
最后在释放内存时遇到的问题,可以根据你的研究需求,更改namelist中的一些参数:
restart_interval = 360, WRF 每 6 小时就写入 restart 文件,如果不需要频繁重启,建议取消或者设为较长时间间隔。
frames_per_outfile = 1000,设置每个输出文件包含的时间帧数,这个数值较大,也可能导致内存占用高,也可以设置低一点。
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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