爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7944|回复: 6

运行real.exe时的网格问题Failed to allocate grid

[复制链接]

新浪微博达人勋

发表于 2018-8-22 18:40:44 | 显示全部楼层 |阅读模式

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

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

x
如题,在使用WPS做完文件转到test/em_real下运行real.exe和wrf.exe时,会出现这个问题
FATAL CALLED FROM FILE:  <stdin>  LINE:   12916
frame/module_domain.f: Failed to allocate grid%bn2(sm31:em31,sm32:em32,sm33:em33).
搜索别人的提问,这个是内存不足的表现,所以我把内存扩到了8g,虚拟机,乌班图,但依然有此问题。求解答
以下为namelist.wps和namelist.input
&#65279;&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2014-07-17_12:00:00','2014-07-17_12:00:00',
end_date   = '2014-07-19_12:00:00','2014-07-17_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/

&geogrid
parent_id         =   1,   1, 2,
parent_grid_ratio =   1, 3, 3,
i_parent_start    =   1,  29, 35,
j_parent_start    =   1,  40, 30,
e_we              =  199, 322, 190,
e_sn              =  181, 280, 172,
geog_data_res     = 'default',
dx = 15000,
dy = 15000,
map_proj = 'mercator',
ref_lat   =  18.5,
ref_lon   = 115,
truelat1  =  0,
truelat2  =  0,
stand_lon = 115
geog_data_path = '/atmos/wrf/geog/'
/

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

&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
constants_name='/atmos/wrf/wps/SST:2014-07-17_12'
/
namelist.input
&time_control
run_days                            = 0,
run_hours                           = 48,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2014, 2014,2014,
start_month                         = 07,  07,   07,
start_day                           = 17,  17,   17,
start_hour                          = 12,  12,  12,
start_minute                        = 00,   00,  00,
start_second                        = 00,   00,  00,
end_year                            = 2014, 2014,2014,
end_month                           = 07,  07,    07,
end_day                             = 19,  19,    19,
end_hour                            = 12,  12,   12,
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                  = 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                           = 108,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 2,
e_we                                = 199,  322, 190,
e_sn                                = 181,  280, 172,   
e_vert                              = 35,  35,  30,
p_top_requested                     = 2000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 15000, 5000, 3000,
dy                                  = 15000, 5000, 3000,
grid_id                             = 1,     2,    3,
parent_id                           = 1,     1,    2,
i_parent_start                      = 1,     29,  35,
j_parent_start                      = 1,     40,  30,  
parent_grid_ratio                   = 1,     3,   3,  
parent_time_step_ratio              = 1,     3,   3,   
feedback                            = 1,
smooth_option                       = 0
/

&physics
mp_physics                          = 2,     2,     2,
ra_lw_physics                       = 1,     1,     1,
ra_sw_physics                       = 1,     1,     1,
radt                                = 10,    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                          = 2,     2,     2,
cudt                                = 5,     5,     5,
isfflx                              = 1,
ifsnow                              = 0,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,     0,     0,
NUM_LAND_CAT                        = 24,   
/

&fdda
/

&dynamics
w_damping        = 0,
diff_opt         = 1,
km_opt           = 4,
diff_6th_opt     = 0,
diff_6th_factor  = 0.12,
base_temp        = 290,
damp_opt         = 0,
zdamp            = 5000,
dampcoef         = 0.2,
khdif            = 0,
kvdif            = 0,
non_hydrostatic  = .true.,
moist_adv_opt    = 1,
scalar_adv_opt   = 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,
/

&dfi_control
/

&tc
/

&scm
/

&fire

/


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

新浪微博达人勋

发表于 2018-8-22 20:54:21 | 显示全部楼层
本帖最后由 qqqin 于 2018-8-22 20:55 编辑

可能网格太细了,改下e_we,e_sn试试
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-8-23 13:42:58 | 显示全部楼层
qqqin 发表于 2018-8-22 20:54
可能网格太细了,改下e_we,e_sn试试

我师兄的论文里是这样写的说用了这个网格,他还只给了4g内存,这太夸张了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-8-23 13:43:03 | 显示全部楼层
qqqin 发表于 2018-8-22 20:54
可能网格太细了,改下e_we,e_sn试试

我师兄的论文里是这样写的说用了这个网格,他还只给了4g内存,这太夸张了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-8-23 13:43:18 | 显示全部楼层
qqqin 发表于 2018-8-22 20:54
可能网格太细了,改下e_we,e_sn试试

我师兄的论文里是这样写的说用了这个网格,他还只给了4g内存,这太夸张了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2020-9-10 15:32:04 | 显示全部楼层
遇到同样问题了,请问楼主最后怎样解决的
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2021-11-8 10:20:35 | 显示全部楼层
请问问题如何解决
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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