Skip to content

bus error on Xeon Gold processor #124

@jlchan

Description

@jlchan

@sloede noticed this error when running Trixi.jl on a Xeon Gold processor

MWE:

using StructArrays, StaticArrays, Octavian

x = StructArray{SVector{5,Float64}}(ntuple(_ -> randn(2744, 512), 5))
out = similar(x)
A = randn(size(x,1), size(x,1))
StructArrays.foreachfield((out,x) -> matmul!(out, A, x), out, x)

The output is

signal (7): Bus error
in expression starting at /zhome/academic/HLRS/hlrs/hpcschlo/paper-ec-performance/2021_EC_performance/code/Gauss/mwe/mwe.jl:10
macro expansion at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/VectorizationBase/xHOp9/src/llvm_intrin/vbroadcast.jl:74 [inlined]
_vbroadcast at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/VectorizationBase/xHOp9/src/llvm_intrin/vbroadcast.jl:80 [inlined]
vbroadcast at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/VectorizationBase/xHOp9/src/llvm_intrin/vbroadcast.jl:96 [inlined]
macro expansion at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/LoopVectorization/x4G96/src/reconstruct_loopset.jl:713 [inlined]
_turbo_! at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/LoopVectorization/x4G96/src/reconstruct_loopset.jl:713 [inlined]
ploopmul! at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/Octavian/Rlmrt/src/macrokernels.jl:30 [inlined]
packaloopmul! at /zhome/academic/HLRS/hlrs/hpcschlo/.julia/packages/Octavian/Rlmrt/src/macrokernels.jl:138
unknown function (ip: 0x40060696dbd77cf5)
Allocations: 63871354 (Pool: 63824640; Big: 46714); GC: 30
Bus error

The MWE was run with julia --threads=1 mwe.jl on an Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz with [6fd5a793] + Octavian v0.3.8, [90137ffa] + StaticArrays v1.2.13, and [09ab397b] + StructArrays v0.6.3.

Unfortunately, it seems like we can only produce this error on the cluster; our personal laptops and Linux desktops don't seem to have an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions