ITensor / ITensorParallel.jl

Parallel tools for ITensors.jl.
MIT License
21 stars 3 forks source link

Switch to `MPI.gather` #20

Open mtfishman opened 10 months ago

mtfishman commented 10 months ago

MPI.jl has added a few more functions that automatically serialize, including gather and scatter:

https://github.com/JuliaParallel/MPI.jl/pull/756 https://github.com/JuliaParallel/MPI.jl/pull/758

Should be able to drop our own implementation of gather in favor of the one in MPI.jl. @b-kloss

b-kloss commented 10 months ago

Nice. We had count = Ref{Clong}() to accomodate very large message sizes, but I assume that just using Julia types as in MPI.jl, count = length(sendbuf), defaults to Int64 so that should be a safe switch.