Skip to content
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

Segfault on Julia 1.9 on Intel Sapphire Rapids during precompilation #1113

Open
BioTurboNick opened this issue Oct 12, 2023 · 0 comments
Open

Comments

@BioTurboNick
Copy link

BioTurboNick commented Oct 12, 2023

I recently started using an AWS server using an Intel Sapphire Rapids CPU. When I installed Julia 1.9 on it, CSV segfaulted during precompilation (JuliaLang/julia#51482). This is apparently due to issues with LLVM 14 and Float16 instructions; Float16 generally is broken for this combination of software and hardware (JuliaLang/julia#51686). Julia 1.8 (LLVM 13) and Julia 1.10 (LLVM 15) do not have this issue.

The precompilation crash is specifically due to compiling the following line. If I change the target type to Float32, precompilation works fine.

pos, code = parsevalue!(Float16, buf, pos, len, row, rowoffset, i, col, ctx)

It's clearly an issue for LLVM/Julia to fix ultimately, but hard to know how long that will take; also possible that the fix would be too hard, and the "solution" would be to move to Julia 1.10.

But if there's anything that could be done to provide an easy workaround, even just to allow everything to work so long as someone isn't using Float16s?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant