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

JuMP version incompatibility #14

Closed
maramos874 opened this issue Jun 18, 2020 · 6 comments
Closed

JuMP version incompatibility #14

maramos874 opened this issue Jun 18, 2020 · 6 comments

Comments

@maramos874
Copy link

When trying to install with JuMP, the following incompatibilities arise. Tried to downgrade JuMP to 0.20.1 and the problem still persists.
ERROR: Unsatisfiable requirements detected for package JuMP [4076af6c]:
JuMP [4076af6c] log:
├─possible versions are: [0.18.3-0.18.6, 0.19.0-0.19.2, 0.20.0-0.20.1, 0.21.0-0.21.3] or uninstalled
├─restricted to versions 0.20.1-0.20 by DSP [f78f2366], leaving only versions 0.20.1
│ └─DSP [f78f2366] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─DSP [f78f2366] is fixed to version 0.1.0
└─restricted by compatibility requirements with StructJuMP [34f15cae] to versions: 0.18.3-0.18.6 — no versions left
└─StructJuMP [34f15cae] log:
├─possible versions are: 0.1.0 or uninstalled
└─restricted to versions 0.1 by DSP [f78f2366], leaving only versions 0.1.0
└─DSP [f78f2366] log: see above
Stacktrace:
[1] propagate_constraints!(::Pkg.Resolve.Graph, ::Set{Int64}; log_events::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Resolve/graphtype.jl:1010
[2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Resolve/graphtype.jl:951 [inlined] (repeats 2 times)
[3] simplify_graph!(::Pkg.Resolve.Graph, ::Set{Int64}; clean_graph::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Resolve/graphtype.jl:1465
[4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Resolve/graphtype.jl:1465 [inlined] (repeats 2 times)
[5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:348
[6] targeted_resolve(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.PreserveLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1064
[7] tiered_resolve(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1050
[8] _resolve at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1070 [inlined]
[9] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1085
[10] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:159
[11] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:112
[12] #add#27 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
[13] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
[14] #add#23 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106 [inlined]
[15] add(::Pkg.Types.PackageSpec) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
[16] top-level scope at REPL[29]:1

@kibaekkim
Copy link
Owner

Do you use Manifest.toml to instantiate the package? DSP.jl relies on a branch of StructJuMP.jl package, for which some of the features are not yet released.

Please try to use in this way: https://github.com/kibaekkim/DSP.jl#intallation

@maramos874
Copy link
Author

maramos874 commented Jun 18, 2020 via email

@kibaekkim
Copy link
Owner

If you mean that you want to use DSP without instantiating Manifest.toml, it will be possible once StructJuMP.jl releases a new version with the PR (StructJuMP/StructJuMP.jl#80). We plan to do so soon.

@maramos874
Copy link
Author

maramos874 commented Jun 18, 2020 via email

@kibaekkim
Copy link
Owner

When configured, DSP must have used libmkl_gf_lp64.so as a default BLAS library. Can you try to define the path (e.g., LD_LIBRARY_PATH) to the mkl library?

@kibaekkim
Copy link
Owner

Due to the name conflict in Julia registry, this package has been renamed and moved to https://github.com/kibaekkim/DSPopt.jl, which no more requires to use Manifest.toml.

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