I (and some collaborators) am observing strange (incorrect) memory usage with FMM3D and large numbers of sources. The following Julia MWE demonstrates the problem.
using FMM3D
M = 11_000_000
sources = rand(3, M)
charges = rand(M)
vals = @time lfmm3d(1.0e-8, sources; targets = sources, pg = 1, charges = charges)
@show vals.pot |> sum
On my system, with 64GB of RAM, M=11_000_000 executes properly while utilizing <11GB of memory, while M=14_000_000 OOMs. Between these values of M I observe increasingly implausible amounts of memory being required.
I (and some collaborators) am observing strange (incorrect) memory usage with FMM3D and large numbers of sources. The following Julia MWE demonstrates the problem.
using FMM3DM = 11_000_000sources = rand(3, M)charges = rand(M)vals = @time lfmm3d(1.0e-8, sources; targets = sources, pg = 1, charges = charges)@show vals.pot |> sumOn my system, with 64GB of RAM,
M=11_000_000executes properly while utilizing <11GB of memory, whileM=14_000_000OOMs. Between these values ofMI observe increasingly implausible amounts of memory being required.