trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
536 stars 109 forks source link

T8code Trixi Trixi2Vtk failed to precompile #1769

Closed DSDS-CMHL closed 11 months ago

DSDS-CMHL commented 11 months ago

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 commented 11 months ago

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

warisa-r commented 11 months ago

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 commented 11 months ago

Looks like a Windows issue :grimacing:

lchristm commented 11 months ago

The t8code binaries provided by the JLL package have been updated recently (see https://github.com/JuliaPackaging/Yggdrasil/pull/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 t8code_jll@v1.1.2"
JoshuaLampert commented 11 months ago

It also fails in our CI (see e.g. https://github.com/trixi-framework/Trixi.jl/actions/runs/7169750961/job/19520881415?pr=1771#step:7:1195)

cc @jmark

warisa-r commented 11 months ago

Hello,

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

DSDS-CMHL commented 11 months ago

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 t8code_jll@v1.1.2"

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

jmark commented 11 months ago

A fix for t8code_jll v1.6.1 is under way. https://github.com/JuliaPackaging/Yggdrasil/pull/7795

JoshuaLampert commented 10 months ago

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!