adaptive-cfd / WABBIT

Wavelet Adaptive Block-Based solver for Interactions with Turbulence
https://www.cfd.tu-berlin.de/
GNU General Public License v3.0
56 stars 27 forks source link

Is it a memory issue? #52

Closed balbir1313 closed 5 months ago

balbir1313 commented 2 years ago

Code aborts by itself! I am using 64 GB memory on a small cluster

Picture1

balbir1313 commented 2 years ago

This is happening initially during adaptive grid refinement....jmax6 (coarser).

tommy-engels commented 2 years ago

Dear Balbir, this is indeed a memory issue. The code allocates, on startup, a number of blocks that fits in your memory, which you pass with the --memory=64GB flag to WABBIT. It is not possible to know precisely in advance how much memory you will need, because the grid (and thus memory requirement) depends on the solution (which is unknown).

In this simulation, more memory is required than you have available - hence the error. Try running the code with more memory (in your case, at least ~2 fold so 128GB). If you do not have that available, there are some tweaks we can do, but not by orders of magnitude. Such simulations simply require, to this day, large machines.

balbir1313 commented 2 years ago

Dear Dr. Engels...…Thank you for the suggestions....Lemme try once more with more memory on another cluster. Thank you