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

Contiguous not defined error when Precompiling #50

Closed
kool7d opened this issue Mar 3, 2021 · 7 comments
Closed

Contiguous not defined error when Precompiling #50

kool7d opened this issue Mar 3, 2021 · 7 comments

Comments

@kool7d
Copy link

kool7d commented Mar 3, 2021

ERROR: LoadError: UndefVarError: Contiguous not defined
Stacktrace:
 [1] include(::Function, ::Module, ::String) at .\Base.jl:380
 [2] include(::Module, ::String) at .\Base.jl:368
 [3] top-level scope at none:2
 [4] eval at .\boot.jl:331 [inlined]
 [5] eval(::Expr) at .\client.jl:467
 [6] top-level scope at .\none:3
in expression starting at C:\Users\kool7\.julia\packages\VectorizationBase\qmYqb\src\VectorizationBase.jl:4
@chriselrod
Copy link
Member

chriselrod commented Mar 3, 2021

Which version of VectorizationBase and of ArrayInterface?

@kool7d
Copy link
Author

kool7d commented Mar 3, 2021

[[ArrayInterface]]
deps = ["LinearAlgebra", "Requires", "SparseArrays"]
git-tree-sha1 = "a2a1884863704e0414f6f164a1f6f4a2a62faf4e"
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
version = "2.14.17"
[[VectorizationBase]]
deps = ["ArrayInterface", "Hwloc", "IfElse", "Libdl", "LinearAlgebra"]
git-tree-sha1 = "9f27ddc74f04319574749bb0a5b3f231a5e7db16"
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
version = "0.16.2"

@chriselrod
Copy link
Member

What happens if you try to add ] add VectorizationBase@0.18?

@kool7d
Copy link
Author

kool7d commented Mar 3, 2021

ERROR: Unsatisfiable requirements detected for package OrdinaryDiffEq [1dea7af3]:
 OrdinaryDiffEq [1dea7af3] log:
 ├─possible versions are: [4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0-4.4.1, 4.5.0, 4.6.0, 4.7.0-4.7.1, 4.8.0-4.8.1, 4.9.0, 4.10.0, 4.11.0-4.11.1, 4.12.0-4.12.4, 4.13.0, 4.14.0, 4.15.0-4.15.1, 4.16.0-4.16.5, 4.17.0-4.17.2, 4.18.0-4.18.3, 4.19.0, 4.20.0, 4.21.0-4.21.1, 5.0.0, 5.1.0-5.1.4, 5.2.0-5.2.1, 5.3.0, 5.4.0-5.4.1, 5.5.0, 5.6.0-5.6.1, 5.7.0-5.7.1, 5.8.0-5.8.1, 5.9.0, 5.10.0, 5.11.0-5.11.1, 5.12.0, 5.13.0, 5.14.0, 5.15.0-5.15.1, 5.16.0, 5.17.0-5.17.2, 5.18.0, 5.19.0, 5.20.0-5.20.1, 5.21.0, 5.22.0, 5.23.0, 5.24.0, 5.25.0, 5.26.0-5.26.8, 5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.10, 5.43.0, 5.44.0, 5.45.0-5.45.1, 5.46.0, 5.47.0-5.47.1, 5.48.0, 5.49.0-5.49.3, 5.50.0-5.50.2, 5.51.0-5.51.1] or uninstalled
 ├─restricted to versions * by Prots [22c5e390], leaving only versions [4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0-4.4.1, 4.5.0, 4.6.0, 4.7.0-4.7.1, 4.8.0-4.8.1, 4.9.0, 4.10.0, 4.11.0-4.11.1, 4.12.0-4.12.4, 4.13.0, 4.14.0, 4.15.0-4.15.1, 4.16.0-4.16.5, 4.17.0-4.17.2, 4.18.0-4.18.3, 4.19.0, 4.20.0, 4.21.0-4.21.1, 5.0.0, 5.1.0-5.1.4, 5.2.0-5.2.1, 5.3.0, 5.4.0-5.4.1, 5.5.0, 5.6.0-5.6.1, 5.7.0-5.7.1, 5.8.0-5.8.1, 5.9.0, 5.10.0, 5.11.0-5.11.1, 5.12.0, 5.13.0, 5.14.0, 5.15.0-5.15.1, 5.16.0, 5.17.0-5.17.2, 5.18.0, 5.19.0, 5.20.0-5.20.1, 5.21.0, 5.22.0, 5.23.0, 5.24.0, 5.25.0, 5.26.0-5.26.8, 5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.10, 5.43.0, 5.44.0, 5.45.0-5.45.1, 5.46.0, 5.47.0-5.47.1, 5.48.0, 5.49.0-5.49.3, 5.50.0-5.50.2, 5.51.0-5.51.1]
 │ └─Prots [22c5e390] log:
 │   ├─possible versions are: 0.0.1 or uninstalled
 │   └─Prots [22c5e390] is fixed to version 0.0.1
 ├─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: [5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.10, 5.43.0, 5.44.0, 5.45.0-5.45.1, 5.46.0, 5.47.0-5.47.1, 5.48.0, 5.49.0-5.49.3, 5.50.0-5.50.2, 5.51.0-5.51.1] or uninstalled, leaving only versions: [5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 
5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.10, 5.43.0, 5.44.0, 5.45.0-5.45.1, 5.46.0, 5.47.0-5.47.1, 5.48.0, 5.49.0-5.49.3, 5.50.0-5.50.2, 5.51.0-5.51.1]
 │ └─RecursiveArrayTools [731186ca] log:
 │   ├─possible versions are: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5, 2.1.0-2.1.2, 2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.8.0-2.8.2, 2.9.0, 2.10.0, 2.11.0] or uninstalled
 │   ├─restricted to versions * by Prots [22c5e390], leaving only versions [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5, 2.1.0-2.1.2, 2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.8.0-2.8.2, 2.9.0, 2.10.0, 2.11.0]
 │   │ └─Prots [22c5e390] log: see above
 │   ├─restricted by compatibility requirements with RecipesBase [3cdcf5f2] to versions: [2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.8.0-2.8.2, 2.9.0, 2.10.0, 2.11.0] or uninstalled, leaving only versions: [2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.8.0-2.8.2, 2.9.0, 2.10.0, 2.11.0]
 │   │ └─RecipesBase [3cdcf5f2] log:
 │   │   ├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0-1.1.1] or uninstalled
 │   │   └─restricted to versions 1 by MIToS [51bafb47], leaving only versions [1.0.0-1.0.2, 1.1.0-1.1.1]
 │   │     └─MIToS [51bafb47] log:
 │   │       ├─possible versions are: 2.5.0 or uninstalled
 │   │       ├─restricted to versions * by Prots [22c5e390], leaving only versions 2.5.0
 │   │       │ └─Prots [22c5e390] log: see above
 │   │       └─MIToS [51bafb47] is fixed to version 2.5.0
 │   └─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5, 2.1.0-2.1.2, 2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.9.0, 2.10.0, 2.11.0] or uninstalled, leaving only versions: [2.2.0, 2.3.0-2.3.5, 2.4.0-2.4.4, 2.5.0, 2.6.0, 2.7.0-2.7.2, 2.9.0, 2.10.0, 2.11.0]
 │     └─StaticArrays [90137ffa] log:
 │       ├─possible versions are: [0.8.0-0.8.3, 0.9.0-0.9.2, 0.10.0, 0.10.2-0.10.3, 0.11.0-0.11.1, 0.12.0-0.12.5, 1.0.0-1.0.1] or uninstalled
 │       └─restricted to versions 0.12 by MIToS [51bafb47], leaving only versions 0.12.0-0.12.5
 │         └─MIToS [51bafb47] log: see above
 ├─restricted by compatibility requirements with DataStructures [864edb3b] to versions: [4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0-4.4.1, 4.5.0, 4.6.0, 4.7.0-4.7.1, 4.8.0-4.8.1, 4.9.0, 4.10.0, 4.11.0-4.11.1, 4.12.0-4.12.4, 4.13.0, 4.14.0, 4.15.0-4.15.1, 4.16.0-4.16.5, 4.17.0-4.17.2, 4.18.0-4.18.3, 4.19.0, 4.20.0, 4.21.0-4.21.1, 5.0.0, 5.1.0-5.1.4, 5.2.0-5.2.1, 5.3.0, 5.4.0-5.4.1, 5.5.0, 5.6.0-5.6.1, 5.7.0-5.7.1, 5.8.0-5.8.1, 5.9.0, 5.10.0, 5.11.0-5.11.1, 5.12.0, 5.13.0, 5.14.0, 5.15.0-5.15.1, 5.16.0, 5.17.0-5.17.2, 5.18.0, 5.19.0, 5.20.0-5.20.1, 5.21.0, 5.22.0, 5.23.0, 5.24.0, 5.25.0, 5.26.0-5.26.8, 5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.3] or uninstalled, leaving only versions: [5.27.0-5.27.1, 5.28.0-5.28.1, 5.29.0, 5.30.0, 5.31.0, 5.32.0-5.32.2, 5.33.0, 5.34.0-5.34.1, 5.35.0-5.35.5, 5.36.0-5.36.1, 5.37.0, 5.38.0-5.38.3, 5.39.0-5.39.1, 5.40.0, 5.41.0, 5.42.0-5.42.3]
 │ └─DataStructures [864edb3b] log:
 │   ├─possible versions are: [0.9.0, 0.10.0, 0.11.0-0.11.1, 0.12.0, 0.13.0, 0.14.0-0.14.1, 0.15.0, 0.16.1, 0.17.0-0.17.20, 0.18.0-0.18.9] or uninstalled
 │   └─restricted to versions 0.17 by MIToS [51bafb47], leaving only versions 0.17.0-0.17.20
 │     └─MIToS [51bafb47] log: see above
 └─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0-4.4.1, 4.5.0, 4.6.0, 4.7.0-4.7.1, 4.8.0-4.8.1, 4.9.0, 4.10.0, 4.11.0-4.11.1, 4.12.0-4.12.4, 4.13.0, 4.14.0, 4.15.0-4.15.1, 4.16.0-4.16.5, 4.17.0-4.17.2, 4.18.0-4.18.3, 4.19.0, 4.20.0, 4.21.0-4.21.1, 5.0.0, 5.1.0-5.1.4, 5.2.0-5.2.1, 5.3.0, 5.4.0-5.4.1, 5.5.0, 5.6.0-5.6.1, 5.7.0-5.7.1, 5.8.0-5.8.1, 5.9.0, 5.10.0, 5.11.0-5.11.1, 5.12.0, 5.13.0, 5.50.0-5.50.2, 5.51.0-5.51.1] or uninstalled — no versions left
   └─ArrayInterface [4fba245c] log:
     ├─possible versions are: [0.0.1, 0.1.0-0.1.1, 1.0.0, 1.1.0, 1.2.0-1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0-2.3.1, 2.4.0-2.4.1, 2.5.0-2.5.1, 2.6.0-2.6.2, 2.7.0, 2.8.0-2.8.7, 2.9.0-2.9.1, 2.10.0, 2.11.0, 2.12.0, 2.13.0-2.13.7, 2.14.0-2.14.17, 3.0.0-3.0.2, 3.1.0-3.1.3] or uninstalled
     ├─restricted to versions * by Prots [22c5e390], leaving only versions [0.0.1, 0.1.0-0.1.1, 1.0.0, 1.1.0, 1.2.0-1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0-2.3.1, 2.4.0-2.4.1, 2.5.0-2.5.1, 2.6.0-2.6.2, 2.7.0, 2.8.0-2.8.7, 2.9.0-2.9.1, 2.10.0, 2.11.0, 2.12.0, 2.13.0-2.13.7, 2.14.0-2.14.17, 3.0.0-3.0.2, 3.1.0-3.1.3]
     │ └─Prots [22c5e390] log: see above
     ├─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: [1.2.0-1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0-2.3.1, 2.4.0-2.4.1, 2.5.0-2.5.1, 2.6.0-2.6.2, 2.7.0, 2.8.0-2.8.7, 2.9.0-2.9.1, 2.10.0, 2.11.0, 2.12.0, 2.13.0-2.13.7, 2.14.0-2.14.17, 3.0.0-3.0.2, 3.1.0-3.1.3]
     │ └─RecursiveArrayTools [731186ca] log: see above
     └─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: [3.0.0-3.0.2, 3.1.0-3.1.3]
       └─VectorizationBase [3d5dd08c] log:
         ├─possible versions are: [0.1.0-0.1.10, 0.2.0-0.2.7, 0.3.0-0.3.1, 0.4.0-0.4.2, 0.5.0, 0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.5, 0.9.0-0.9.6, 0.10.0-0.10.5, 0.11.0-0.11.5, 0.12.0-0.12.33, 0.13.0-0.13.12, 0.14.0-0.14.12, 0.15.0-0.15.7, 0.16.0-0.16.2, 0.17.0-0.17.3, 0.18.0-0.18.14, 0.19.0] or uninstalled
         ├─restricted to versions * by Prots [22c5e390], leaving only versions [0.1.0-0.1.10, 0.2.0-0.2.7, 0.3.0-0.3.1, 0.4.0-0.4.2, 0.5.0, 0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.5, 0.9.0-0.9.6, 0.10.0-0.10.5, 0.11.0-0.11.5, 0.12.0-0.12.33, 0.13.0-0.13.12, 0.14.0-0.14.12, 0.15.0-0.15.7, 0.16.0-0.16.2, 0.17.0-0.17.3, 0.18.0-0.18.14, 0.19.0]
         │ └─Prots [22c5e390] log: see above
         ├─restricted to versions 0.18 by an explicit requirement, leaving only versions 0.18.0-0.18.14
         └─restricted by compatibility requirements with LoopVectorization [bdcacae8] to versions: 0.18.1-0.18.14
           └─LoopVectorization [bdcacae8] log:
             ├─possible versions are: [0.1.0-0.1.3, 0.2.0-0.2.3, 0.3.0-0.3.11, 0.4.0-0.4.2, 0.5.0-0.5.1, 0.6.0-0.6.30, 0.7.0-0.7.8, 0.8.0-0.8.26, 0.9.0-0.9.20, 0.10.0, 0.11.0-0.11.2] or uninstalled
             ├─restricted to versions * by Prots [22c5e390], leaving only versions [0.1.0-0.1.3, 0.2.0-0.2.3, 0.3.0-0.3.11, 0.4.0-0.4.2, 0.5.0-0.5.1, 0.6.0-0.6.30, 0.7.0-0.7.8, 0.8.0-0.8.26, 0.9.0-0.9.20, 0.10.0, 0.11.0-0.11.2]
             │ └─Prots [22c5e390] log: see above
             └─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: 0.11.2 or uninstalled, leaving only versions: 0.11.2
               └─VectorizationBase [3d5dd08c] log: see above

@kool7d
Copy link
Author

kool7d commented Mar 3, 2021

looks like MIToS might be the cause

@chriselrod
Copy link
Member

chriselrod commented Mar 3, 2021

Not sure how you're getting that error with those versions. Contiguous was defined in ArtayInterface 2.14.17.
Could you
] st VectorizationBase ArtayInterface
Just to confirm?

@kool7d
Copy link
Author

kool7d commented Mar 3, 2021

yeah I removed MIToS and updated, and now it works. Thanks

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

2 participants