[Wrf-users] Re: Wrf-users Digest, Vol 53, Issue 14

wrfhelp wrfhelp at ucar.edu
Wed Jan 21 14:17:28 MST 2009


Please try setting

grid_id                             = 1,2,3,
parent_id                           = 0,1,1,

and see if it works better. For both your 1.333 km domains, the parent  
domain should be the 4 km domain with domain ID 1.

wrfhelp

On Jan 21, 2009, at 2:05 PM, wrf-users-request at ucar.edu wrote:

> Send Wrf-users mailing list submissions to
> 	wrf-users at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ucar.edu/mailman/listinfo/wrf-users
> or, via email, send a message with subject or body 'help' to
> 	wrf-users-request at ucar.edu
>
> You can reach the person managing the list at
> 	wrf-users-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wrf-users digest..."
>
>
> Today's Topics:
>
>   1. Long execution time with nested grids in ARW core (mmacleod)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 21 Jan 2009 13:26:30 +0000
> From: mmacleod <mmacleod at scotiaweather.com>
> Subject: [Wrf-users] Long execution time with nested grids in ARW core
> To: wrf-users at ucar.edu
> Message-ID: <49772286.5020406 at scotiaweather.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Good morning Folks.
>
> We have testing the WRF over eastern Canada and have discovered some
> disturbing things about run times.
>
> We are investigating the idea of running a 4 km grid over the entire
> region driven by the 12km NAM 3 hourly fields and running 2 1.33 km
> grids (non overlapping) over  two separate areas.   We have executed
> this concept using the ARW core (the NMM core will not run it - get
> Mountains Too High error that we can't overcome). We find that if we
> execute the 4 km grid alone that it runs well and is reasonably fast  
> on
> a dual quad 3.0 GHz machine.  A 10 minute run executes in about 45
> seconds. However once we add the nested grids the time suddenly runs
> long.  Once the nested grids are executed, the 3 second clock time to
> run the 4 km grid becomes nearly 400 seconds by the end of 10  
> minutes of
> forecast time.
>
> We need to discover why this is so.  If we run the 4 km the use  
> ndown to
> convert to 1.33 km then run the times are fast but in combination they
> are unusable.
>
> I am attaching the namelist.wps, namelist,input, projection.jpg and  
> the
> file WRFRUN2.LOG that is the piped output from the model.  Any hepl on
> this will be greatly appreciated.
>
> Sincerely
>
> Mac MacLeod
> -- 
>
> M.A. (Mac) MacLeod
> President and General Manager
> Scotia Weather Services Inc
> 192 Wyse Road, Suite 8,
> Dartmouth, N.S. B3A 1M9
>
> Tele: 902-468-3866
> Fax:  902-461-1768
> E-mail: mmacleod at scotiaweather.com
> Visit us: www.scotiaweather.com
>
> -------------- next part --------------
> Namelist dfi_control not found in namelist.input. Using registry  
> defaults for variables in dfi_control
> WRF V3.0.1.1 MODEL
>  *************************************
>  Parent domain
>  ids,ide,jds,jde            1         168           1         136
>  ims,ime,jms,jme           -4         173          -4         141
>  ips,ipe,jps,jpe            1         168           1         136
>  *************************************
> DYNAMICS OPTION: Eulerian Mass Coordinate
>   med_initialdata_input: calling input_model_input
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL          25          13           1
>  *************************************
>  Nesting domain
>  ids,ide,jds,jde            1          91           1          61
>  ims,ime,jms,jme           -4          96          -4          66
>  ips,ipe,jps,jpe            1          91           1          61
>  INTERMEDIATE domain
>  ids,ide,jds,jde           94         129          68          93
>  ims,ime,jms,jme           89         134          63          98
>  ips,ipe,jps,jpe           92         131          66          95
>  *************************************
> d01 2008-12-10_12:00:00 *** Initializing nest domain # 2 from an  
> input file. ***
> d01 2008-12-10_12:00:00 med_initialdata_input: calling  
> input_model_input
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL          75          38           1
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL          75          38           1
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL          25          13           1
> Timing for Writing wrfout_d01_2008-12-10_12:00:00 for domain         
> 1:    2.02600 elapsed seconds.
> Timing for processing lateral boundary for domain        1:     
> 0.02700 elapsed seconds.
> WRF NUMBER OF TILES FROM OMP_GET_MAX_THREADS =   8
> WRF NUMBER OF TILES =   8
>  *************************************
>  Nesting domain
>  ids,ide,jds,jde            1         151           1          85
>  ims,ime,jms,jme           -4         156          -4          90
>  ips,ipe,jps,jpe            1         151           1          85
>  INTERMEDIATE domain
>  ids,ide,jds,jde           48         103          26          59
>  ims,ime,jms,jme           43         108          21          64
>  ips,ipe,jps,jpe           46         105          24          61
>  *************************************
> d02 2008-12-10_12:00:00 *** Initializing nest domain # 3 from an  
> input file. ***
> d02 2008-12-10_12:00:00 med_initialdata_input: calling  
> input_model_input
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL         225         113           1
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL         225         113           1
> INPUT LANDUSE = USGS
> LANDUSE TYPE = USGS FOUND          33  CATEGORIES           2   
> SEASONS WATER CATEGORY =           16  SNOW CATEGORY =           24
> INITIALIZE THREE Noah LSM RELATED TABLES
>  INPUT LANDUSE = USGS
>  LANDUSE TYPE = USGS FOUND          27  CATEGORIES
>  INPUT SOIL TEXTURE CLASSIFICAION = STAS
>  SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
>  STEPRA,STEPCU,STEPBL          75          38           1
> Timing for Writing wrfout_d02_2008-12-10_12:00:00 for domain         
> 2:    0.18700 elapsed seconds.
> WRF NUMBER OF TILES FROM OMP_GET_MAX_THREADS =   8
> WRF NUMBER OF TILES =   8
> Timing for Writing wrfout_d03_2008-12-10_12:00:00 for domain         
> 3:    0.28600 elapsed seconds.
> WRF NUMBER OF TILES FROM OMP_GET_MAX_THREADS =   8
> WRF NUMBER OF TILES =   8
> Timing for main: time 2008-12-10_12:00:02 on domain   3:    1.47700  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:05 on domain   3:    0.80500  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:08 on domain   3:    0.80700  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:08 on domain   2:    7.22300  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:10 on domain   3:    0.81100  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:13 on domain   3:    0.80900  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:16 on domain   3:    0.80600  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:16 on domain   2:    3.11600  
> elapsed seconds.
> d03 2008-12-10_12:00:16            1  points exceeded cfl=2 in  
> domain d03 at time 2008-12-10_12:00:16 hours
> d03 2008-12-10_12:00:16  MAX AT i,j,k:          149           
> 83          34  vert_cfl,w,d(eta)=   2.192428       159.2094       
> 9.6851895E-03
> Timing for main: time 2008-12-10_12:00:18 on domain   3:    0.81100  
> elapsed seconds.
> d03 2008-12-10_12:00:18+02/03           47  points exceeded cfl=2 in  
> domain d03 at time 2008-12-10_12:00:18+02/03 hours
> d03 2008-12-10_12:00:18+02/03  MAX AT i,j,k:          149           
> 83          34  vert_cfl,w,d(eta)=   24.04470       2711.260       
> 9.6851895E-03
> Timing for main: time 2008-12-10_12:00:21 on domain   3:    0.80800  
> elapsed seconds.
> d03 2008-12-10_12:00:21+01/03          232  points exceeded cfl=2 in  
> domain d03 at time 2008-12-10_12:00:21+01/03 hours
> d03 2008-12-10_12:00:21+01/03  MAX AT i,j,k:          148           
> 83          33  vert_cfl,w,d(eta)=   165.1756       3203.720       
> 1.0798805E-02
> Timing for main: time 2008-12-10_12:00:24 on domain   3:    1.47100  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:24 on domain   2:    3.78500  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:00:24 on domain   1:   20.53100  
> elapsed seconds.
>
>
> Timing for main: time 2008-12-10_12:09:52 on domain   3:   29.98500  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:09:52 on domain   2:  108.54400  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:09:54 on domain   3:   29.98600  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:09:57 on domain   3:   29.98000  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:10:00 on domain   3:   29.97800  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:10:00 on domain   2:  108.29200  
> elapsed seconds.
> Timing for main: time 2008-12-10_12:10:00 on domain   1:  380.85800  
> elapsed seconds.
> d01 2008-12-10_12:10:00 wrf: SUCCESS COMPLETE WRF
> -------------- next part --------------
> &time_control
> run_days                            = 0,
> run_hours                           = 1,
> run_minutes                         = 0,
> run_seconds                         = 0,
> start_year                          = 2008, 2008, 2008,
> start_month                         = 12,   12,   12,
> start_day                           = 10,   10,   10,
> start_hour                          = 12,   12,   12,
> start_minute                        = 00,   00,   00,
> start_second                        = 00,   00,   00,
> end_year                            = 2008, 2008, 2008,
> end_month                           = 12,   12,   12,
> end_day                             = 10,   10,   10,
> end_hour                            = 15,   15,   15,
> end_minute                          = 00,   00,   00,
> end_second                          = 00,   00,   00,
> interval_seconds                    = 10800
> input_from_file                     = .true.,.true.,.true.,
> history_interval                    = 60,   60,   60,
> frames_per_outfile                  = 1,    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
> /
>
> &domains
> time_step                           = 24,
> time_step_fract_num                 = 0,
> time_step_fract_den                 = 1,
> max_dom                             = 3,
> s_we                                = 1,1,1,
> e_we                                = 168,91,151,
> s_sn                                = 1,1,1,
> e_sn                                = 136,61,85,
> s_vert                              = 1,     1,     1,
> e_vert                              = 35,    35,    35,
> num_metgrid_levels                  = 40
> dx                                  = 4000,1333.333,1333.333,
> dy                                  = 4000,1333.333,1333.333,
> p_top_requested                     = 5000,
> grid_id                             = 1,2,3,
> parent_id                           = 0,1,2,
> i_parent_start                      = 1,96,50,
> j_parent_start                      = 1,70,28,
> parent_grid_ratio                   = 1,3,3,
> parent_time_step_ratio              = 1,3,3,
> feedback                            = 1,
> smooth_option                       = 0
> /
>
> &physics
> mp_physics                          = 6,     6,     6,
> ra_lw_physics                       = 1,     1,     1,
> ra_sw_physics                       = 1,     1,     1,
> radt                                = 10,    10,    10,
> sf_sfclay_physics                   = 1,     1,     1,
> sf_surface_physics                  = 2,     2,     2,
> bl_pbl_physics                      = 1,     1,     1,
> bldt                                = 0,     0,     0,
> cu_physics                          = 0,     0,     0,
> cudt                                = 5,     5,     5,
> isfflx                              = 1,
> ifsnow                              = 0,
> icloud                              = 1,
> surface_input_source                = 1,
> num_soil_layers                     = 4,
> ucmcall                             = 0,
> mp_zero_out                         = 0,
> maxiens                             = 1,
> maxens                              = 3,
> maxens2                             = 3,
> maxens3                             = 16,
> ensdim                              = 144,
> slope_rad                           = 0,
> topo_shading                        = 0,
> /
>
> &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.,  5000.,  5000.,
> dampcoef                            = 0.01,   0.01,   0.01
> khdif                               = 0,      0,      0,
> kvdif                               = 0,      0,      0,
> non_hydrostatic                     = .true., .true., .true.,
> pd_moist                            = .true., .true., .true.,
> pd_scalar                           = .true., .true., .true.,
> /
>
> &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,
> /
>
> -------------- next part --------------
> &share
> wrf_core = 'ARW',
> max_dom = 3,
> start_date = '2008-12-10_12:00:00', '2008-12-10_12:00:00',  
> '2008-12-10_12:00:00',
> end_date   = '2008-12-10_15:00:00', '2008-12-10_15:00:00',  
> '2008-12-10_15:00:00',
> interval_seconds = 10800,
> io_form_geogrid = 2,
> opt_output_from_geogrid_path = '/home/wrf/domains/em/MARIFULL/',
> debug_level = 0,
> /
>
> &geogrid
> parent_id         = 1,1,1,
> parent_grid_ratio = 1,3,3,
> i_parent_start    = 1,96,50,
> j_parent_start    = 1,70,28,
> e_we          = 168,91,151,
> e_sn          = 136,61,85,
> geog_data_res = '2m','30s','30s',
> dx = 4000,
> dy = 4000,
> map_proj =  'lambert',
> ref_lat   = 45.75,
> ref_lon   = -64,
> truelat1  = 45.75,
> truelat2  = 45.75,
> stand_lon = -64,
> geog_data_path = '/wrf/geog_data',
> opt_geogrid_tbl_path = '/home/wrf/domains/em/MARIFULL/',
> ref_x = 84.0,
> ref_y = 68.0,
> /
>
> &ungrib
> out_format = 'WPS',
> prefix = 'FILE',
> /
>
> &metgrid
> fg_name = 'FILE',
> io_form_metgrid = 2,
> opt_output_from_metgrid_path = '/home/wrf/domains/em/MARIFULL/',
> opt_metgrid_tbl_path = '/home/wrf/domains/em/MARIFULL/',
> /
>
> &mod_levs
> press_pa = 201300 , 200100 , 100000 ,
>             95000 ,  90000 ,
>             85000 ,  80000 ,
>             75000 ,  70000 ,
>             65000 ,  60000 ,
>             55000 ,  50000 ,
>             45000 ,  40000 ,
>             35000 ,  30000 ,
>             25000 ,  20000 ,
>             15000 ,  10000 ,
>              5000 ,   1000
> /
>
>
> &domain_wizard
> grib_data_path = '/mnt/sigma_wrf/grib_data/NAM2008121012',
> grib_vtable = 'Vtable.NAM',
> dwiz_name    =MARIFULL
> dwiz_desc    =Test of 4 km and 1 km over Halifax
> dwiz_user_rect_x1 =615
> dwiz_user_rect_y1 =226
> dwiz_user_rect_x2 =692
> dwiz_user_rect_y2 =273
> dwiz_show_political =true
> dwiz_center_over_gmt =true
> dwiz_latlon_space_in_deg =10
> dwiz_latlon_linecolor =-8355712
> dwiz_map_scale_pct =25
> dwiz_map_vert_scrollbar_pos =0
> dwiz_map_horiz_scrollbar_pos =0
> dwiz_gridpt_dist_km =4.0
> dwiz_mpi_command =
> /
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: projection.jpg
> Type: image/jpeg
> Size: 57095 bytes
> Desc: not available
> Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090121/c69e4cea/projection.jpg
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 53, Issue 14
> *****************************************



More information about the Wrf-users mailing list