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.tree.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 script:
0027 - ls -lrht
0028 - mv results{,_save}/ # move results directory out of the way to preserve it
0029 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output lfhcal_local
0030 - mv results{_save,}/
0031
0032 bench:lfhcal_campaigns:
0033 extends: .det_benchmark
0034 stage: benchmarks
0035 #when: manual
0036 script:
0037 - snakemake $SNAKEMAKE_FLAGS --cores 1 lfhcal_campaigns
0038
0039 collect_results:lfhcal_campaigns:
0040 extends: .det_benchmark
0041 stage: collect
0042 needs:
0043 - "bench:lfhcal_campaigns"
0044 script:
0045 - ls -lrht
0046 - mv results{,_save}/ # move results directory out of the way to preserve it
0047 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output lfhcal_campaigns
0048 - mv results{_save,}/