Skip to content

proximafusion/vmecpp-benchmarks

Repository files navigation

VMEC++ benchmarks

Benchmark result on Intel Core Ultra 7 155H

Results on a laptop with Intel Core Ultra 7 155H CPUs.

Running the benchmarks

Set up the Python virtual environment

python3 -m venv venv
source venv/bin/activate

# Base dependencies
pip install simsopt vmecpp matplotlib pandas mpi4py

# On Ubuntu 22.04: we offer a pre-built VMEC2000 for comfort
pip install vmec@https://anaconda.org/eguiraud-pf/vmec/0.0.6/download/vmec-0.0.6-cp310-cp310-linux_x86_64.whl

# On other platforms: you need to install https://github.com/hiddenSymmetries/VMEC2000 from source

Run the benchmarks

source venv/bin/activate

# Run benchmarks, store full logs
bash bench.sh 2>&1 | tee logs.txt

# Extract runtimes and make comparison plot
egrep 'VMEC(PP|2000)' < logs.txt > runtimes.txt

# Plot results: this produces 'benchmark.png'
python comparison_plot.py runtimes.txt

Feedback

To provide feedback on this repository, please reach out at https://github.com/proximafusion/vmecpp, opening an issue or a GitHub discussion.

About

Performance benchmarks for VMEC++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •