[Wrf-users] Segmentation Fault with Nested NMM core Runs

mmacleod mmacleod at scotiaweather.com
Fri Jan 9 08:21:49 MST 2009


Good morning. 

I am wrestling with a problem with the NMM core since the past two week. 
I always get a Segmentation Fault  on running  with  a nested grid.  We 
run the  same  two grids utilizing the ARW  core and it executes 
correctly every time.

We are looking to operate a 4 km grid over the Maritime  Provinces of 
Canada to be driven by the NAM 12 km grib files available from NCEP and 
to nest a 1 .333 km grid within the 4 km grid covering the Annapolis 
Valley area of Nova Scotia and running for the same times as the 4 km grid.

We have obtained the latest version of the Domain Wizard and use it to 
set-up the domains. We continue to get a segmentation fault error each 
time we try to run the NMM core with the 1 km grid.  It always comes on 
the initial cycle of domain 2 which is the 1 km grid.  We think this is 
because the system is placing grid 2 outside the window of grid one but 
we don't know why.  It could be the compile of the model but we need to 
know what to change to correct this problem if it is the compile.

What we find is the domain two appears outside grid 1 when we reopen the 
Domain Wizard, even though the parameters  for each grid remain 
unchanged in the specs portion of the domain window in the Domain 
Wizard.  I have tried editing the namelist.wps and namelist.input files 
to get a match but the problem persists.

I an attaching the namelist.wps, namelist.input files used to run the 
WRF_NMM core.  I am also attaching three png files that show the initial 
grid setup (HGTEST_Screen1.png), the redisplay of the grid locations 
when we open the Domain Wizard again after running the model 
(HGTEST_Screen2.png) and the changed grid with the nesting specs 
(HGTEST_Scree3.png) where one can see the nesting specs are unchanged 
despite the change in location of the windows on the Domain Wizard 
display.  I am also including a display of the  output form the  
WRF_NMM  run  showing the  Segmentation fault error.

We are running on a dual Quad processor system (Xeon 5472 processors at 
3 GHz), with 8 GBytes of RAM utilizing the Ubuntu O/S and the GNU 
gfortran compiler to build the model core.

If anyone can provide guidance on the solving of our problem, we will be 
appreciative of the information.

Thank you in advance for your attention to this important matter.

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 --------------
A non-text attachment was scrubbed...
Name: WRF_NMM_Exection_Output.png
Type: image/png
Size: 35018 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090109/ec7c5b47/WRF_NMM_Exection_Output-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HGTEST_Screen1.png
Type: image/png
Size: 300503 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090109/ec7c5b47/HGTEST_Screen1-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HGTEST_Screen2.png
Type: image/png
Size: 186829 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090109/ec7c5b47/HGTEST_Screen2-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HGTEST_Screen3.png
Type: image/png
Size: 198379 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090109/ec7c5b47/HGTEST_Screen3-0001.png
-------------- next part --------------
&time_control            
run_days                 = 0,
run_hours                = 0,
run_minutes              = 10,
run_seconds              = 0,
start_year               = 2008,     2008,
start_month              = 12,       12,
start_day                = 10,       10,
start_hour               = 12,       12,
start_minute             = 00,       00,
start_second             = 00,       00,
tstart                   = 00,       00,
end_year                 = 2008,     2008,
end_month                = 12,       12,
end_day                  = 10,       10,
end_hour                 = 15,       15,
end_minute               = 00,       00,
end_second               = 00,       00,
interval_seconds         = 10800,
history_interval         = 60,       60,
frames_per_outfile       = 1,        1,
restart                  = .false.,
reset_simulation_start   = .false.,
io_form_input            = 2,
io_form_history          = 2,
io_form_restart          = 2,
io_form_boundary         = 2,
io_form_auxinput1        = 2,
auxinput1_inname         = "met_nmm.d<domain>.<date>",
debug_level              = 50,
/

&domains                 
time_step                = 10,
time_step_fract_num      = 0,
time_step_fract_den      = 7,
max_dom                  = 2,
s_we                     = 1,        1,
e_we                     = 118,     64,
s_sn                     = 1,        1,
e_sn                     = 190,     70,
s_vert                   = 1,
e_vert                   = 38,
num_metgrid_levels       = 40,
 dx                      = 0.025651, 0.0085503
 dy                      = 0.025628, 0.0085427
