Installation¶
Note
SciBmad runs on Windows, macOS, and Linux, in Julia or in Python. This documentation has a version for each language, and the installation is different for each: choose your language with the “Julia | Python” switch at the top right of every page.
SciBmad is written in the Julia programming language, and we recommend using Julia for the best experience. If you are new to Julia, these resources might be helpful:
A SciBmad distribution is a precompiled Julia executable that comes with SciBmad as well as a large number of other useful packages, including those for plotting, optimization, automatic differentiation, statistics, etc. Because it is precompiled, it is ready-to-go out of the box.
The latest SciBmad distribution can be installed with Conda, using the command
conda install -c scibmad-forge scibmad
Once installed, simply run scibmad, which will open the Julia executable:
$ scibmad
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.13.4 (2026-11-13)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org release
|__/ |
julia>
Note
If you already have Julia installed on your machine: the executable scibmad is its own Julia distribution, different from running your own julia executable. SciBmad can also be installed through the General registry in your own julia executable if you prefer, however in this case Julia will have to precompile SciBmad which takes some time.
To see the full list of packages included in the SciBmad distribution, run versions(all=true); in the scibmad Julia.
To exit, run exit(), or enter Ctrl + D.
Updating SciBmad
SciBmad can be updated using the usual machinery of conda:
conda update -c scibmad-forge scibmad
Jupyter Kernel Installation¶
JupyterLab is a widely used computational notebook authoring and editing environment, and may be a helpful companion when using SciBmad. Installation instructions for JupyterLab can be found here.
To install a Jupyter kernel for the SciBmad distribution, open Julia using scibmad and run
using IJulia
installkernel("SciBmad", "--threads=auto", displayname="SciBmad", specname="scibmad")
Then when Jupyter is opened, the SciBmad kernel will appear as an option.
Adding Other Packages¶
Initially you will not need this, but at some point you may want to use a package that is not included in the SciBmad distribution. This can be done by adding packages within Julia. For example, to add the Cxx.jl package,
import Pkg; Pkg.add("Cxx")
You can suggest packages to be included in the SciBmad distribution by submitting an issue on Github here.
Adding GPU Support¶
SciBmad supports GPU parallelization on the following hardware:
For GPU parallelization in SciBmad, the corresponding GPU package must be added. For example, to use SciBmad with NVIDIA CUDA, add the CUDA package:
import Pkg; Pkg.add("CUDA")
Plotting¶
The SciBmad distribution includes the CairoMakie and GLMakie packages from the Makie ecosystem, and Plots. Our personal preference is Makie.
Julia and Python¶
SciBmad can also be used from Python, with the Python package scibmad (pip install pyscibmad), which runs Julia inside Python. Every example in this documentation is also shown
in Python: switch with the “Julia | Python” button at the top of the page.
Next Steps¶
Once SciBmad is installed, head to the Quickstart Guide.