WRF segmentation error

Molan

New member
Hello!

I am running WRF 4.5 over parts of China (including the Tibetan Plateau). My current run keeps crashing hours into the simulation. I have checked the CFL, but there is no error.

I am using 48 cores to run the simulation and I am using auto ts with max = 100.

The simulation seems to proceed just fine before abruptly crashing.

I have tried to activate the smoothing of the geography at the boundaries (smooth_cg_topo), yet nothing worked.

Here, I have provided the namelist files.

Please help, and thank you!
 

Attachments

Hello!

I am running WRF 4.5 over parts of China (including the Tibetan Plateau). My current run keeps crashing hours into the simulation. I have checked the CFL, but there is no error.

I am using 48 cores to run the simulation and I am using auto ts with max = 100.

The simulation seems to proceed just fine before abruptly crashing.

I have tried to activate the smoothing of the geography at the boundaries (smooth_cg_topo), yet nothing worked.

Here, I have provided the namelist files.

Please help, and thank you!
try these steps.

1. run real.exe and export all the log files to a zip folder, i would rename the real.exe rsl file something like real.rsl*
2. run wrf.exe and export all the log files to a zip folder. i would rename the wrf.exe rsl files something like wrf.rsl*
3. if it fails again try running a clean wrf without the wrf data assimilation, i doubt that's the issue but that might be a source of the problem.
 
try these steps.

1. run real.exe and export all the log files to a zip folder, i would rename the real.exe rsl file something like real.rsl*
2. run wrf.exe and export all the log files to a zip folder. i would rename the wrf.exe rsl files something like wrf.rsl*
3. if it fails again try running a clean wrf without the wrf data assimilation, i doubt that's the issue but that might be a source of the problem.
I did what you suggested, and it is still crashing.
No errors at all, only the segmentation error in core 22
grep -i "segmentation" rsl.error.*
rsl.error.0022:Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

here you mentioned changing the name to wrf.rsl.erro, you mean after the run? i did change the real.exe ouputs (there were no error messages in them as well)

In this run i didn't apply nudging at all yet the model stil crash
 
You need to smooth the whole domain if your domain includes steep slopes. The basic way to do that is to increase number of passes of smoothing of the HGT field in GEOGRID.TBL and rerun geogrid.exe. Also avoid placing boundary zones around complex terrain as much as possible.
 
Please also increase epssm to a larger value (e.g., 0.9) and turn off fdda and adaptive time step. Let's try to reduce the extra complexity and see how the case works.
 
You need to smooth the whole domain if your domain includes steep slopes. The basic way to do that is to increase number of passes of smoothing of the HGT field in GEOGRID.TBL and rerun geogrid.exe. Also avoid placing boundary zones around complex terrain as much as possible.
i have try to implement 3 smoothing passes but still, it keeps failing
no cfl error, just this one.
rsl.error.0002:Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
when i try to run the same model with my other work station it is going well, no crash so far even without the smoothing degree increased, however that station is way slower than the one im trying to run the model on. Both has wrf 4.5
 
Please also increase epssm to a larger value (e.g., 0.9) and turn off fdda and adaptive time step. Let's try to reduce the extra complexity and see how the case works.
okay, i just tried this, and it still crashed after 20 hours of simulation time. however, i would like to ask why when i run this case with the same configuration using the same wrf version 4.5, same geo static data, even without increasing the smoothing passes on other workstation it works normally. I have run a smaller domain case in the current workstation and it has no problem. I am trying to change to the current workstation since it is 1.4 times faster than my other workstation.
 
Last edited:
Hi,

If the same case works in some other machines, it implies that the model and the data both are fine.

This case failed in the machine you are currently using, suggesting that this failure could be attributed to machine issues and/or libraries installed. Can you try to install the same libs using the same compilers that work in other machines, then try again?



okay, i just tried this, and it still crashed after 20 hours of simulation time. however, i would like to ask why when i run this case with the same configuration using the same wrf version 4.5, same geo static data, even without increasing the smoothing passes on other workstation it works normally. I have run a smaller domain case in the current workstation and it has no problem. I am trying to change to the current workstation since it is 1.4 times faster than my other workstation.
 
Back
Top