grid_id                  = 1,        2,
parent_id                = 0,        1,
i_parent_start           = 1,       30,
j_parent_start           = 1,       32,
parent_grid_ratio        = 1,        3,
parent_time_step_ratio   = 1,        3,
p_top_requested          = 5000.,
ptsgm                    = 42000.,
eta_levels               = 1.000, 0.994, 0.983, 0.968, 0.950, 0.930, 0.908, 0.882, 0.853, 0.821,
                  0.788, 0.752, 0.715, 0.677, 0.637, 0.597, 0.557, 0.517, 0.477,
                  0.438, 0.401, 0.365, 0.332, 0.302, 0.274, 0.248, 0.224, 0.201,
                  0.179, 0.158, 0.138, 0.118, 0.098, 0.078, 0.058, 0.038, 0.018, 0.000,
tile_sz_x                = 0,
tile_sz_y                = 0,
numtiles                 = 1,
/

&physics                 
mp_physics               = 5,        5,
ra_lw_physics            = 99,       99,
ra_sw_physics            = 99,       99,
nrads                    = 72,      216,
nradl                    = 72,      216,
co2tf                    = 1,
sf_sfclay_physics        = 2,        2,
sf_surface_physics       = 2,        2,
bl_pbl_physics           = 2,        2,
nphs                     = 6,        6,
cu_physics               = 2,        0,
ncnvc                    = 6,        6,
tprec                    = 3,
theat                    = 6,
tclod                    = 6,
trdsw                    = 6,
trdlw                    = 6,
tsrfc                    = 6,
pcpflg                   = .false.,
isfflx                   = 0,
ifsnow                   = 0,
icloud                   = 0,
num_soil_layers          = 4,
mp_zero_out              = 0,
/

&fdda                    
/

&dynamics                
/

&bdy_control             
spec_bdy_width           = 1,
specified                = .true.,
nested                   = .false.,
/

&grib2                   
/

&namelist_quilt          
nio_tasks_per_group      = 0,
nio_groups               = 1,
/
                                                                                                                                                      
-------------- next part --------------
&share
 wrf_core = 'NMM',
 max_dom = 2,
 start_date = '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', 
 interval_seconds = 10800,
 io_form_geogrid = 2,
 opt_output_from_geogrid_path = '/wrf/domains/nmm/HGTTEST/',
 debug_level = 0,
/

&geogrid
 parent_id         = 1,1,
 parent_grid_ratio = 1,3,
 i_parent_start    = 1,30,
 j_parent_start    = 1,32,
 e_we          = 118,103,
 e_sn          = 190,115,
 geog_data_res = '10m','30s',
 dx = 0.025651,
 dy = 0.025628,
 map_proj =  'rotated_ll',
 ref_lat   = 45.75,
 ref_lon   = -64,
 geog_data_path = '/wrf/geog_data',
 opt_geogrid_tbl_path = '/wrf/domains/nmm/HGTTEST/',
 ref_x = 59.0,
 ref_y = 95.0,
/

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

&metgrid
 fg_name = 'FILE',
 io_form_metgrid = 2,
 opt_output_from_metgrid_path = '/wrf/domains/nmm/HGTTEST/',
 opt_metgrid_tbl_path = '/wrf/domains/nmm/HGTTEST/',
/

&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    =HGTTEST
 dwiz_desc    =Testing of 4 km and 1 km grids
 dwiz_user_rect_x1 =605
 dwiz_user_rect_y1 =196
 dwiz_user_rect_x2 =701
 dwiz_user_rect_y2 =302
 dwiz_show_political =true
 dwiz_center_over_gmt =true
 dwiz_latlon_space_in_deg =5
 dwiz_latlon_linecolor =-8355712
 dwiz_map_scale_pct =25
 dwiz_truelat1  =45.75
 dwiz_truelat2  =45.75
 dwiz_stand_lon =-64.0
 dwiz_map_vert_scrollbar_pos =0
 dwiz_map_horiz_scrollbar_pos =0
 dwiz_gridpt_dist_km =4.0
 dwiz_mpi_command =
/


More information about the Wrf-users mailing list