Warning, /detector_benchmarks/benchmarks/insert_neutron/config.yml is written in an unsupported language. File is not indexed.
0001 sim:insert_neutron:
0002 extends: .det_benchmark
0003 stage: simulate
0004 allow_failure: true # snooze until https://github.com/eic/detector_benchmarks/issues/257
0005 parallel:
0006 matrix:
0007 - P: 20
0008 - P: 30
0009 - P: 40
0010 - P: 50
0011 - P: 60
0012 - P: 70
0013 - P: 80
0014 script:
0015 - snakemake $SNAKEMAKE_FLAGS --cores $MAX_CORES_PER_JOB sim_output/insert_neutron/epic_craterlake_rec_neutron_${P}GeV_{0,1,2,3,4}.edm4eic.root
0016 retry:
0017 max: 2
0018 when:
0019 - runner_system_failure
0020
0021 bench:insert_neutron:
0022 extends: .det_benchmark
0023 allow_failure: true # https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/5885546
0024 stage: benchmarks
0025 needs: ["sim:insert_neutron"]
0026 script:
0027 - snakemake $SNAKEMAKE_FLAGS --cores 1 results/epic_craterlake/insert_neutron
0028
0029 collect_results:insert_neutron:
0030 extends: .det_benchmark
0031 allow_failure: true # https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/5885547
0032 stage: collect
0033 needs: ["bench:insert_neutron"]
0034 when: always
0035 script:
0036 - ls -al
0037 - mv results{,_save}/ # move results directory out of the way to preserve it
0038 - snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output results/epic_craterlake/insert_neutron
0039 - mv results{_save,}/