爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 2296|回复: 2

在运行wrf.exe出现错误

[复制链接]

新浪微博达人勋

发表于 2017-9-14 09:57:55 | 显示全部楼层 |阅读模式
GrADS
系统平台: linux
问题截图: -
问题概况: -
我看过提问的智慧: 看过
自己思考时长(天): 5

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

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

x
运行之后出现错误,希望各位大神帮帮忙
./real.exe
Ntasks in X             1 , ntasks in Y             1
--- WARNING: traj_opt is zero, but num_traj is not zero; setting num_traj to zero.
--- NOTE: sst_update is 0, setting io_form_auxinput4 = 0 and auxinput4_interval = 0 for all domains
--- NOTE: grid_fdda is 0 for domain      1, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain      1, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain      1, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
Need MYNN PBL for icloud_bl = 1, resetting to 0
--- NOTE: RRTMG radiation is not used, setting:  o3input=0 to avoid data pre-processing
--- NOTE: num_soil_layers has been set to      5
REAL_EM V3.8.1 PREPROCESSOR
*************************************
Parent domain
ids,ide,jds,jde             1           74            1           61
ims,ime,jms,jme            -4           79           -4           66
ips,ipe,jps,jpe             1           74            1           61
*************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
   alloc_space_field: domain             1 ,                 144039960  bytes allocated
Time period #   1 to process = 2017-09-10_06:00:00.
Time period #   2 to process = 2017-09-10_12:00:00.
Time period #   3 to process = 2017-09-10_18:00:00.
Time period #   4 to process = 2017-09-11_00:00:00.
Time period #   5 to process = 2017-09-11_06:00:00.
Time period #   6 to process = 2017-09-11_12:00:00.
Time period #   7 to process = 2017-09-11_18:00:00.
Time period #   8 to process = 2017-09-12_00:00:00.
Time period #   9 to process = 2017-09-12_06:00:00.
Time period #  10 to process = 2017-09-12_12:00:00.
Time period #  11 to process = 2017-09-12_18:00:00.
Time period #  12 to process = 2017-09-13_00:00:00.
Time period #  13 to process = 2017-09-13_06:00:00.
Time period #  14 to process = 2017-09-13_12:00:00.
Time period #  15 to process = 2017-09-13_18:00:00.
Time period #  16 to process = 2017-09-14_00:00:00.
Time period #  17 to process = 2017-09-14_06:00:00.
Total analysis times to input =   17.
  
-----------------------------------------------------------------------------
  
Domain  1: Current date being processed: 2017-09-10_06:00:00.0000, which is loop #   1 out of   17
configflags%julyr, %julday, %gmt:         2017          253    6.000000   
metgrid input_wrf.F first_date_input = 2017-09-10_06:00:00
metgrid input_wrf.F first_date_nml = 2017-09-10_06:00:00
----------------- ERROR -------------------
namelist    : num_metgrid_soil_levels =          2
input files : NUM_METGRID_SOIL_LEVELS =          0 (from met_em files).
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     737
Mismatch between namelist and global attribute NUM_METGRID_SOIL_LEVELS
-------------------------------------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     737
Mismatch between namelist and global attribute NUM_METGRID_SOIL_LEVELS
-------------------------------------------
Warning: ieee_inexact is signaling
FORTRAN STOP

因为刚刚才接触WRF看不懂到底该怎么改. 可能是namelist.input的错误,所以就把namelist.input粘上来了:
namelist.input
1  &time_control
  2  run_days                            = 0,
  3  run_hours                           = 96,
  4  run_minutes                         = 0,
  5  run_seconds                         = 0,
  6  start_year                          = 2017, 2017, 2017,
  7  start_month                         = 09,   09,   09,
  8  start_day                           = 10,   10,   10,
  9  start_hour                          = 06,   06,   06,
10  start_minute                        = 00,   00,   00,
11  start_second                        = 00,   00,   00,
12  end_year                            = 2017, 2017, 2017,
13  end_month                           = 09,   09,   09,
14  end_day                             = 14,   14,   14,
15  end_hour                            = 06,   06,   06,
16  end_minute                          = 00,   00,   00,
17  end_second                          = 00,   00,   00,
18  interval_seconds                    = 21600
19  input_from_file                     = .true.,.true.,.true.,
20  history_interval                    = 180,  60,   60,
21  frames_per_outfile                  = 1000, 1000, 1000,
22  restart                             = .false.,
23  restart_interval                    = 5000,
24  io_form_history                     = 2
25  io_form_restart                     = 2
26  io_form_input                       = 2
27  io_form_boundary                    = 2
28  debug_level                         = 0
29  /
30
31  &domains
32  time_step                           = 180,
33  time_step_fract_num                 = 0,
34  time_step_fract_den                 = 1,
35  max_dom                             = 1,
36  e_we                                = 74,    112,   94,
37  e_sn                                = 61,    97,    91,
38  e_vert                              = 30,    30,    30,
39  p_top_requested                     = 5000,
40  num_metgrid_levels                  = 27,
41  num_metgrid_soil_levels             = 2,
42  dx                                  = 30000, 10000,  3333.33,
43  dy                                  = 30000, 10000,  3333.33,
44  grid_id                             = 1,     2,     3,
45  parent_id                           = 0,     1,     2,
46  i_parent_start                      = 1,     31,    30,
47  j_parent_start                      = 1,     17,    30,
48  parent_grid_ratio                   = 1,     3,     3,
49  parent_time_step_ratio              = 1,     3,     3,
50  feedback                            = 1,
51  smooth_option                       = 0
52  /
53
54  &physics
55  mp_physics                          = 3,     3,     3,
56  ra_lw_physics                       = 1,     1,     1,
57  ra_sw_physics                       = 1,     1,     1,
58  radt                                = 30,    30,    30,
59  sf_sfclay_physics                   = 1,     1,     1,
60  sf_surface_physics                  = 0,
61  bl_pbl_physics                      = 1,     1,     1,
62  bldt                                = 0,     0,     0,
63  cu_physics                          = 1,     1,     0,
64  cudt                                = 5,     5,     5,
65  isfflx                              = 1,
66  ifsnow                              = 1,
67  icloud                              = 1,
68  surface_input_source                = 3,
69  num_soil_layers                     = 4,
70  num_land_cat                        = 21,
71  sf_urban_physics                    = 0,     0,     0,
72  /
73
74  &fdda
75  /
76
77  &dynamics
78  w_damping                           = 0,
79  diff_opt                            = 1,      1,      1,
80  km_opt                              = 4,      4,      4,
81  diff_6th_opt                        = 0,      0,      0,
82  diff_6th_factor                     = 0.12,   0.12,   0.12,
83  base_temp                           = 290.
84  damp_opt                            = 0,
85  zdamp                               = 5000.,  5000.,  5000.,
86  dampcoef                            = 0.2,    0.2,    0.2
87  khdif                               = 0,      0,      0,
88  kvdif                               = 0,      0,      0,
89  non_hydrostatic                     = .true., .true., .true.,
90  moist_adv_opt                       = 1,      1,      1,
91  scalar_adv_opt                      = 1,      1,      1,
92  /
93
94  &bdy_control
95  spec_bdy_width                      = 5,
96  spec_zone                           = 1,
97  relax_zone                          = 4,
98  specified                           = .true., .false.,.false.,
99  nested                              = .false., .true., .true.,
100  /
101
102  &grib2
103  /
104
105  &namelist_quilt
106  nio_tasks_per_group = 0,
107  nio_groups = 1,
108  /



namelist.wps
1 &share
  2  wrf_core = 'ARW',
  3  max_dom = 1,
  4  start_date = '2017-09-10_06:00:00','2017-09-10_06:00:00',
  5  end_date   = '2017-09-14_06:00:00','2017-09-14_06:00:00',
  6  interval_seconds = 21600
  7  io_form_geogrid = 2,
  8 /
  9
10 &geogrid
11  parent_id         =   1,   1,
12  parent_grid_ratio =   1,   3,
13  i_parent_start    =   1,  31,
14  j_parent_start    =   1,  17,
15  e_we              =  74, 112,
16  e_sn              =  61,  97,
17  !
18  !!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
19  ! The default datasets used to produce the HGT_M, GREENFRAC,
20  ! and LU_INDEX/LANDUSEF fields have changed in WPS v3.8. The HGT_M field
21  ! is now interpolated from 30-arc-second USGS GMTED2010, the GREENFRAC
22  ! field is interpolated from MODIS FPAR, and the LU_INDEX/LANDUSEF fields
23  ! are interpolated from 21-class MODIS.
24  !
25  ! To match the output given by the default namelist.wps in WPS v3.7.1,
26  ! the following setting for geog_data_res may be used:
27  !
28  ! geog_data_res = 'gtopo_10m+usgs_10m+nesdis_greenfrac+10m','gtopo_2m+usgs_2m+nesdis_greenfrac+2m',
29  !
30  !!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
31  !
32  geog_data_res = '10m','2m',
33  dx = 30000,
34  dy = 30000,
35  map_proj = 'lambert',
36  ref_lat   =  30.0,
37  ref_lon   = 115.0,
38  truelat1  =  30.0,
39  truelat2  =  60.0,
40  stand_lon = 115.0,
41  geog_data_path = '../geog'
42 /
43
44 &ungrib
45  out_format = 'WPS',
46  prefix = 'FILE',
47 /
48
49 &metgrid
50  fg_name = 'FILE'
51  io_form_metgrid = 2,
                                                                                                                                                                                                 1,1          顶端

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

新浪微博达人勋

发表于 2017-9-14 10:13:31 | 显示全部楼层
土壤层数不一致,文件里的层数是0
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-9-14 11:05:47 | 显示全部楼层
改为零后还是不行;还有错误
Ntasks in X             1 , ntasks in Y             1
--- WARNING: traj_opt is zero, but num_traj is not zero; setting num_traj to zero.
--- NOTE: sst_update is 0, setting io_form_auxinput4 = 0 and auxinput4_interval = 0 for all domains
--- NOTE: grid_fdda is 0 for domain      1, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain      1, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain      1, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
Need MYNN PBL for icloud_bl = 1, resetting to 0
--- NOTE: RRTMG radiation is not used, setting:  o3input=0 to avoid data pre-processing
--- NOTE: num_soil_layers has been set to      5
REAL_EM V3.8.1 PREPROCESSOR
*************************************
Parent domain
ids,ide,jds,jde             1           74            1           61
ims,ime,jms,jme            -4           79           -4           66
ips,ipe,jps,jpe             1           74            1           61
*************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
   alloc_space_field: domain             1 ,                 137861256  bytes allocated
Time period #   1 to process = 2017-09-10_06:00:00.
Time period #   2 to process = 2017-09-10_12:00:00.
Time period #   3 to process = 2017-09-10_18:00:00.
Time period #   4 to process = 2017-09-11_00:00:00.
Time period #   5 to process = 2017-09-11_06:00:00.
Time period #   6 to process = 2017-09-11_12:00:00.
Time period #   7 to process = 2017-09-11_18:00:00.
Time period #   8 to process = 2017-09-12_00:00:00.
Time period #   9 to process = 2017-09-12_06:00:00.
Time period #  10 to process = 2017-09-12_12:00:00.
Time period #  11 to process = 2017-09-12_18:00:00.
Time period #  12 to process = 2017-09-13_00:00:00.
Time period #  13 to process = 2017-09-13_06:00:00.
Time period #  14 to process = 2017-09-13_12:00:00.
Time period #  15 to process = 2017-09-13_18:00:00.
Time period #  16 to process = 2017-09-14_00:00:00.
Time period #  17 to process = 2017-09-14_06:00:00.
Total analysis times to input =   17.
  
-----------------------------------------------------------------------------
  
Domain  1: Current date being processed: 2017-09-10_06:00:00.0000, which is loop #   1 out of   17
configflags%julyr, %julday, %gmt:         2017          253    6.000000   
metgrid input_wrf.F first_date_input = 2017-09-10_06:00:00
metgrid input_wrf.F first_date_nml = 2017-09-10_06:00:00
d01 2017-09-10_06:00:00 Timing for input          0 s.
Max map factor in domain 1 =  1.05. Scale the dt in the model accordingly.
Missing surface temp, replaced with closest level, use_surface set to false.
Missing surface RH, replaced with closest level, use_surface set to false.
Missing surface u wind, replaced with closest level, use_surface set to false.
Missing surface v wind, replaced with closest level, use_surface set to false.
ERROR in psfc: flag_psfc =  0, flag_soilhgt =  0, flag_slp =  0, sfcp_to_sfcp = F
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1324
not enough info for a p sfc computation
-------------------------------------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1324
not enough info for a p sfc computation
-------------------------------------------
Warning: ieee_inexact is signaling
FORTRAN STOP
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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