Skip to content

Reply To: Memory allocation error

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Memory allocation error Reply To: Memory allocation error

#8675
Adrian
Keymaster

Memory usage is quite model dependent. However, for a first approximation you can multiply the number of cells by the number of discrete velocities by the number of bytes per base type unit (e.g. 8 for double precision FPT).

Note that you probably don’t want to fully fill up your memory but rather increase the degree of parallelization for larger problems. While keeping the compute resource fixed while maximizing memory utilization will increase the raw throughput (MLUPs) the resulting discrete time steps per second will necessarily reduce.