#### Andrea-ARPAPUGLIA

##### Member

Dear all,

my goal is to execute WRF model ver. 4.0 on 3 nested domains with resolution respectively of 9000, 3000, 1000 km (1:3:3) as below reported

&domains

time_step = 54,

time_step_fract_num = 0,

time_step_fract_den = 1,

use_adaptive_time_step = .true

step_to_output_time = .true.,

target_cfl = 1.1,1.1,1.1,1.1,1.1,

max_step_increase_pct = 5, 30, 30, 71, 71,

starting_time_step = -1, -1, -1, 4, -1,

max_time_step = 100, 24, 8, 6, -1,

min_time_step = -1, -1, -1, -1, -1,

max_dom = 3,

s_we = 1, 1, 1,

e_we = 130, 151, 301,

s_sn = 1, 1, 1,

e_sn = 130, 151, 301,

s_vert = 1, 1, 1,

e_vert = 41, 41, 41,

num_metgrid_levels = 34,

num_metgrid_soil_levels = 4,

dx = 9000, 3000, 1000,

dy = 9000, 3000, 1000,

For my goal I used 80 CPUs and 200 GB of RAM.

wrf.exe outs with error:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

#0 0x7F8941A496D7

#1 0x7F8941A49D1E

#2 0x7F8940F443FF

#3 0x2F5223D in __module_sf_sfclayrev_MOD_psim_stable

#4 0x2F5688C in __module_sf_sfclayrev_MOD_sfclayrev1d

#5 0x2F5B76D in __module_sf_sfclayrev_MOD_sfclayrev

#6 0x25FF232 in __module_surface_driver_MOD_surface_driver

#7 0x1D4EF19 in __module_first_rk_step_part1_MOD_first_rk_step_part1

#8 0x124B3F0 in solve_em_

#9 0x1119D75 in solve_interface_

#10 0x475F0C in __module_integrate_MOD_integrate

#11 0x4764ED in __module_integrate_MOD_integrate

#12 0x4764ED in __module_integrate_MOD_integrate

#13 0x408123 in __module_wrf_top_MOD_wrf_run

Following the WRF recommendation on the number of CPUs to use, I should use a minimum of 2 and a maximum of 154 CPUs.

I’m able to run the simulation only if I consider the 3th nested domine with size of 211 X 211 but when I consider a bigger domine (also 241X241) wrf.exe exits with segmentation fault.

Do you have any suggestions on how I can modify the execution to complete the wrf.exe run and eliminate the segmentation fault?

Could it be that the problem lies in the difference in size between the domains? In which case if I increased the size of the domains d01 and d02 do you think I would solve?

Thank you so much for your support,

Andrew

my goal is to execute WRF model ver. 4.0 on 3 nested domains with resolution respectively of 9000, 3000, 1000 km (1:3:3) as below reported

&domains

time_step = 54,

time_step_fract_num = 0,

time_step_fract_den = 1,

use_adaptive_time_step = .true

step_to_output_time = .true.,

target_cfl = 1.1,1.1,1.1,1.1,1.1,

max_step_increase_pct = 5, 30, 30, 71, 71,

starting_time_step = -1, -1, -1, 4, -1,

max_time_step = 100, 24, 8, 6, -1,

min_time_step = -1, -1, -1, -1, -1,

max_dom = 3,

s_we = 1, 1, 1,

e_we = 130, 151, 301,

s_sn = 1, 1, 1,

e_sn = 130, 151, 301,

s_vert = 1, 1, 1,

e_vert = 41, 41, 41,

num_metgrid_levels = 34,

num_metgrid_soil_levels = 4,

dx = 9000, 3000, 1000,

dy = 9000, 3000, 1000,

For my goal I used 80 CPUs and 200 GB of RAM.

wrf.exe outs with error:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

#0 0x7F8941A496D7

#1 0x7F8941A49D1E

#2 0x7F8940F443FF

#3 0x2F5223D in __module_sf_sfclayrev_MOD_psim_stable

#4 0x2F5688C in __module_sf_sfclayrev_MOD_sfclayrev1d

#5 0x2F5B76D in __module_sf_sfclayrev_MOD_sfclayrev

#6 0x25FF232 in __module_surface_driver_MOD_surface_driver

#7 0x1D4EF19 in __module_first_rk_step_part1_MOD_first_rk_step_part1

#8 0x124B3F0 in solve_em_

#9 0x1119D75 in solve_interface_

#10 0x475F0C in __module_integrate_MOD_integrate

#11 0x4764ED in __module_integrate_MOD_integrate

#12 0x4764ED in __module_integrate_MOD_integrate

#13 0x408123 in __module_wrf_top_MOD_wrf_run

Following the WRF recommendation on the number of CPUs to use, I should use a minimum of 2 and a maximum of 154 CPUs.

I’m able to run the simulation only if I consider the 3th nested domine with size of 211 X 211 but when I consider a bigger domine (also 241X241) wrf.exe exits with segmentation fault.

Do you have any suggestions on how I can modify the execution to complete the wrf.exe run and eliminate the segmentation fault?

Could it be that the problem lies in the difference in size between the domains? In which case if I increased the size of the domains d01 and d02 do you think I would solve?

Thank you so much for your support,

Andrew