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

wrf.exe error


I am experiencing another problem with wrf.exe in a high res simulation 1 km inner domain. After many attemps the model always stops at time 6 hours with the below error message. simularton start time 2022-05-30

Timing for main: time 2022-05-30_06:00:00 on domain 2: 13.67384 elapsed seconds
Timing for main: time 2022-05-30_06:00:00 on domain 1: 69.83537 elapsed seconds
Timing for Writing wrfout_d01_2022-05-30_06:00:00 for domain 1: 7.85994 elapsed seconds
Timing for Writing restart for domain 1: 98.12387 elapsed seconds

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

Backtrace for this error:
#0 0x146abee23ad0 in ???
#1 0x146abee22c35 in ???
#2 0x146abe44251f in ???
at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#3 0x146abe5a80ca in ???
at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:708
#4 0x146abe9cdf78 in ???
#5 0x146abea8ab2f in ???
#6 0x146abea8c9d6 in ???
#7 0x146abea80c9c in ???
#8 0x146abe9f054d in ???
#9 0x146abe9f065c in ???
#10 0x146abe9f094c in ???
#11 0x146abe9b0a70 in ???
#12 0x146abe93540a in ???
#13 0x146abe99554c in ???
#14 0x146abe9956c6 in ???
#15 0x146abe859b2c in ???
#16 0x55b17e1b3d3a in ???
#17 0x55b17e1b40de in ???
#18 0x55b17dfe4a03 in ???
#19 0x55b17dfe4fb6 in ???
#20 0x55b17ef59c1a in ???
#21 0x55b17ef5bba9 in ???
#22 0x55b17ef58987 in ???
#23 0x55b17ef58519 in ???
#24 0x55b17ef61aa8 in ???
#25 0x55b17f423685 in ???
#26 0x55b17ecde4a8 in ???
#27 0x55b17ec51192 in ???
#28 0x55b17ed595a5 in ???
#29 0x55b17ed59678 in ???
#30 0x55b17ed5dfa4 in ???
#31 0x55b17dc9a135 in ???
#32 0x55b17dc1bd37 in ???
#33 0x55b17dc1b1be in ???
#34 0x146abe429d8f in __libc_start_call_main
at ../sysdeps/nptl/libc_start_call_main.h:58

#35 0x146abe429e3f in __libc_start_main_impl
at ../csu/libc-start.c:392
#36 0x55b17dc1b1f4 in ???
#37 0xffffffffffffffff in ???

I have set the limit to unlimited, but still the error remains, any hint on this?
Can you find other error messages in your RSL files? Segmentation could be a memory issue, or it could be caused by errors in physics.
This is the only error message from rsl files. I did 4 simulation adjusting cores/physics but they always stop at 6 hours time step. I can be a memory problem because it is an urban simulation with41 classes.
It is hard to tell what went wrong solely based on the message "Program received signal SIGSEGV: Segmentation fault - invalid memory reference.".
I am suspicious that the model failed due to problems in physics.
Please recompile WRF in debug mode, (i.e. ./configure -D), then rerun the case. With the debug mode, the model will issue detailed information such as when and where the problem popped up first. This will provide some clues how to fix the issue.
Thank you for this suggestion. I have a question about the probable bug, because I had simulations which worked well. Is-this possible? before recompiling again.

Thank you
The model might work in some cases but failed in other cases. The failure can be attributed to various factors, e.g., physics options are changed, domain areas are different, large-scale forcing data and the study period are different. etc.
We need to know exactly when and where the problem first occurs, which provides us hints how to fix the issue.