Warning, /detector_benchmarks/benchmarks/backwards_ecal/config.yml is written in an unsupported language. File is not indexed.
0001 sim:backwards_ecal:
0002 extends: .det_benchmark
0003 stage: simulate
0004 parallel:
0005 matrix:
0006 - PARTICLE: ["e-", "pi-"]
0007 MOMENTUM: [
0008 "100MeV",
0009 "200MeV",
0010 "500MeV",
0011 "1GeV",
0012 "2GeV",
0013 "5GeV",
0014 "10GeV",
0015 "20GeV",
0016 ]
0017 script:
0018 - |
0019 snakemake $SNAKEMAKE_FLAGS --cores 5 listing/backwards_ecal/local/${DETECTOR_CONFIG}/${PARTICLE}/${MOMENTUM}/130to177deg.lst
0020
0021 bench:backwards_ecal:
0022 extends: .det_benchmark
0023 stage: benchmarks
0024 needs:
0025 - ["sim:backwards_ecal"]
0026 script:
0027 - export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
0028 - pip install -r benchmarks/backwards_ecal/requirements.txt
0029 - snakemake $SNAKEMAKE_FLAGS --cores 5 results/backwards_ecal/local
0030
0031 bench:backwards_ecal_campaigns:
0032 extends: .det_benchmark
0033 stage: benchmarks
0034 when: manual
0035 timeout: 4 hours
0036 script:
0037 - export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
0038 - pip install -r benchmarks/backwards_ecal/requirements.txt
0039 - snakemake $SNAKEMAKE_FLAGS --cores 5 results/backwards_ecal/24.10.1
0040
0041 collect_results:backwards_ecal:
0042 extends: .det_benchmark
0043 stage: collect
0044 needs:
0045 - "bench:backwards_ecal"
0046 when: always
0047 script:
0048 - ls -lrht
0049 - mv results{,_save}/ # move results directory out of the way to preserve it
0050 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/backwards_ecal/local
0051 - mv results{_save,}/