Warning, /detector_benchmarks/benchmarks/lfhcal/config.yml is written in an unsupported language. File is not indexed.
0001 sim:lfhcal:
0002 extends: .det_benchmark
0003 stage: simulate
0004 parallel:
0005 matrix:
0006 - PARTICLE: ["gamma", "neutron", "pi-"]
0007 MOMENTUM: ["500MeV", "1GeV", "2GeV", "5GeV", "10GeV", "20GeV"]
0008 script:
0009 - |
0010 snakemake --cache --cores 5 \
0011 sim_output/lfhcal/epic_craterlake/${PARTICLE}/${MOMENTUM}/3to50deg/${PARTICLE}_${MOMENTUM}_3to50deg.0000.eicrecon.edm4eic.root
0012
0013 bench:lfhcal:
0014 extends: .det_benchmark
0015 stage: benchmarks
0016 needs:
0017 - ["sim:lfhcal"]
0018 script:
0019 - snakemake $SNAKEMAKE_FLAGS --cores 3 lfhcal_local
0020
0021 collect_results:lfhcal:
0022 extends: .det_benchmark
0023 stage: collect
0024 needs:
0025 - "bench:lfhcal"
0026 when: always
0027 script:
0028 - ls -lrht
0029 - mv results{,_save}/ # move results directory out of the way to preserve it
0030 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output lfhcal_local
0031 - mv results{_save,}/
0032
0033 bench:lfhcal_campaigns:
0034 extends: .det_benchmark
0035 stage: benchmarks
0036 #when: manual
0037 script:
0038 - snakemake $SNAKEMAKE_FLAGS --cores 1 lfhcal_campaigns
0039
0040 collect_results:lfhcal_campaigns:
0041 extends: .det_benchmark
0042 stage: collect
0043 needs:
0044 - "bench:lfhcal_campaigns"
0045 when: always
0046 script:
0047 - ls -lrht
0048 - mv results{,_save}/ # move results directory out of the way to preserve it
0049 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output lfhcal_campaigns
0050 - mv results{_save,}/