phantom icon indicating copy to clipboard operation
phantom copied to clipboard

Dynamic memory reallocation for MPI

Open conradtchan opened this issue 3 years ago • 0 comments

Currently, when the particle array allocation is exhausted, the code halts. #214 solves this problem by increasing the fixed allocation size, but this is in general an inefficient use of memory.

It's worth considering whether the arrays should be automatically expanded when the limit is reached. On HPC clusters, this may not be very useful because the resource allocation provided by the scheduler is fixed, so attempting to allocate beyond this will result in an OOM kill. It may just be easier to allocate the full amount of memory requested from the scheduler.

conradtchan avatar Feb 03 '22 06:02 conradtchan