Skip to content

precompile error on Windows #58

Description

@PatMcFarlane

I'm having trouble using MKLSparse on a Windows 11 machine. I get an error when precompiling:

ERROR: The following 1 direct dependency failed to precompile:

MKLSparse

Failed to precompile MKLSparse [0c723cd3-b8cd-5d40-b370-ba682dde9aae] to "C:\\Users\\pmcfarla\\.julia\\compiled\\v1.11\\MKLSparse\\jl_9252.tmp".
ERROR: LoadError: too many parameters for type AbstractTriangular
Stacktrace:
 [1] top-level scope
   @ C:\Users\pmcfarla\.julia\packages\MKLSparse\aP1wu\src\interface.jl:17
 [2] include(mod::Module, _path::String)
   @ Base .\Base.jl:558
 [3] include(x::String)
   @ MKLSparse C:\Users\pmcfarla\.julia\packages\MKLSparse\aP1wu\src\MKLSparse.jl:1
 [4] top-level scope
   @ C:\Users\pmcfarla\.julia\packages\MKLSparse\aP1wu\src\MKLSparse.jl:61
 [5] include
   @ .\Base.jl:558 [inlined]
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base .\loading.jl:2721
 [7] top-level scope
   @ stdin:4
in expression starting at C:\Users\pmcfarla\.julia\packages\MKLSparse\aP1wu\src\interface.jl:10
in expression starting at C:\Users\pmcfarla\.julia\packages\MKLSparse\aP1wu\src\MKLSparse.jl:1
in expression starting at stdin:

I'm really not very savvy about these things. Grateful for any assistance.

-Patrick

Activity

  1. PatMcFarlane commented on Feb 21, 2025

    @PatMcFarlane
    Author

    I think the problem is that in interface.jl:10, one needs to replace VERSION>=v"1.11" with VERSION>=v"1.11-"

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

Metadata

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