-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Failing datatype
tests on x86 Linux
#853
Comments
@vchuravy can this have to with some change of alignment in LLVM? For example, on i686 |
Yeah, with an i686 Julia I get on Julia v1.10: julia> using MPI
julia> MPI.Init()
MPI.ThreadLevel(2)
julia> primitive type Primitive80 80 end
julia> MPI.Types.extent(MPI.Datatype(Primitive80))
(0, 12)
julia> Base.datatype_alignment(Primitive80)
4 but on nightly julia> using MPI
julia> MPI.Init()
MPI.ThreadLevel(2)
julia> primitive type Primitive80 80 end
julia> MPI.Types.extent(MPI.Datatype(Primitive80))
(0, 12)
julia> Base.datatype_alignment(Primitive80)
16 The different result for |
But given the fact the test checking that the data sent around is correct is failing when the test sz = sizeof(PrimitiveType)
al = Base.datatype_alignment(PrimitiveType)
@test MPI.Types.extent(MPI.Datatype(PrimitiveType)) == (0, cld(sz,al)*al) is also failing, I wonder if we should enforce this invariant in the |
test-default (ubuntu-latest, nightly, x86)
test-openmpi-jll (ubuntu-latest, nightly, x86)
The text was updated successfully, but these errors were encountered: