This introductory course into Julia is presented in the form of Jupyter notebooks, which discuss the key concepts of the language from the angle of performing molecular simulations or linear algebra operations. It also provides an overview of existing packages and projects based on Julia.
This material was originally prepared for the Julia day at Sorbonne Université on 13.12.2019 (details), but was also presented at 36c3 in Leipzig.
For working on the notebooks Julia 1.3 is recommended. Julia can be easily obtained in binary form from Julia downloads. Installation instructions specific to your operating systems are available.
For working with the material you need a working IJulia setup, this means you need to install Jupyter and integrate it with Julia. Roughly this boils down to:
- Install Jupyter notebook. For Linux choose your favourite package manager, like
apt install jupyter jupyter-notebook
for debian or
pip install jupyter
if you prefer PyPi packages. For Mac use brew install jupyterlab
.
- Install
IJulia
inside Julia. For this run
/path/to/juliafolder/bin/julia -e 'import Pkg; Pkg.add("IJulia")'
in your terminal, where /path/to/juliafolder
is the path
into which you unpacked the julia
tarball.
For getting the course files to your computer, the simplest is to use git:
git clone https://github.com/mfherbst/course_julia_day
After the command is finished you can start the notebooks as usual:
cd course_julia_day
jupyter notebook .
If you find this material useful, please consider citing it: