爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: May-xiaobai

./real.exe运行始终出错,各位大侠帮我看看

[复制链接]
发表于 2015-8-30 11:14:52 | 显示全部楼层
May-xiaobai 发表于 2015-8-30 11:04
哦,这样啊,那到底哪个对呢。。。。

run hours指你模拟多久。如果你是模拟8月28到8月29一天的话,这就要写24.如果写12的话,只会模拟28号前12个时次。
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2015-8-30 11:18:41 | 显示全部楼层
TT2012SP2版 发表于 2015-8-30 11:13
这两行不写也没关系的,一般默认都是从1开始。

哦,我是新手,才开始学习,多谢指导,不过现在又出现新问题了。我在转嵌套的个例http://www2.mmm.ucar.edu/wrf/OnLineTutorial/CASES/NestRuns/metgrid_2way2inputs.htm
出现的问题还是root@lyj-K46CB:/home/mode/WRFV3/test/em_real# ./real.exe
--- ERROR: If fine_input_stream /= 0, io_form_auxinput2 must be /= 0
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     292
--- Set io_form_auxinput2 in the time_control namelist (probably to 2).
-------------------------------------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     292
--- Set io_form_auxinput2 in the time_control namelist (probably to 2).
-------------------------------------------
root@lyj-K46CB:/home/mode/WRFV3/test/em_real# ./real.exe
--- ERROR: If fine_input_stream /= 0, io_form_auxinput2 must be /= 0
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     292
--- Set io_form_auxinput2 in the time_control namelist (probably to 2).
-------------------------------------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     292
--- Set io_form_auxinput2 in the time_control namelist (probably to 2).
-------------------------------------------



namelist。input内容如下
&time_control
run_days                            = 0,
run_hours                           = 24,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2005, 2005, 2000,
start_month                         = 08,   08,   01,
start_day                           = 28,   28,   24,
start_hour                          = 00,   00,   12,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2005, 2005, 2000,
end_month                           = 08,   08,   01,
end_day                             = 29,   29,   25,
end_hour                            = 00,   00,   12,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 21600
input_from_file                     = .true.,.true.,.true.,
fine_input_stream                   = 0, 2,
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,
s_we                                = 1, 1,
e_we                                = 98,    118,   94,
s_sn                                = 1, 1,
e_sn                                = 70,    103,    91,
s_vert                              = 1, 1,
e_vert                              = 28,    28,    30,
p_top_requested                     = 5000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 30000, 10000,  3333.33,
dy                                  = 30000, 10000,  3333.33,
grid_id                             = 1,     2,     3,
parent_id                           = 0,     1,     2,
i_parent_start                      = 1,     35,    30,
j_parent_start                      = 1,     23,    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,
/

&fdda
/

&dynamics
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.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                      = 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,
/
这次我没找到原因,麻烦大侠帮我看看。
密码修改失败请联系微信:mofangbao
发表于 2015-8-30 22:21:14 | 显示全部楼层
May-xiaobai 发表于 2015-8-30 11:18
哦,我是新手,才开始学习,多谢指导,不过现在又出现新问题了。我在转嵌套的个例http://www2.mmm.ucar.e ...

提示已经很明显了,如果你把fine input stream设成不等于0的话,那io_form_auxinput2也得设成不等于0才行。你的namelist里并没有设置这一项,所以出错。
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-8-31 11:53:49 | 显示全部楼层
TT2012SP2版 发表于 2015-8-30 22:21
提示已经很明显了,如果你把fine input stream设成不等于0的话,那io_form_auxinput2也得设成不等于0才行 ...

那应该在哪里添加这一项吗?
密码修改失败请联系微信:mofangbao
发表于 2015-8-31 15:25:14 | 显示全部楼层
以我的经验来看,只要在start和end的年月日时设置了,前面的run关于时间的设置没有神马影响,否则我现在跑几年的试验那该怎么设置前面那几项run的啊?不信你试试,祝你好运~
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-8-31 16:04:20 | 显示全部楼层
evlom 发表于 2015-8-31 15:25
以我的经验来看,只要在start和end的年月日时设置了,前面的run关于时间的设置没有神马影响,否则我现在跑 ...

好的,谢谢!
密码修改失败请联系微信:mofangbao
发表于 2015-8-31 16:17:18 | 显示全部楼层
May-xiaobai 发表于 2015-8-31 11:53
那应该在哪里添加这一项吗?

time_control列
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-8-31 17:54:02 | 显示全部楼层

好的,谢谢,我去试试
密码修改失败请联系微信:mofangbao
发表于 2015-9-2 13:26:08 | 显示全部楼层
学习了,谢谢
密码修改失败请联系微信:mofangbao
发表于 2015-9-2 15:38:00 | 显示全部楼层
24小时。。
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

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

本版积分规则

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

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

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