chris_riedel
New member
I am trying to run the single column model (SCM) portion of WRF in the Arctic over seaice. I would like to be able to adjust the seaice fraction within the column. I have ran the most recent version of WRF real and gotten the seaice fraction to work and all. Within the module_initialize_scm_xy.F code, I have changed the XLAND and LANDMASK values to represent that the grid is over water. Furthermore, I noticed in the module_initialize_scm_xy.F code there is section to change the xice value to something other than 0. I have ran the code successfully with xice being set to zero in module_initialize_scm_xy.F and namelist flag fractional_seaice set to zero, which means I am only using a flag and not actually seaice fraction. When I set namelist flag fractional_seaice to one (which means I want to use seaice fraction) and leaving xice set to zero within module_initialize_scm_xy.F I get a Segmentation fault error when trying to run.
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7FAA988012F7
#1 0x7FAA988018FE
#2 0x38A563250F
#3 0x278D12D in __module_sf_sfclayrev_MOD_psim_unstable
#4 0x2791C35 in __module_sf_sfclayrev_MOD_sfclayrev1d
#5 0x279677D in __module_sf_sfclayrev_MOD_sfclayrev
#6 0x1EB975C in __module_surface_driver_MOD_sfclayrev_seaice_wrapper
#7 0x1F00B16 in __module_surface_driver_MOD_surface_driver
#8 0x17A01F5 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#9 0x1198A99 in solve_em_
#10 0x106FA0D in solve_interface_
#11 0x47137E in __module_integrate_MOD_integrate
#12 0x406C93 in __module_wrf_top_MOD_wrf_run
Segmentation fault
Furthermore, if I change the xice value in module_initialize_scm_xy.F to 1 I get the same Segmentation fault error which I guess is not all that surprising. I have dug around some into the code to try and figure out what the issue is but I have made no progress. First, I was wondering if this has been done before and is a simple fix? If not, I was wondering if you guys had some ideas on how to resolve this issue.
Thanks so much for your help,
Chris Riedel
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7FAA988012F7
#1 0x7FAA988018FE
#2 0x38A563250F
#3 0x278D12D in __module_sf_sfclayrev_MOD_psim_unstable
#4 0x2791C35 in __module_sf_sfclayrev_MOD_sfclayrev1d
#5 0x279677D in __module_sf_sfclayrev_MOD_sfclayrev
#6 0x1EB975C in __module_surface_driver_MOD_sfclayrev_seaice_wrapper
#7 0x1F00B16 in __module_surface_driver_MOD_surface_driver
#8 0x17A01F5 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#9 0x1198A99 in solve_em_
#10 0x106FA0D in solve_interface_
#11 0x47137E in __module_integrate_MOD_integrate
#12 0x406C93 in __module_wrf_top_MOD_wrf_run
Segmentation fault
Furthermore, if I change the xice value in module_initialize_scm_xy.F to 1 I get the same Segmentation fault error which I guess is not all that surprising. I have dug around some into the code to try and figure out what the issue is but I have made no progress. First, I was wondering if this has been done before and is a simple fix? If not, I was wondering if you guys had some ideas on how to resolve this issue.
Thanks so much for your help,
Chris Riedel