Skip to content

OpenGATE/GateBenchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

348 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GateBenchmarks

This repository contains Gate benchmarks used to compare current an previous Gate versions.

To use it:

  • Clone the repository: git clone --recursive https://github.com/OpenGATE/GateBenchmarks.git
  • Check that the Gate version you want to test is in your PATH: which Gate and Gate --version (for recent Gate version)
  • Install the https://github.com/OpenGATE/GateTools : pip install gatetools (required)
  • Run a benchmark: ./runBenchmark.py -t t1_edep_profiles (for test t1_edep_profiles)
  • This will create a result in the t1_edep_profiles folder, you can then look at the file output.pdf

Note the you can run all tests at once with ./runBenchmark.py (without argument).
You can also run the tests in a docker image with:
docker run --rm -e "COMMIT=v9.1" -e "TEST=t1_edep_profiles" -v $PWD:/home tbaudier/gatebenchmarks:9.1 /home/.github/workflows/runTest.sh
You can adapt the variables COMMIT with the commit/tag of Gate you want to compile and TESTwith the test folder name you want to execute. The docker image is available here https://hub.docker.com/r/tbaudier/gatebenchmarks with the corresponding tags of different Gate versions.

WARNING (04/2021) This is a first version of the benchmarks, still incomplete. Some tests (in particular t4 and t7) sometimes still fail due to the stochastic nature of the simulation. It would require a simulation with too long computation time regarding the CPU limits (or a too high tolerance). It will be improved in the future.

How to deal with LFS:

How to propose a new test ?

About

Automated Gate Benchmarks

Resources

Stars

5 stars

Watchers

7 watching

Forks

Packages

 
 
 

Contributors