You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/core.qmd
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ A more detailed sequence diagram of the simulation loop is available at the [cor
18
18
19
19
## Set the number of threads Julia will use
20
20
21
-
Set the `JULIA_NUM_THREADS` variable in your environment to `auto` (linux, macos) or the number of physical cores of your machine (windows).
21
+
Set the `JULIA_NUM_THREADS` variable in your environment to `auto` (Linux, MacOS) or the number of physical cores of your machine (Windows).
22
22
Multiple threads are used to speed up individual models, as well as running testmodels in parallel.
23
23
24
24
## Install optional Julia libraries
@@ -37,6 +37,17 @@ pkg> add Revise
37
37
Revise.jl is a library that allows you to modify code and use the changes without restarting Julia.
38
38
You can let it start automatically by following these [instructions](https://timholy.github.io/Revise.jl/stable/config/#Using-Revise-by-default-1).
39
39
40
+
41
+
## Add `.julia/bin` to your Path
42
+
43
+
We use the [Runic](https://github.com/fredrikekre/Runic.jl) formatter and [JETLS](https://github.com/aviatesk/JETLS.jl/) language server as [Pkg apps](https://pkgdocs.julialang.org/v1/apps/). which we expect to be available on the Path.
44
+
The JETLS VSCode extension will prompt for you to install JETLS, and `pixi run install` will install Runic.
45
+
46
+
Repeating the note from the Pkg docs:
47
+
48
+
- You need to manually make `~/.julia/bin` available on the PATH environment.
49
+
- The path to the julia executable used is the same as the one used to install the app. If this julia installation gets removed, you might need to reinstall the app.
50
+
40
51
## Install Visual Studio Code (optional)
41
52
42
53
There is a section on editors and IDEs for Julia on <https://julialang.org/>, scroll down to see it.
0 commit comments