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

T8code Trixi Trixi2Vtk failed to precompile #1769

Closed
DSDS-CMHL opened this issue Dec 11, 2023 · 9 comments
Closed

T8code Trixi Trixi2Vtk failed to precompile #1769

DSDS-CMHL opened this issue Dec 11, 2023 · 9 comments

Comments

@DSDS-CMHL
Copy link

othrer dependences packages work well

Julia Version 1.9.3 Commit bed2cd540a (2023-08-24 14:43 UTC)
Build Info: Official https://julialang.org/ release Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 12 × AMD Ryzen 5 5600X 6-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
Threads: 1 on 12 virtual cores Environment:
JULIA_DEPOT_PATH = D:\Julia-1.9.3\JuliaPKG
JULIA_IMAGE_THREADS = 1
JULIA_PKG_SERVER = https://mirrors.sjtug.sjtu.edu.cn/julia

@JoshuaLampert
Copy link
Member

Can you be more precise, please? What did you do and how exactly does your error look like?

@warisa-r
Copy link
Contributor

Hello,

I also have the same problem. Though my version differs slightly but we use the same OS system.

This is what my error looks like

[ Info: Precompiling Trixi [a7f1ee26-1774-49b1-8366-f1abc58fbfcb] Mingw-w64 runtime failure: 32 bit pseudo relocation at 00000000672581E3 out of range, targeting 00007FFA87ED05B0, yielding the value 00007FFA20C783C9.

@JoshuaLampert
Copy link
Member

Looks like a Windows issue 😬

@lchristm
Copy link
Member

lchristm commented Dec 11, 2023

The t8code binaries provided by the JLL package have been updated recently (see JuliaPackaging/Yggdrasil#7775). The T8code.jl CI is failing on Windows with a similar error (see https://github.com/DLR-AMR/T8code.jl/actions/runs/7167253532/job/19512982787#step:5:698), maybe this update broke the current T8code.jl release. Since Trixi.jl depends on T8code.jl this could be the cause of this issue as well.

Please try to use the old binaries by pinning the version of t8code_jll and tell us if it works or if the issue persists. To do that, run the following commands after activating the Julia environment in which you want to use Trixi:

julia> using Pkg
julia> pkg"add [email protected]"

@JoshuaLampert
Copy link
Member

@warisa-r
Copy link
Contributor

Hello,

I downgraded T8code and now Trixi is working properly. Thank you very much for your help!

@DSDS-CMHL
Copy link
Author

DSDS-CMHL commented Dec 12, 2023

The t8code binaries provided by the JLL package have been updated recently (see JuliaPackaging/Yggdrasil#7775). The T8code.jl CI is failing on Windows with a similar error (see https://github.com/DLR-AMR/T8code.jl/actions/runs/7167253532/job/19512982787#step:5:698), maybe this update broke the current T8code.jl release. Since Trixi.jl depends on T8code.jl this could be the cause of this issue as well.

Please try to use the old binaries by pinning the version of t8code_jll and tell us if it works or if the issue persists. To do that, run the following commands after activating the Julia environment in which you want to use Trixi:

julia> using Pkg
julia> pkg"add [email protected]"

This fixed the problem, Thank you very much for your help!

@jmark
Copy link
Contributor

jmark commented Dec 12, 2023

A fix for t8code_jll v1.6.1 is under way.
JuliaPackaging/Yggdrasil#7795

@JoshuaLampert
Copy link
Member

The new version of t8code_jll.jl fixed the CI problems. So now you should be able to use the newest versions again. Thanks @jmark for the quick fix!

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

5 participants