爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 16326|回复: 13

WRF安装成功 但是运行出错

[复制链接]
发表于 2019-9-2 10:40:57 | 显示全部楼层 |阅读模式

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

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

x
安装WRFV4.0和WPSV4.0
运行mpiexe -n 15 ./wrf.exe
cp /media/tyx/tyx/ASAR-HK-MT/APS/Model/WRF_PS/20070228/files/../namelist.input.
starting wrftask            0 of            1
starting wrftask            1 of           15
starting wrftask            4 of           15
starting wrftask            7 of           15
starting wrftask           10 of           15
starting wrftask           11 of           15
starting wrftask           12 of           15
starting wrftask            8 of           15
starting wrftask           14 of           15
starting wrftask            2 of           15
starting wrftask            3 of           15
starting wrftask            5 of           15
starting wrftask            0 of           15
starting wrftask           13 of           15
starting wrftask            9 of           15
starting wrf task           6  of           15
===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   EXIT CODE: 1
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================


rsl.error.0000如下:

taskid: 0 hostname: tyx-ZHENGJIUZHE-REN7000-25ICZ
module_io_quilt_old.F        2931 F
Quilting with   1 groups of   0 I/O tasks.
Ntasks in X            3 , ntasks in Y            5
   For domain            1 , the domain size is too small for this many processors, or the decomposition aspect ratio is poor.
   Minimum decomposed computational patch size, either x-dir or y-dir, is 10 grid cells.
  e_we =    33, nproc_x =    3, with cell width in x-direction =   11
  e_sn =    40, nproc_y =    5, with cell width in y-direction =    8
  --- ERROR: Reduce the MPI rank count, or redistribute the tasks.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1726
NOTE:       1 namelist settings are wrong. Please check and reset these options
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
rsl.out.0000如下:
taskid: 0 hostname: tyx-ZHENGJIUZHE-REN7000-25ICZ
Quilting with   1 groups of   0 I/O tasks.
Ntasks in X            3 , ntasks in Y            5
   For domain            1 , the domain size is too small for this many processors, or the decomposition aspect ratio is poor.
   Minimum decomposed computational patch size, either x-dir or y-dir, is 10 grid cells.
  e_we =    33, nproc_x =    3, with cell width in x-direction =   11
  e_sn =    40, nproc_y =    5, with cell width in y-direction =    8
  --- ERROR: Reduce the MPI rank count, or redistribute the tasks.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1726
NOTE:       1 namelist settings are wrong. Please check and reset these options
-------------------------------------------

namelist.input如下:
&time_control
run_days                  = 0,
run_hours                  = 18,
run_minutes                  = 0,
run_seconds                  = 0,
start_year                  = 2007, 2007,
start_month                  = 02, 02,
start_day                  = 28, 28,
start_hour                  = 00, 00,
start_minute                  = 00, 00,
start_second                  = 00, 00,
end_year                  = 2007, 2007,
end_month                  = 02, 02,
end_day                  = 28, 28,
end_hour                  = 18, 18,
end_minute                  = 00, 00,
end_second                  = 00, 00,
interval_seconds          = 21600,
input_from_file          = .true., .true.,
history_interval          = 180, 60,
history_begin_m          = 0, 19,
frames_per_outfile          = 1, 1,
restart                  = .false.,
restart_interval          = 5000,
io_form_history          = 2,
io_form_restart          = 2,
io_form_input                  = 2,
io_form_boundary          = 2,
debug_level                  = 0,
auxhist23_outname          = "wrfplev_d<domain>_<date>",
io_form_auxhist23          = 2,
auxhist23_interval          = 180, 60,
frames_per_auxhist23          = 1, 1,
auxhist23_begin_m          = 0, 19,
/




&domains
time_step                  = 150,
time_step_fract_num         = 0,
time_step_fract_den         = 1,
max_dom                  = 2
e_we                          = 33, 91,
e_sn                          = 40, 136,
e_vert                          = 30, 30,
p_top_requested          = 5000
num_metgrid_levels         = 27
num_metgrid_soil_levels         = 4
dx                          = 25000, 5000,
dy                          = 25000, 5000,
grid_id                  = 1, 2,
parent_id                  = 0, 1,
i_parent_start                  = 1, 10,
j_parent_start                  = 1, 8,
parent_grid_ratio          = 1, 5,
parent_time_step_ratio          = 1, 5,
feedback                  = 1
smooth_option                  = 0
/


&physics
mp_physics                  = 3, 3,
ra_lw_physics                  = 1, 1,
ra_sw_physics                  = 1, 1,
radt                          = 30, 30,
sf_sfclay_physics         = 1, 1,
sf_surface_physics         = 2, 2,
bl_pbl_physics                 = 1, 1,
bldt                          = 0, 0,
cu_physics                  = 1, 1,
cudt                          = 5, 5,
isfflx                          = 1,
ifsnow                          = 1,
icloud                          = 1,
surface_input_source          = 1,
num_soil_layers          = 4,
sf_urban_physics          = 0, 0,
/


&fdda
/


&dynamics
w_damping                   = 0,
diff_opt                  = 1,
km_opt                   = 4,
diff_6th_opt                 = 0, 0,
diff_6th_factor          = 0.12, 0.12,
base_temp                  = 290,
damp_opt                  = 0,
zdamp                         = 5000., 5000.,
dampcoef                  = 0.2, 0.2,
khdif                          = 0, 0,
kvdif                          = 0, 0,
non_hydrostatic          = .true., .true.,
moist_adv_opt                 = 1, 1,
scalar_adv_opt                 = 1, 1,
/


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


&grib2
/


&namelist_quilt
nio_tasks_per_group         = 0,
nio_groups                  = 1,
/


&diags
p_lev_diags                  = 1,
num_press_levels          = 37,
press_levels                  = 100000, 97500, 95000, 92500, 90000, 87500, 85000, 82500, 80000, 77500, 75000, 70000, 65000, 60000, 55000, 50000, 45000, 40000, 35000, 30000, 25000, 22500, 20000, 17500, 15000, 12500, 10000, 7000, 5000, 3000, 2000, 1000, 700, 500, 300, 200, 100,
/
namelist.wps如下:
&share
wrf_core                          = 'ARW',
max_dom                          = 2,
start_date                          =  '2007-02-28_00:00:00',  '2007-02-28_00:00:00',
end_date                           =  '2007-02-28_18:00:00',  '2007-02-28_00:00:00',
interval_seconds          = 21600,
io_form_geogrid          = 2,
/


&geogrid
parent_id                          = 0, 1,
parent_grid_ratio          = 1, 5,
i_parent_start                  = 1, 10,
j_parent_start                  = 1, 8,
e_we                                  = 33, 91,
e_sn                                  = 40, 136,
geog_data_res                  =  '3s',  '3s',
dx                                          = 25000,
dy                                          = 25000,
map_proj                          = 'lambert',
ref_lat                          =  22.3,
ref_lon                           =  114,
truelat1                          = 30,
truelat2                          =  60,
stand_lon                          =  114,
geog_data_path                  = '/home/tyx/WPS_GEOG',
/


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


&metgrid
fg_name                          = 'FILE',
io_form_metgrid          = 2,
/

刚接触wrf,请教各位大神该怎么解决?非常感谢!




rsl.out.0000

785 Bytes, 下载次数: 1, 下载积分: 金钱 -5

rsl.error.0000

882 Bytes, 下载次数: 0, 下载积分: 金钱 -5

namelist.wps

747 Bytes, 下载次数: 0, 下载积分: 金钱 -5

namelist.input

2.56 KB, 下载次数: 0, 下载积分: 金钱 -5

密码修改失败请联系微信:mofangbao
发表于 2019-12-14 18:21:17 | 显示全部楼层
饶平仔 发表于 2019-12-14 09:10
请问,这个网格数和节点*核数,怎样才是最好的搭配呢?是否有公式可以推算?谢谢

