MPILargeCounts.jl
MPILargeCounts.jl is a Julia package that provides support for arbitrarily large MPI operations instead of the native typemax(Cint) limit. This is achieved by chunking the messages into smaller pieces and performing the collective operations on these chunks sequentially. The corresponding functions have the same name as in MPI.jl, but are not exported to avoid name clashes. To use the functions instead of the MPI.jlones, you have to prefix them with MPILargeCounts..
Installation
The package is not yet registered in the Julia general registry. It can be installed trough the package manager with the following command:
pkg> add git@github.com:ManyBodyLab/MPILargeCounts.jl.gitCode Samples
When running with e.g. 2 MPI ranks:
julia> using MPI, MPILargeCounts
julia> MPI.Init()
julia> A = collect(1:Int(typemax(Cint))+10);
julia> B = MPI.bcast(A, comm; root=0); # errors
julia> B = MPILargeCounts.bcast(A, comm; root=0);
julia> B == A
true
trueLicense
MPILargeCounts.jl is licensed under the MIT License). By using or interacting with this software in any way, you agree to the license of this software.
This page was generated using Literate.jl.