Code to accompany the presentation at DCSC SciML Tutorial 22/11/2024.
Before the tutorial, please have completed the following list of items.
- Install Julia (see the Julia download page).
- Clone this repository and open a terminal in the root folder of the repo.
- Run
julia --project=.
- this will start Julia with the environment configured to the current folder (and by extension use theProject.toml
file in this folder to determine dependencies). - Press
]
to enter into thePkg
mode of the REPL and run the following three commands in order:resolve
- will find the newest compatible set of dependencies according toProject.toml
.instantiate
- download the dependencies (will automaticallyresolve
if noManifest.toml
is present).precompile
- run the precompilation on all dependencies. Not strictly necessary since it will automatically precompile upon first execution, but running the command means we can skip the precompilation and speed up the tutorial.
For an editor for Julia, I can recommend VS Code with the Julia extension.