# Problems on ReservoirComputing.jl

**URL:** <https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [April 18, 2022, 9:04am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623 "2022-04-18T09:04:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louis612](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Post date:** [April 18, 2022, 9:04am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/1 "2022-04-18T09:04:06Z")

</div>

I’m now trying to use ReservoirComputing library, but when I try to set the NLAtype, it doesn’t work and shows “UndefVarError: NLAT2 not defined”.  
I wonder what’s wrong with the code  
(You can find the code here:[https://github.com/SciML/ReservoirComputing.jl/blob/master/examples/rossler\_example.jl](https://github.com/SciML/ReservoirComputing.jl/blob/master/examples/rossler_example.jl))

---

<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:** [April 18, 2022, 10:08am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/2 "2022-04-18T10:08:10Z")

</div>

What version are you using?

---

<div class="post-metadata">

**Author:** ![Louis612](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Post date:** [April 18, 2022, 10:51am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/3 "2022-04-18T10:51:03Z")

</div>

julia 1.7.1

---

<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:** [April 18, 2022, 11:59am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/4 "2022-04-18T11:59:35Z")

</div>

No, `]st ReservoirComputing`

---

<div class="post-metadata">

**Author:** ![Louis612](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Post date:** [April 18, 2022, 3:11pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/5 "2022-04-18T15:11:06Z")

</div>

I download Julia 1.6.2 and it works, thanks a lot !

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 18, 2022, 5:33pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/6 "2022-04-18T17:33:19Z")

</div>

Sorry to but in but this seems suboptimal - what Chris meant was that you were likely using an outdated version of ReservoirComputing when you saw the error, which is why he asked for the output of `] st`.

You now downloaded a different Julia version which uses a fresh global environment, so that when you installed ReservoirComputing you likely got the latest version and things are working. This is **not** because of any issues with Julia 1.7 though, but likely because you had other packages installed in your global environment which held back ReservoirComputing to an older version.

So there’s two takeaways here I think:

1. Work in project specific environments and don’t install packages in the global environment unless they are development packages like Revise, Pluto etc.

2. Use the latest stable release of Julia for your work - this is currently 1.7.2 and will soon be 1.8. There’s no reason to use 1.6.2 and it is extremely unlikely that there are any well maintained packages which work on an older version but not the latest release

---

<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:** [April 18, 2022, 6:16pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/7 "2022-04-18T18:16:36Z")

</div>

> [@nilshg](#):
>
> 1. Use the latest stable release of Julia for your work - this is currently 1.7.2 and will soon be 1.8. There’s no reason to use 1.6.2 and it is extremely unlikely that there are any well maintained packages which work on an older version but not the latest release

v1.6 is fine though as it’s the LTS

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 18, 2022, 6:24pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/8 "2022-04-18T18:24:10Z")

</div>

That’s a fair point although I’d say (1) the current LTS release is 1.6.5 not 1.6.2 and (2) as per many previous discussions almost everyone should be using stable rather than LTS

---

<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:** [April 18, 2022, 6:36pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/9 "2022-04-18T18:36:08Z")

</div>

Yeah, everyone should probably be using stable, it’s suboptimal not to be, and this case will work on v1.7 if the person just updated their packages. But, LTS is maintained by SciML so this should work until v1.6 is not the LTS. That’s part of our development plans, and it is wrong to say “there’s no reason to use 1.6.2 and it is extremely unlikely that there are any well maintained packages which work on an older version but not the latest release”. It is extremely likely the SciML packages do as LTS is CI tested, and please open an issue if an unknown issue is found.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 18, 2022, 8:12pm UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/10 "2022-04-18T20:12:05Z")

</div>

Yes, my point was about “older version” in general, not LTS in particular - still I’d argue that it is unlikely that you’ll find a package that works on LTS but **not** on stable. Currently of course we only have one post-LTS minor release so my point about “work[ing] on an older version but not the latest release” isn’t all that relevant, but once 1.8 is out I’d say it is indeed quite unlikely to encounter a package that works on 1.7 (and LTS) but not on 1.8.

---

<div class="post-metadata">

**Author:** ![Louis612](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Post date:** [April 19, 2022, 2:24am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623/11 "2022-04-19T02:24:40Z")

</div>

Got it. thanks a lot
