Usage on HPC clusters
In order to support reusability this project uses software available in the European Environment for Scientific Software Installations (EESSI). For Julia this means using version 1.12.2 which is available in EESSI 2025.06.
Installation
Clone the repository:
git clone https://codeberg.org/timdegroot/GKMC.git
git fetch origin --tags
git switch --detach <v1.2.3>Usage
To run it on a HPC cluster (requirements: SLURM, EESSI/2025.06).
#!/bin/sh
#SBATCH --nodes=1
#SBATCH --ntasks=128
#SBATCH --cpus-per-task=1
#SBATCH --time=02:00:00
module load EESSI/2025.06
module load Julia/1.12.2
export JULIA_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
command -v julia
julia --version
julia --project=GKMC/ -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'
julia --project=GKMC/ -e \
'using GKMC; GKMC.run_simulation(ARGS[1])' \
"$1"