Skip to content

invalid instruction on 1.9.3 when using LLVM #49705

Closed as not planned
Closed as not planned
@bjarthur

Description

@bjarthur

i have an on-premise cluster with a shared filesystem. on julia 1.8, using CUDA works just fine when i switch back and forth between a machine with a Nvidia V100 and a separate machine with an A100. but on 1.9-rc3, while it properly recompiles if i first do it on the A100 machine, and then switch to the V100, if i do it the other way around (first V100 where it compiles, and then switch to A100) i get the error below instead of a nice message that it is precompiling. seemingly julia doesn't understand that it needs to recompile.

julia> using CUDA
Invalid instruction at 0x14bd6b8e32f8: 0x62, 0xf1, 0x7d, 0x08, 0x76, 0xc1, 0xc5, 0xf8, 0x44, 0xc0, 0xc5, 0xfb, 0x93, 0xc0, 0xa8

[2060742] signal (4.2): Illegal instruction
in expression starting at REPL[1]:1
__init__ at /groups/scicompsoft/home/arthurb/.julia/packages/LLVM/TLGyi/src/LLVM.jl:103
jfptr___init___863 at /groups/scicompsoft/home/arthurb/.julia/compiled/v1.9/LLVM/e8NBy_sTSrY.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
jl_module_run_initializer at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:75
ijl_init_restored_modules at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/module.c:982
register_restored_modules at ./loading.jl:1074
_include_from_serialized at ./loading.jl:1020
_tryrequire_from_serialized at ./loading.jl:1356
_require_search_from_serialized at ./loading.jl:1459
_require at ./loading.jl:1748
_require_prelocked at ./loading.jl:1625
macro expansion at ./loading.jl:1613 [inlined]
macro expansion at ./lock.jl:267 [inlined]
require at ./loading.jl:1576
jfptr_require_51256.clone_1 at /groups/scicompsoft/home/arthurb/.julia/juliaup/julia-1.9.0-rc3+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
call_require at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:466 [inlined]
eval_import_path at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:503
jl_toplevel_eval_flex at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:731
jl_toplevel_eval_flex at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:856
ijl_toplevel_eval_in at /cache/build/default-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:971
<SNIP>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorpkgimage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions