# PDEsystems has version conflict?

**URL:** <https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871>\
**Category:** Modelling & Simulations\
**Tags:** pde, sciml, modelingtoolkit\
**Created:** [November 21, 2021, 9:38pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871 "2021-11-21T21:38:08Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 21, 2021, 9:38pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/1 "2021-11-21T21:38:08Z")

</div>

I am new to Julia. I installed today the latest version of Julia, Atom and Juno and the packages to run the examples on the NeuralPDE.jl website. I cannot run any command from the package ModelingToolkit that uses “PDESystems”. I leave below a link to the example code and another link to a discussion about the same error I am getting. It appears that this is a version issue, but all my packages and Julia versions are up to date (I installed everything today).

[The link to the example is here](https://neuralpde.sciml.ai/stable/pinn/3rd/)

[Link to the same issue I am having](https://issueexplorer.com/issue/SciML/NeuralPDE.jl/416)

Exact error I get:

```julia
MethodError: no method matching PDESystem(::Equation, ::Vector{Equation}, ::Vector{Symbolics.VarDomainPairing}, ::Vector{Num}, ::Vector{Sym{SymbolicUtils.FnType{Tuple, Real}, Nothing}}, ::SciMLBase.NullParameters; name=:pde_system)
Closest candidates are:
  PDESystem(::Any, ::Any, ::Any, ::Any, ::Any, ::Any; defaults, connection_type) at C:\Users\Username\.julia\packages\ModelingToolkit\yGWxM\src\systems\pde\pdesystem.jl:59 got unsupported keyword argument "name"
  PDESystem(::Any, ::Any, ::Any, ::Any, ::Any) at C:\Users\Username\.julia\packages\ModelingToolkit\yGWxM\src\systems\pde\pdesystem.jl:59 got unsupported keyword argument "name"
kwerr(::NamedTuple{(:name,), Tuple{Symbol}}, ::Type, ::Equation, ::Vector{Equation}, ::Vector{Symbolics.VarDomainPairing}, ::Vector{Num}, ::Vector{Sym{SymbolicUtils.FnType{Tuple, Real}, Nothing}}, ::SciMLBase.NullParameters) at error.jl:157
(::Core.var"#Type##kw")(::NamedTuple{(:name,), Tuple{Symbol}}, ::Type{PDESystem}, eqs::Equation, bcs::Vector{Equation}, domain::Vector{Symbolics.VarDomainPairing}, indvars::Vector{Num}, depvars::Vector{Sym{SymbolicUtils.FnType{Tuple, Real}, Nothing}}, ps::SciMLBase.NullParameters) at pdesystem.jl:64
(::Core.var"#Type##kw")(::NamedTuple{(:name,), Tuple{Symbol}}, ::Type{PDESystem}, eqs::Equation, bcs::Vector{Equation}, domain::Vector{Symbolics.VarDomainPairing}, indvars::Vector{Num}, depvars::Vector{Sym{SymbolicUtils.FnType{Tuple, Real}, Nothing}}) at pdesystem.jl:64
top-level scope at untitled-fee6ca1a8cc3740f970fc07e9e7f469a:25
eval at boot.jl:360 [inlined]

```

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 21, 2021, 10:00pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/2 "2021-11-21T22:00:10Z")

</div>

The link to the example looks fine.  
The link to the issue looks suspicious too me. Could you please search for a better one?

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 21, 2021, 10:03pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/3 "2021-11-21T22:03:04Z")

</div>

Just installing packages for your example on 1.7.0-rc3: package manager is downgrading a lot of packages for me.

```julia
 [dce04be8] - ArgCheck v2.1.0
  [ec485272] ↓ ArnoldiMethod v0.2.0 ⇒ v0.1.0
  [15f4f7f2] - AutoHashEquals v0.2.0
  [198e06fe] - BangBang v0.3.32
  [9718e550] - Baselet v0.1.1
  [34da2185] ↑ Compat v3.39.0 ⇒ v3.40.0
  [a33af91c] - CompositionsBase v0.1.1
  [8a292aeb] + Cuba v2.2.0
  [667455a9] + Cubature v1.5.1
  [82cc6244] ↓ DataInterpolations v3.7.0 ⇒ v3.6.1
  [244e2a9f] - DefineSingletons v0.1.1
  [c894b116] ↓ DiffEqJump v8.0.0 ⇒ v7.3.1
  [b4f34e82] ↑ Distances v0.10.5 ⇒ v0.10.6
  [ffbed154] ↑ DocStringExtensions v0.8.5 ⇒ v0.8.6
  [5789e2e9] ↑ FileIO v1.11.1 ⇒ v1.11.2
  [19dc6840] + HCubature v1.5.0
  [cd3eb016] ↑ HTTP v0.9.16 ⇒ v0.9.17
  [22cec73e] - InitialValues v0.2.11
  [093fc24a] + LightGraphs v1.3.5
  [1914dd2f] ↑ MacroTools v0.5.8 ⇒ v0.5.9
  [e9d8d322] - Metatheory v1.3.2
  [128add7d] - MicroCollections v0.1.1
  [961ee093] ↓ ModelingToolkit v7.1.2 ⇒ v6.7.1
  [4886b29c] + MonteCarloIntegration v0.0.3
  [315f7962] + NeuralPDE v4.0.1
  [65888b18] ↓ ParameterizedFunctions v5.12.2 ⇒ v5.12.1
  [69de0a69] ↑ Parsers v2.0.6 ⇒ v2.1.2
  [2dfb63ee] ↑ PooledArrays v1.3.0 ⇒ v1.4.0
  [67601950] + Quadrature v1.12.0
  [42d2dcc6] - Referenceables v0.1.2
  [171d559e] - SplittablesBase v0.1.14
  [82ae8749] ↑ StatsAPI v1.0.0 ⇒ v1.1.0
  [2913bbd2] ↑ StatsBase v0.33.12 ⇒ v0.33.13
  [d1185830] ↓ SymbolicUtils v0.18.1 ⇒ v0.16.0
  [0c5d862f] ↓ Symbolics v4.1.0 ⇒ v3.5.1
  [8ea1fca8] ↓ TermInterface v0.2.3 ⇒ v0.1.8
  [ac1d9e8a] - ThreadsX v0.1.8
  [28d57a85] - Transducers v0.4.67
  [3bed1096] + Cuba_jll v4.2.2+0
  [7bc98958] + Cubature_jll v1.0.5+0
  [2381bf8a] ↑ Wayland_protocols_jll v1.18.0+4 ⇒ v1.23.0+0 

```

Looks like `NeuralPDE` isn’t that up to date.

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 21, 2021, 10:12pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/4 "2021-11-21T22:12:03Z")

</div>

After that and installing a couple more packages the example seems to work for me…

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 21, 2021, 11:40pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/5 "2021-11-21T23:40:00Z")

</div>

Thanks @goerch. The link is safe. I found it by copy pasting the first line of the error I got.

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 21, 2021, 11:42pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/6 "2021-11-21T23:42:26Z")

</div>

@goerch thank you for your response. I have Julia version 1.6.4. I updated all my packages just right now and I still cant get PDESystems to work. Im not sure what to do… Should I change my julia version to 1.7.0-rc3?

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 21, 2021, 11:45pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/7 "2021-11-21T23:45:09Z")

</div>

But it looks like copy&pasta from somewhere(i.e. not a trustworthy site).

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 21, 2021, 11:46pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/8 "2021-11-21T23:46:58Z")

</div>

I’m just a data point. Probably your best bet would be to use a local [environment](https://pkgdocs.julialang.org/v1/environments/).

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 21, 2021, 11:48pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/9 "2021-11-21T23:48:35Z")

</div>

> [@goerch](#):
>
> package manager is downgrading

OK. Ill give that a try. Thanks

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 22, 2021, 12:09am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/10 "2021-11-22T00:09:44Z")

</div>

If you encounter more problems I’ll check with 1.6.4. All the best!

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 22, 2021, 12:28am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/11 "2021-11-22T00:28:50Z")

</div>

Now I’m on 1.6.4 and after some package installing everything works for me still. Will investigate your error message next…

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 22, 2021, 12:31am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/12 "2021-11-22T00:31:57Z")

</div>

I followed this example: [https://stackoverflow.com/a/60134591](https://stackoverflow.com/a/60134591) and now I have ModelingToolkit version 6.7.1 and it runs. Before, just updating was not giving me a later version of ModelingToolkit.

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 22, 2021, 12:32am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/13 "2021-11-22T00:32:12Z")

</div>

Best match to your error message seems to be: [https://github.com/SciML/NeuralPDE.jl/issues/131](https://github.com/SciML/NeuralPDE.jl/issues/131)  
Not sure what to make of this, though.

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 22, 2021, 12:33am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/14 "2021-11-22T00:33:28Z")

</div>

I don’t do enough `Pkg.update()` myself;)

BTW: if you are on that old of a version, I’d recommend to upgrade: AFAIU 1.6.x will be the next LTS.

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 22, 2021, 1:20am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/15 "2021-11-22T01:20:55Z")

</div>

> [@goerch](#):
>
> AFAIU

Thanks. Im new to Julia; what does AFAIU and LTS mean? 😕

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 22, 2021, 1:22am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/16 "2021-11-22T01:22:44Z")

</div>

(A)s (F)ar (A)s (I) (U)nderstand and (L)ong (T)erm (S)upport. Gotta love acronyms;)

---

<div class="post-metadata">

**Author:** ![Goosee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goosee/32/31000_2.png) [@Goosee](https://discourse.julialang.org/u/Goosee)\
**Post date:** [November 22, 2021, 1:27am UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/17 "2021-11-22T01:27:21Z")

</div>

Hahahah OK, that makes sense. Thanks!

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [November 22, 2021, 11:04pm UTC](https://discourse.julialang.org/t/pdesystems-has-version-conflict/71871/18 "2021-11-22T23:04:43Z")

</div>

Yeah, v1.6 is LTS and so we have no intention to support previous versions.