我记得有大概一个参考规则,它mpirun的时候会将整个网格分块进行计算,比如说-np定为16的时候,横纵两个方向则是4x4,一般要保证横纵的格点数分别除以4之后大于10.具体的链接地址一时半会忘记在哪里了,等记起来来再更新。
或者,看这个错误提示,
For domain            1 , the domain size is too small for this many processors, or the decomposition aspect ratio is poor.
   Minimum decomposed computational patch size, either x-dir or y-dir, is 10 grid cells.
  e_we =    33, nproc_x =    3, with cell width in x-direction =   11
  e_sn =    40, nproc_y =    5, with cell width in y-direction =    8

这里-np选用15,那么他会分成3x5, 而你的格点e_sn为40的时候,40/5=8<10。
密码修改失败请联系微信:mofangbao
回复 支持 2 反对 0

使用道具 举报

发表于 2019-12-14 18:47:36 | 显示全部楼层
饶平仔 发表于 2019-12-14 09:10
请问,这个网格数和节点*核数,怎样才是最好的搭配呢?是否有公式可以推算?谢谢

https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?f=73&t=5082

可以参考这个链接.

评分

参与人数 1金钱 +1 收起 理由
xenos_an + 1 很给力!

查看全部评分

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

使用道具 举报

发表于 2019-9-2 11:18:09 | 显示全部楼层
For domain            1 , the domain size is too small for this many processors, or the decomposition aspect ratio is poor.
   Minimum decomposed computational patch size, either x-dir or y-dir, is 10 grid cells.
  e_we =    33, nproc_x =    3, with cell width in x-direction =   11
  e_sn =    40, nproc_y =    5, with cell width in y-direction =    8
  --- ERROR: Reduce the MPI rank count, or redistribute the tasks.

---------
增加网格数, 或者把15减少
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-9-2 14:53:08 | 显示全部楼层
本帖最后由 阿童 于 2019-9-2 15:02 编辑
qqqin 发表于 2019-9-2 11:18
For domain            1 , the domain size is too small for this many processors, or the decompositio ...

你好!你说的“增加网格数”是指num_metgrid_levels这个参数吗?我将其由27改为50或者100还是提示相同的错误,不知道是我选错了参数还是什么原因?“或者把15减少”,我将15改成了5还是遇到相同的问题,请你指教,非常感谢!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-9-2 15:28:13 | 显示全部楼层
阿童 发表于 2019-9-2 14:53
你好!你说的“增加网格数”是指num_metgrid_levels这个参数吗?我将其由27改为50或者100还是提示相同的 ...

根据报错信息提示,可修改第一层的e_we,e_sn
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-10-21 11:24:57 | 显示全部楼层
你查看你的cpu个数了吗 是不是没有15个 ?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-10-23 20:21:22 | 显示全部楼层
请问您有该版本的安装指南或者视频吗?自己琢磨两天不会安装
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-11-6 16:34:28 | 显示全部楼层
qqqin 发表于 2019-9-2 11:18
For domain            1 , the domain size is too small for this many processors, or the decompositio ...

试了增加网格数,转起来了
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-12-13 10:19:49 | 显示全部楼层
梦纯 发表于 2019-11-6 16:34
试了增加网格数,转起来了

请问你是直接在namelist.input里增加的吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-12-13 15:40:28 | 显示全部楼层
本帖最后由 梦纯 于 2019-12-13 15:41 编辑
zhangming 发表于 2019-12-13 10:19
请问你是直接在namelist.input里增加的吗

是在namelist_input里加啊,&namelist_wps里也得保持一致
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2019-12-14 09:10:14 | 显示全部楼层
qqqin 发表于 2019-9-2 11:18
For domain            1 , the domain size is too small for this many processors, or the decompositio ...

请问,这个网格数和节点*核数,怎样才是最好的搭配呢?是否有公式可以推算?谢谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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