SciML / DiffEqOperators.jl

Linear operators for discretizations of differential equations and scientific machine learning (SciML)
https://docs.sciml.ai/DiffEqOperators/stable/
Other
284 stars 74 forks source link

Error defining second-order differential #470

Closed mjyshin closed 3 years ago

mjyshin commented 3 years ago

I was running through the heat equation example

@parameters t x
@variables u(..)
Dt = Differential(t)
Dx = Differential(x)
Dxx = Differential(x)^2

but ran into an error

ERROR: MethodError: no method matching ^(::Differential, ::Int64)
Closest candidates are:
  ^(::Union{AbstractChar, AbstractString}, ::Integer) at strings/basic.jl:718
  ^(::Union{VectorizationBase.AbstractSIMDVector{W, T}, VectorizationBase.VecUnroll{var"#s2", W, T, V} where {var"#s2", V<:VectorizationBase.AbstractSIMDVector{W, T}}}, ::Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8}) where {W, T<:Union{Float32, Float64}} at /home/mjyshin/.julia/packages/VectorizationBase/qmYqb/src/special/misc.jl:2
  ^(::Union{VectorizationBase.AbstractSIMDVector{W, T}, VectorizationBase.VecUnroll{var"#s2", W, T, V} where {var"#s2", V<:VectorizationBase.AbstractSIMDVector{W, T}}}, ::Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8}) where {W, T} at /home/mjyshin/.julia/packages/VectorizationBase/qmYqb/src/special/misc.jl:1
  ...
Stacktrace:
 [1] macro expansion
   @ ./none:0 [inlined]
 [2] literal_pow(f::typeof(^), x::Differential, #unused#::Val{2})
   @ Base ./none:0
 [3] top-level scope
   @ REPL[6]:1

Any idea what might be triggering this?

ChrisRackauckas commented 3 years ago

What version do you have? ]st? ]st -m?

mjyshin commented 3 years ago
(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml`
...
  [9fdde737] DiffEqOperators v4.12.0
  [961ee093] ModelingToolkit v3.20.1
...
ChrisRackauckas commented 3 years ago

Those are not the packages that needed to be shown.

mjyshin commented 3 years ago

My bad, I'll just list all outputs:

(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml`
  [fbb218c0] BSON v0.3.3
  [58298e0b] COBRA v0.3.1
  [336ed68f] CSV v0.8.5
  [052768ef] CUDA v2.5.0
  [13f3f980] CairoMakie v0.6.2
  [9961bab8] Cbc v0.8.1
  [e2554f3b] Clp v0.8.4
  [944b1d66] CodecZlib v0.7.0
  [35d6a980] ColorSchemes v3.14.0
  [a93c6f00] DataFrames v0.21.8
  [9fdde737] DiffEqOperators v4.12.0
  [0c46a032] DifferentialEquations v6.18.0
  [cfc395e8] ExtendableGrids v0.7.9
  [5789e2e9] FileIO v1.11.0
  [587475ba] Flux v0.11.3
  [e9467ef8] GLMakie v0.4.2
  [60bf3e95] GLPK v0.12.1
  [3c7084bd] GLPKMathProgInterface v0.4.4
  [5c1252a2] GeometryBasics v0.3.12
  [5eed8a63] GridVisualize v0.2.12
  [f67ccb44] HDF5 v0.12.5
  [cd3eb016] HTTP v0.8.19
  [7073ff75] IJulia v1.23.2
  [b6b21f68] Ipopt v0.7.0
  [033835bb] JLD2 v0.4.3
  [4076af6c] JuMP v0.21.4
  [b964fa9f] LaTeXStrings v1.2.1
  [23992714] MAT v0.6.0
  [961ee093] ModelingToolkit v3.20.1
  [15e1cf62] NPZ v0.4.1
  [1dea7af3] OrdinaryDiffEq v5.42.3
  [91a5bcdd] Plots v1.21.1
  [49802e3a] ProgressBars v1.4.0
  [438e738f] PyCall v1.92.3
  [d330b81b] PyPlot v2.9.0
  [57bfcd06] SimplexGridFactory v0.5.6
  [fd094767] Suppressor v0.2.0
  [f7e6ffb2] Triangulate v0.4.3
  [6dd1b50a] Tulip v0.8.0
  [e3e34ffb] VoronoiCells v0.2.2
  [82b139dc] VoronoiFVM v0.7.1

and

(@v1.6) pkg> st -m
      Status `~/.julia/environments/v1.6/Manifest.toml`
  [14f7f29c] AMD v0.4.0
  [c3fe647b] AbstractAlgebra v0.11.2
  [621f4979] AbstractFFTs v0.5.0
  [1520ce14] AbstractTrees v0.3.4
  [79e6a3ab] Adapt v2.4.0
  [27a7e980] Animations v0.4.1
  [ec485272] ArnoldiMethod v0.1.0
  [4fba245c] ArrayInterface v2.14.17
  [4c555306] ArrayLayouts v0.3.8
  [13072b0f] AxisAlgorithms v1.0.0
  [ab4f0b2a] BFloat16s v0.1.0
  [fbb218c0] BSON v0.3.3
  [aae01518] BandedMatrices v0.15.15
  [6e4b80f9] BenchmarkTools v1.1.4
  [9e28174c] BinDeps v0.8.10
  [b99e7846] BinaryProvider v0.5.10
  [8e7c35d0] BlockArrays v0.12.11
  [ffab5731] BlockBandedMatrices v0.8.11
  [a74b3585] Blosc v0.5.1
  [764a87c0] BoundaryValueDiffEq v2.7.1
  [e1450e63] BufferedStreams v1.0.0
  [fa961155] CEnum v0.4.1
  [631607c0] CMake v1.2.0
  [d5fb7624] CMakeWrapper v0.2.4
  [58298e0b] COBRA v0.3.1
  [a076750e] CPLEX v0.6.6
  [336ed68f] CSV v0.8.5
  [052768ef] CUDA v2.5.0
  [159f3aea] Cairo v1.0.5
  [13f3f980] CairoMakie v0.6.2
  [49dc2e85] Calculus v0.5.1
  [a603d957] CanonicalTraits v0.2.4
  [324d7699] CategoricalArrays v0.8.3
  [9961bab8] Cbc v0.8.1
  [082447d4] ChainRules v0.7.27
  [d360d2e6] ChainRulesCore v0.9.45
  [e2554f3b] Clp v0.8.4
  [523fee87] CodecBzip2 v0.7.2
  [944b1d66] CodecZlib v0.7.0
  [a2cac450] ColorBrewer v0.4.0
  [35d6a980] ColorSchemes v3.14.0
  [3da002f7] ColorTypes v0.10.12
  [c3611d14] ColorVectorSpace v0.8.7
  [5ae59095] Colors v0.12.8
  [861a8166] Combinatorics v1.0.2
  [38540f10] CommonSolve v0.2.0
  [bbf7d656] CommonSubexpressions v0.3.0
  [34da2185] Compat v2.2.1
  [8f4d0f93] Conda v1.5.2
  [88cd18e8] ConsoleProgressMonitor v0.1.2
  [187b0558] ConstructionBase v1.3.0
  [d38c429a] Contour v0.5.7
  [9a962f9c] DataAPI v1.7.0
  [a93c6f00] DataFrames v0.21.8
  [864edb3b] DataStructures v0.17.20
  [e2d170a0] DataValueInterfaces v1.0.0
  [bcd4f6db] DelayDiffEq v5.24.1
  [2b5f629d] DiffEqBase v6.44.3
  [459566f4] DiffEqCallbacks v2.13.5
  [5a0ffddc] DiffEqFinancial v2.4.0
  [c894b116] DiffEqJump v6.10.0
  [77a26b50] DiffEqNoiseProcess v5.5.2
  [9fdde737] DiffEqOperators v4.12.0
  [055956cb] DiffEqPhysics v3.9.0
  [163ba53b] DiffResults v1.0.3
  [b552c78f] DiffRules v1.3.0
  [0c46a032] DifferentialEquations v6.18.0
  [c619ae07] DimensionalPlotRecipes v1.2.0
  [b4f34e82] Distances v0.10.3
  [31c24e10] Distributions v0.23.8
  [ffbed154] DocStringExtensions v0.8.5
  [fdbdab4c] ElasticArrays v1.2.9
  [da5c29d0] EllipsisNotation v1.0.0
  [d4d017d3] ExponentialUtilities v1.8.2
  [e2ba6199] ExprTools v0.1.6
  [cfc395e8] ExtendableGrids v0.7.9
  [95c220a8] ExtendableSparse v0.2.7
  [c87230d0] FFMPEG v0.4.1
  [7a1cc6ca] FFTW v1.3.0
  [9aa1b823] FastClosures v0.3.2
  [5789e2e9] FileIO v1.11.0
  [1a297f60] FillArrays v0.8.14
  [6a86dc24] FiniteDiff v2.8.1
  [53c48c17] FixedPointNumbers v0.8.4
  [587475ba] Flux v0.11.3
  [59287772] Formatting v0.4.2
  [f6369f11] ForwardDiff v0.10.19
  [b38be410] FreeType v4.0.0
  [663a7486] FreeTypeAbstraction v0.9.1
  [069b7b12] FunctionWrappers v1.1.2
  [d9f16b24] Functors v0.1.0
  [f7f18e0c] GLFW v3.4.1
  [e9467ef8] GLMakie v0.4.2
  [60bf3e95] GLPK v0.12.1
  [3c7084bd] GLPKMathProgInterface v0.4.4
  [0c68f7d7] GPUArrays v6.4.1
  [61eb1bfa] GPUCompiler v0.9.2
  [28b8d3ca] GR v0.58.1
  [6b9d7cbe] GeneralizedGenerated v0.2.8
  [01680d73] GenericSVD v0.3.0
  [fd0ad045] GeometricalPredicates v0.4.0
  [5c1252a2] GeometryBasics v0.3.12
  [a2bd30eb] Graphics v1.1.0
  [3955a311] GridLayoutBase v0.5.7
  [5eed8a63] GridVisualize v0.2.12
  [42e2da0e] Grisu v1.0.2
  [f67ccb44] HDF5 v0.12.5
  [cd3eb016] HTTP v0.8.19
  [0e44f5e4] Hwloc v1.3.0
  [7073ff75] IJulia v1.23.2
  [7869d1d1] IRTools v0.4.3
  [615f187c] IfElse v0.1.0
  [a09fc81d] ImageCore v0.8.22
  [82e4d734] ImageIO v0.5.8
  [9b13fd28] IndirectArrays v0.5.1
  [d25df0c9] Inflate v0.1.2
  [83e8ac13] IniFile v0.5.0
  [a98d9a8b] Interpolations v0.13.2
  [8197267c] IntervalSets v0.5.3
  [41ab1584] InvertedIndices v1.0.0
  [b6b21f68] Ipopt v0.7.0
  [f1662d9f] Isoband v0.1.1
  [c8e1da08] IterTools v1.3.0
  [42fd0dbc] IterativeSolvers v0.8.5
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.3
  [692b3bcd] JLLWrappers v1.3.0
  [682c06a0] JSON v0.21.2
  [7d188eb4] JSONSchema v0.3.3
  [4076af6c] JuMP v0.21.4
  [b14d175d] JuliaVariables v0.2.4
  [e5e0dc1b] Juno v0.8.4
  [5ab0869b] KernelDensity v0.6.3
  [ba0b0d4f] Krylov v0.7.6
  [40e66cde] LDLFactorizations v0.8.1
  [929cbde3] LLVM v3.9.0
  [b964fa9f] LaTeXStrings v1.2.1
  [2ee39098] LabelledArrays v1.6.4
  [23fbe1c1] Latexify v0.14.12
  [5078a376] LazyArrays v0.16.16
  [d7e5e226] LazyBandedMatrices v0.2.12
  [1d6d02ad] LeftChildRightSiblingTrees v0.1.2
  [2ec943e9] Libz v1.0.1
  [093fc24a] LightGraphs v1.3.5
  [d3d80556] LineSearches v7.1.1
  [5c8ed15e] LinearOperators v2.1.0
  [2ab3a3ac] LogExpFunctions v0.2.5
  [e6f89c97] LoggingExtras v0.4.7
  [bdcacae8] LoopVectorization v0.10.0
  [23992714] MAT v0.6.0
  [d8e11817] MLStyle v0.4.10
  [1914dd2f] MacroTools v0.5.7
  [ee78f7c6] Makie v0.14.2
  [20f20a25] MakieCore v0.1.3
  [dbb5928d] MappedArrays v0.4.1
  [7eb4fadd] Match v1.1.0
  [b8f27783] MathOptInterface v0.9.22
  [fdba3010] MathProgBase v0.7.8
  [a3b82374] MatrixFactorizations v0.5.2
  [739be429] MbedTLS v1.0.3
  [442fdcdd] Measures v0.3.1
  [e89f7d12] Media v0.5.0
  [7269a6da] MeshIO v0.4.7
  [e1d29d7a] Missings v0.4.5
  [961ee093] ModelingToolkit v3.20.1
  [66fc600b] ModernGL v1.1.2
  [e94cdb99] MosaicViews v0.3.3
  [46d2c3a1] MuladdMacro v0.2.2
  [f9640e96] MultiScaleArrays v1.8.1
  [d8a4904e] MutableArithmetics v0.2.20
  [d41bc354] NLSolversBase v7.8.1
  [2774e3e8] NLsolve v4.5.1
  [872c559c] NNlib v0.7.11
  [15e1cf62] NPZ v0.4.1
  [77ba4419] NaNMath v0.3.5
  [71a1bf82] NameResolution v0.1.5
  [f09324ee] Netpbm v1.0.1
  [510215fc] Observables v0.4.0
  [6fe1bfb0] OffsetArrays v1.10.6
  [52e1d378] OpenEXR v0.3.2
  [bac558e1] OrderedCollections v1.4.1
  [1dea7af3] OrdinaryDiffEq v5.42.3
  [90014a1f] PDMats v0.10.1
  [f57f5aa1] PNGFiles v0.3.7
  [19eb6ba3] Packing v0.4.1
  [5432bcbf] PaddedViews v0.5.10
  [65888b18] ParameterizedFunctions v5.6.0
  [d96e819e] Parameters v0.12.2
  [69de0a69] Parsers v1.1.2
  [eebad327] PkgVersion v0.1.1
  [ccf2f8ad] PlotThemes v2.0.1
  [995b91a9] PlotUtils v1.0.12
  [91a5bcdd] Plots v1.21.1
  [e409e4f3] PoissonRandom v0.4.0
  [647866c9] PolygonOps v0.1.1
  [2dfb63ee] PooledArrays v0.5.3
  [21216c6a] Preferences v1.2.2
  [8162dcfd] PrettyPrint v0.2.0
  [49802e3a] ProgressBars v1.4.0
  [33c8b6b6] ProgressLogging v0.1.4
  [92933f4c] ProgressMeter v1.7.1
  [438e738f] PyCall v1.92.3
  [d330b81b] PyPlot v2.9.0
  [10f199a5] QPSReader v0.2.0
  [1fd47b50] QuadGK v2.4.1
  [74087812] Random123 v1.4.2
  [fb686558] RandomExtensions v0.4.3
  [e6cf234a] RandomNumbers v1.5.3
  [c84ed2f1] Ratios v0.4.1
  [3cdcf5f2] RecipesBase v1.1.2
  [01d81517] RecipesPipeline v0.3.6
  [731186ca] RecursiveArrayTools v2.11.4
  [f2c3362d] RecursiveFactorization v0.1.13
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.1.3
  [ae5879a3] ResettableStacks v1.1.1
  [79098fc4] Rmath v0.7.0
  [f2b01f46] Roots v1.3.1
  [476501e8] SLEEFPirates v0.6.8
  [1bc83da4] SafeTestsets v0.0.1
  [0bca4576] SciMLBase v1.13.6
  [6c6a2e73] Scratch v1.1.0
  [91c51154] SentinelArrays v1.3.7
  [efcf1570] Setfield v0.7.1
  [65257c39] ShaderAbstractions v0.2.7
  [992d4aef] Showoff v1.0.3
  [73760f76] SignedDistanceFields v0.4.0
  [699a6c99] SimpleTraits v0.9.4
  [57bfcd06] SimplexGridFactory v0.5.6
  [b85f4697] SoftGlobalScope v1.1.0
  [a2af1166] SortingAlgorithms v0.3.1
  [47a9eef4] SparseDiffTools v1.13.2
  [276daf66] SpecialFunctions v0.10.3
  [cae243ae] StackViews v0.1.1
  [90137ffa] StaticArrays v0.12.5
  [82ae8749] StatsAPI v1.0.0
  [2913bbd2] StatsBase v0.33.10
  [4c63d2b9] StatsFuns v0.9.8
  [9672c7b4] SteadyStateDiffEq v1.6.4
  [789caeaf] StochasticDiffEq v6.25.0
  [09ab397b] StructArrays v0.5.1
  [856f2bd8] StructTypes v1.7.2
  [c3572dad] Sundials v4.2.6
  [fd094767] Suppressor v0.2.0
  [d1185830] SymbolicUtils v0.5.2
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.5.0
  [5d786b92] TerminalLoggers v0.1.4
  [8290d209] ThreadingUtilities v0.2.3
  [731e570b] TiffImages v0.4.1
  [a759f4b9] TimerOutputs v0.5.12
  [3bb67fe8] TranscodingStreams v0.9.6
  [a2a6695c] TreeViews v0.3.0
  [f7e6ffb2] Triangulate v0.4.3
  [6dd1b50a] Tulip v0.8.0
  [30578b45] URIParser v0.4.1
  [3a884ed6] UnPack v1.0.2
  [1cfade01] UnicodeFun v0.4.1
  [1986cc42] Unitful v1.9.0
  [3d5dd08c] VectorizationBase v0.16.2
  [81def892] VersionParsing v1.2.0
  [19fa3120] VertexSafeGraphs v0.1.2
  [e3e34ffb] VoronoiCells v0.2.2
  [72f80fcb] VoronoiDelaunay v0.4.0
  [82b139dc] VoronoiFVM v0.7.1
  [efce3f68] WoodburyMatrices v0.5.3
  [c2297ded] ZMQ v1.2.1
  [a5390f91] ZipFile v0.9.3
  [e88e6eb3] Zygote v0.5.2
  [700de1a5] ZygoteRules v0.2.1
  [ae81ac8f] ASL_jll v0.1.2+0
  [6e34b625] Bzip2_jll v1.0.6+5
  [83423d85] Cairo_jll v1.16.0+6
  [38041ee0] Cbc_jll v200.1000.500+1
  [3830e938] Cgl_jll v0.6000.200+0
  [06985876] Clp_jll v100.1700.600+0
  [be027038] CoinUtils_jll v2.11.4+2
  [5ae413db] EarCut_jll v2.1.5+1
  [2e619515] Expat_jll v2.2.10+0
  [b22a6f82] FFMPEG_jll v4.3.1+4
  [f5851436] FFTW_jll v3.3.9+8
  [a3f928ae] Fontconfig_jll v2.13.1+14
  [d7e528f0] FreeType2_jll v2.10.1+5
  [559328eb] FriBidi_jll v1.0.10+0
  [0656b61e] GLFW_jll v3.3.5+0
  [d2c73de3] GR_jll v0.58.1+0
  [78b55507] Gettext_jll v0.21.0+0
  [7746bdde] Glib_jll v2.68.3+0
  [3b182d85] Graphite2_jll v1.3.14+0
  [2e76f6c2] HarfBuzz_jll v2.8.1+0
  [e33a78d0] Hwloc_jll v2.5.0+0
  [905a6f67] Imath_jll v3.1.2+0
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+2
  [9cc047cb] Ipopt_jll v3.13.4+2
  [aacddb02] JpegTurbo_jll v2.1.0+0
  [c1c5ebd0] LAME_jll v3.100.1+0
  [dd4b983a] LZO_jll v2.10.1+0
  [dd192d2f] LibVPX_jll v1.10.0+0
  [e9f186c6] Libffi_jll v3.2.2+0
  [d4300ac3] Libgcrypt_jll v1.8.7+0
  [7e76a0d4] Libglvnd_jll v1.3.0+3
  [7add5ba3] Libgpg_error_jll v1.42.0+0
  [94ce4f54] Libiconv_jll v1.16.1+1
  [4b2f31a3] Libmount_jll v2.35.0+0
  [89763e89] Libtiff_jll v4.3.0+0
  [38a345b3] Libuuid_jll v2.36.0+0
  [d00139f3] METIS_jll v5.1.0+5
  [856f044c] MKL_jll v2020.2.254+0
  [d7ed1dd3] MUMPS_seq_jll v5.2.1+4
  [e7412a2a] Ogg_jll v1.3.5+0
  [656ef2d0] OpenBLAS32_jll v0.3.12+1
  [18a262bb] OpenEXR_jll v3.1.1+0
  [458c3c95] OpenSSL_jll v1.1.10+0
  [efe28fd5] OpenSpecFun_jll v0.5.5+0
  [91d4177d] Opus_jll v1.3.2+0
  [7da25872] Osi_jll v0.108.6+2
  [2f80f16e] PCRE_jll v8.44.0+0
  [36c8627f] Pango_jll v1.42.4+10
  [30392449] Pixman_jll v0.40.1+0
  [ea2cea3b] Qt5Base_jll v5.15.3+0
  [f50d1b31] Rmath_jll v0.3.0+0
  [fb77eaff] Sundials_jll v5.2.0+1
  [a2964d1f] Wayland_jll v1.19.0+0
  [2381bf8a] Wayland_protocols_jll v1.18.0+4
  [02c8fc9c] XML2_jll v2.9.12+0
  [aed1982a] XSLT_jll v1.1.34+0
  [4f6342f7] Xorg_libX11_jll v1.6.9+4
  [0c0b7dd1] Xorg_libXau_jll v1.0.9+4
  [935fb764] Xorg_libXcursor_jll v1.2.0+4
  [a3789734] Xorg_libXdmcp_jll v1.1.3+4
  [1082639a] Xorg_libXext_jll v1.3.4+4
  [d091e8ba] Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] Xorg_libXi_jll v1.7.10+4
  [d1454406] Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+4
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.0+3
  [c7cfdc94] Xorg_libxcb_jll v1.13.0+3
  [cc61e674] Xorg_libxkbfile_jll v1.1.0+4
  [12413925] Xorg_xcb_util_image_jll v0.4.0+1
  [2def613f] Xorg_xcb_util_jll v0.4.0+1
  [975044d2] Xorg_xcb_util_keysyms_jll v0.4.0+1
  [0d47668e] Xorg_xcb_util_renderutil_jll v0.3.9+1
  [c22f9ab0] Xorg_xcb_util_wm_jll v0.4.1+1
  [35661453] Xorg_xkbcomp_jll v1.4.2+4
  [33bec58e] Xorg_xkeyboard_config_jll v2.27.0+4
  [c5fb5394] Xorg_xtrans_jll v1.4.0+3
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [3161d3a3] Zstd_jll v1.5.0+0
  [9a68df92] isoband_jll v0.2.2+0
  [0ac62f75] libass_jll v0.14.0+4
  [f638f0a6] libfdk_aac_jll v0.1.6+4
  [b53b4c65] libpng_jll v1.6.38+0
  [a9144af2] libsodium_jll v1.0.20+0
  [f27f6e37] libvorbis_jll v1.3.7+0
  [1270edf5] x264_jll v2020.7.14+2
  [dfaa095f] x265_jll v3.0.0+3
  [d8fb68d0] xkbcommon_jll v0.9.1+5
  [0dad84c5] ArgTools
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [f43a241f] Downloads
  [7b1f6079] FileWatching
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [4af54fe1] LazyArtifacts
  [b27032c2] LibCURL
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions
  [44cfe95a] Pkg
  [de0858da] Printf
  [9abbd945] Profile
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML
  [a4e569a6] Tar
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll
  [deac9b47] LibCURL_jll
  [29816b5a] LibSSH2_jll
  [c8ffd9c3] MbedTLS_jll
  [14a3606d] MozillaCACerts_jll
  [4536629a] OpenBLAS_jll
  [bea87d4a] SuiteSparse_jll
  [83775a58] Zlib_jll
  [8e850ede] nghttp2_jll
  [3f19e933] p7zip_jll
