Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Memory fault(core dumped) in stage0 of genbe

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

g_vijayan

Member
Hi,
I am getting the following error when I try to run genbe using NMC method for 9km resolution domain with 310x298 gridpoints each at 64 vertical levels on a Windows PC with Ubuntu WSL:

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

Backtrace for this error:
#0 0x7f3eb078b2ed in ???
#1 0x7f3eb078a503 in ???
#2 0x7f3eafdef03f in ???
#3 0x7f3eafabfaaa in ???
#4 0x7f3eafacd8b4 in ???
#5 0x7f3eafaad0c4 in ???
#6 0x7f3eafab332c in ???
#7 0x7f3eafab54b3 in ???
#8 0x7f3eafa7a0d9 in ???
#9 0x7f3eafa7b8d2 in ???
#10 0x7f3eb0b810c1 in c_ncvgt
at /mnt/d/WRF/libraries/netcdf-fortran-4.5.3/fortran/nf_v2compat.c:1221
#11 0x7f3eb0b85e2b in ???
#12 0x7f3eb124a129 in ???
#13 0x7f3eb126aff7 in ???
#14 0x7f3eb1201f42 in ???
#15 0x7f3eafdd1bf6 in ???
#16 0x7f3eb1201f79 in ???
#17 0xffffffffffffffff in ???
/mnt/d/WRFDA/WRF/var/scripts/gen_be/gen_be_stage0_wrf.ksh: line 92: 28838: Memory fault(coredump)

I checked /mnt/d/WRF/libraries/netcdf-fortran-4.5.3/fortran/nf_v2compat.c file and line 1221 is:

status = nc_get_vara_double(ncid, varid, start, count,
(double*)value);

Please help me fix this!!

Thanks
 
Top