This is a Julia implementation of the Patatrack benchmark for CMS pixel reconstruction.
- Julia 1.11.5 or later (installed automatically)
- Required Julia packages (installed automatically)
- Data files (downloaded automatically)
-
Clone the repository:
git clone https://github.com/cms-patatrack/pixeltrack-standalone.git
-
Setup the environment:
make julia-serial
This will:
- download and install Julia 1.11.5 from the official website
- download and install required Julia packages
- download and extract the necessary data files
Run the code from the top-level directory after loading the runtime environment:
source env.sh
./julia-serial
Usage: ./julia-serial [--numberOfStreams NS] [--warmupEvents WE] [--maxEvents ME] [--runForMinutes RM]
[--data PATH] [--validation] [--histogram] [--empty]
For more information, run ./julia-seria --help
.
Process 100 events with validation:
./julia-serial --maxEvents 100 --validation
Run for 5 minutes with 8 streams:
./julia-serial --runForMinutes 5 --numberOfStreams 8
-
julia: command not found" Load the runtime environment:
source env.sh
-
Package installation fails:
julia --project=src/julia-serial -e 'using Pkg; Pkg.instantiate()'
-
Precompilation gets stuck:
rm -rf external/julia/depot/compiled/ julia --project=src/julia-serial -e 'using Pkg; Pkg.precompile()'
To create a standalone application:
cd src/julia-serial
julia --project=. compile_app.jl
The executable will be created in src/julia-serial/compile/bin/julia_main.exe
.