爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4045|回复: 2

求指教:关于WRF并行的设置

[复制链接]

新浪微博达人勋

发表于 2017-5-14 23:44:30 | 显示全部楼层 |阅读模式
数值模式
使用语言: Linux
我看过提问的智慧: 看过
自己思考时长(天): 5
问题概况: 在./real.exe这一步出错。
问题截图: -
系统平台: CentOS

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

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

x
mpirun -np  4  ./geogrid.exe  运行正常 生成geo_em.d01.nc_0000、geo_em.d01.nc_0001、geo_em.d01.nc_0002、geo_em.d01.nc_0003
./ungrib.exe  运行正常
mpirun -np 4 ./metfrid.exe  运行后生成的文件带有编号0001、0002等

链接文件后,运行mpirun -np 4 ./real.exe 报错如下:
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     411
error opening met_em.d01.2012-06-21_00:00:00.nc for input; bad date in namelist or file not in directory
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0



问题的情况与:http://bbs.06climate.com/forum.p ... p;extra=&page=1  类似。
namelist.input 如下:
&time_control
run_days                            = 41,
run_hours                           = 0,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2012, 2000, 2000,
start_month                         = 06,   01,   01,
start_day                           = 21,   24,   24,
start_hour                          = 00,   12,   12,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2012, 2000, 2000,
end_month                           = 08,   01,   01,
end_day                             = 01,   25,   25,
end_hour                            = 00,   12,   12,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 21600
input_from_file                     = .true.,.true.,.true.,
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                       = 102
io_form_boundary                    = 2
debug_level                         = 0
/

&domains
time_step                           = 180,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 1,
s_we                                = 1,
e_we                                = 74,    112,   94,
s_sn                                = 1,
e_sn                                = 61,    97,    91,
s_vert                              = 1,
e_vert                              = 30,    30,    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,     31,    30,
j_parent_start                      = 1,     17,    30,
parent_grid_ratio                   = 1,     3,     3,
parent_time_step_ratio              = 1,     3,     3,
feedback                            = 1,
smooth_option                       = 0
/

&physics
mp_physics                          = 2,     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                          = 2,     1,     0,
cudt                                = 5,     5,     5,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
num_land_cat                        = 21,
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,
/


不知道是不是并行mpi的设置问题,还是namelist的设置问题,因为有那个后缀,所以找不到数据。

求大家指教~!

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

新浪微博达人勋

发表于 2017-5-15 12:16:08 | 显示全部楼层
确保这个文件met_em.d01.2012-06-21_00:00:00.nc 在 real.exe 所在目录下
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

新浪微博达人勋

发表于 2017-5-15 13:51:48 | 显示全部楼层
为啥wps还要并行呢~
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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