Skip to content

Illegal inttoptr when using PrecompileTools on HPC #51240

Closed

Description

This is related to timholy/SnoopCompile.jl#368 (comment).

When trying to load a package using PrecompileTools on our university's HPC, I get the following error:

(v1.8) pkg> add "https://github.com/JuliaTrustworthyAI/CounterfactualExplanations.jl.git"#302-add-precompiletools

[...]

Precompiling project...
  ✗ CounterfactualExplanations
  0 dependencies successfully precompiled in 217 seconds. 379 already precompiled.
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

julia> using CounterfactualExplanations
[ Info: Precompiling CounterfactualExplanations [2f13d31b-18db-44c1-bc43-ebaf2cff0be0]
┌ Warning: Package artifacts have been serialized on a different Julia version and may not be compatible with your version.
└ @ CounterfactualExplanations ~/.julia/packages/CounterfactualExplanations/zmii4/src/artifacts_setup.jl:9
Illegal inttoptr
	  %magicptr = ptrtoint {} addrspace(10)* %129 to i64, !dbg !14

signal (6): Aborted
in expression starting at /home/paltmeyer/.julia/packages/CounterfactualExplanations/zmii4/src/precompile.jl:3

This happens when trying to use the branch linked to JuliaTrustworthyAI/CounterfactualExplanations.jl#303. Using a version of the same package that doesn't use PrecompileTools works without issues.

@timholy is this right place to open this issue or should I move to JuliaLang/julia?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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