ChrisRackauckas commented 3 years ago

Wow, super old versions. What does ]add Symbolics give you?

mjyshin commented 3 years ago

I get the error:

(@v1.6) pkg> add Symbolics
    Updating registry at `~/.julia/registries/General`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package DataStructures [864edb3b]:
 DataStructures [864edb3b] log:
 ├─possible versions are: 0.9.0-0.18.10 or uninstalled
 ├─restricted by compatibility requirements with OrdinaryDiffEq [1dea7af3] to versions: 0.9.0-0.18.10
 │ └─OrdinaryDiffEq [1dea7af3] log:
 │   ├─possible versions are: 4.0.0-5.63.4 or uninstalled
 │   ├─restricted to versions * by an explicit requirement, leaving only versions 4.0.0-5.63.4
 │   ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [4.0.0-5.3.0, 5.21.0-5.63.4] or uninstalled, leaving only versions: [4.0.0-5.3.0, 5.21.0-5.63.4]
 │   │ └─StaticArrays [90137ffa] log:
 │   │   ├─possible versions are: 0.8.0-1.2.12 or uninstalled
 │   │   └─restricted by compatibility requirements with GridVisualize [5eed8a63] to versions: 0.12.0-1.2.12
 │   │     └─GridVisualize [5eed8a63] log:
 │   │       ├─possible versions are: 0.1.0-0.2.12 or uninstalled
 │   │       └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.2.12
 │   └─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 5.27.0-5.63.4 or uninstalled, leaving only versions: 5.27.0-5.63.4
 │     └─RecursiveArrayTools [731186ca] log:
 │       ├─possible versions are: 0.16.0-2.17.2 or uninstalled
 │       ├─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: 0.16.0-2.17.2
 │       │ └─DifferentialEquations [0c46a032] log:
 │       │   ├─possible versions are: 5.0.0-6.19.0 or uninstalled
 │       │   ├─restricted to versions * by an explicit requirement, leaving only versions 5.0.0-6.19.0
 │       │   └─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 6.10.0-6.19.0 or uninstalled, leaving only versions: 6.10.0-6.19.0
 │       │     └─RecursiveArrayTools [731186ca] log: see above
 │       └─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 2.0.0-2.17.2
 │         └─SciMLBase [0bca4576] log:
 │           ├─possible versions are: 1.0.0-1.18.7 or uninstalled
 │           └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 1.8.0-1.18.7
 │             └─Symbolics [0c5d862f] log:
 │               ├─possible versions are: 0.1.0-3.2.3 or uninstalled
 │               └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-3.2.3
 ├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.9.0-0.17.20 or uninstalled, leaving only versions: 0.9.0-0.17.20
 │ └─Compat [34da2185] log:
 │   ├─possible versions are: 1.0.0-3.34.0 or uninstalled
 │   ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 1.0.0-3.34.0
 │   │ └─DataFrames [a93c6f00] log:
 │   │   ├─possible versions are: 0.11.7-1.2.2 or uninstalled
 │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.11.7-1.2.2
 │   │   └─restricted by compatibility requirements with Compat [34da2185] to versions: 0.11.7-0.21.8 or uninstalled, leaving only versions: 0.11.7-0.21.8
 │   │     └─Compat [34da2185] log: see above
 │   └─restricted by compatibility requirements with GLPKMathProgInterface [3c7084bd] to versions: 1.0.0-2.2.1
 │     └─GLPKMathProgInterface [3c7084bd] log:
 │       ├─possible versions are: 0.4.1-0.5.0 or uninstalled
 │       ├─restricted to versions * by an explicit requirement, leaving only versions 0.4.1-0.5.0
 │       └─restricted by compatibility requirements with COBRA [58298e0b] to versions: 0.4.1-0.4.4
 │         └─COBRA [58298e0b] log:
 │           ├─possible versions are: 0.3.0-0.3.2 or uninstalled
 │           └─restricted to versions * by an explicit requirement, leaving only versions 0.3.0-0.3.2
 └─restricted by compatibility requirements with SymbolicUtils [d1185830] to versions: 0.18.0-0.18.10 — no versions left
   └─SymbolicUtils [d1185830] log:
     ├─possible versions are: 0.1.0-0.15.0 or uninstalled
     └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 0.8.4-0.13.4
       └─Symbolics [0c5d862f] log: see above
ChrisRackauckas commented 3 years ago

It looks like your entire system is years behind in the packages. I would delete a few things that might not be updated recently until it all updates. It would be good to know what's the one holding everything back.

mjyshin commented 3 years ago

Thank you for the heads up. I set up a new environment and installed just the essential SciML packages, and it ran without any issues. I will close this issue.