dvalters / HAIL-CAESAR

The High-Performance Architecture-Independent LISFLOOD-CAESAR model of floodplain, river, and sediment dynamics
http://dvalters.github.io/HAIL-CAESAR
GNU General Public License v3.0
38 stars 12 forks source link

Large memory runs - segfault? #47

Open dvalters opened 2 years ago

dvalters commented 2 years ago

Enquiry via email:

I’m setting up a HC model (Karnali River / Nepal) and have two issues:

Segmentation fault: I can run the model up to a resolution of 7m (~9.5M cells) but for 6m and higher, I get a segmentation fault error and the model doesn’t run.

Does it sound familiar to you? Do you have an idea what could be the cause? Is it related to the number of cells? I’m running it on an HPC and doubt that it’s related to the computational resources (the 7m version uses 27GB RAM and 256 GB are available).

I’d like to provide spatially distributed grain sizes but am not sure about the file structure. Would it be possible to get an example file that helps me to figure it out?

dvalters commented 2 years ago

Don't think this is a bug, more likely to be segfault from trying to allocate very large arrays.