You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short we do many reduction operations with MPI.Allreduce. The issue arises when the reduction operation does something else/more than just one of the few built-in reductions for scalars. Passing a general Julia function as reduction operator to MPI.Allreduce apparently works only on Intel processors at the moment.
E.g. MPI-enabled sum fails because sum uses a non-generic reduction operator that includes some type conversion
""" Base.add_sum(x, y)The reduction operator used in `sum`. The main difference from [`+`](@ref) is that smallintegers are promoted to `Int`/`UInt`."""add_sum(x, y) = x + y
add_sum(x::SmallSigned, y::SmallSigned) =Int(x) +Int(y)
add_sum(x::SmallUnsigned, y::SmallUnsigned) =UInt(x) +UInt(y)
add_sum(x::Real, y::Real)::Real= x + y
Attempt to resolve (or work around) the issue: #196
The text was updated successfully, but these errors were encountered:
Rimu tests fail on Apple MacBook Pro with M2 Pro processor.
The error seems to be triggered by MPI reductions:
Related MPI issue: JuliaParallel/MPI.jl#404.
In short we do many reduction operations with
MPI.Allreduce
. The issue arises when the reduction operation does something else/more than just one of the few built-in reductions for scalars. Passing a general Julia function as reduction operator toMPI.Allreduce
apparently works only on Intel processors at the moment.E.g. MPI-enabled
sum
fails becausesum
uses a non-generic reduction operator that includes some type conversionAttempt to resolve (or work around) the issue: #196
The text was updated successfully, but these errors were encountered: