Skip to content

Commit

Permalink
add bench:backwards_ecal_campaigns job, stream from xrootd by defaultwq
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Dec 10, 2024
1 parent cfb458c commit 5dfe669
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/backwards_ecal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rule backwards_ecal_local_sim_list:
fp.write("\n".join(input))


if False:
if config.get("stream_from_xrootd", True) not in [False, "", "0", "false"]:
rule backwards_ecal_campaign_sim_list:
output:
"listing/backwards_ecal/{CAMPAIGN}/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}.lst",
Expand Down
10 changes: 10 additions & 0 deletions benchmarks/backwards_ecal/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ bench:backwards_ecal:
- pip install -r benchmarks/backwards_ecal/requirements.txt
- snakemake $SNAKEMAKE_FLAGS --cores 1 results/backwards_ecal/local

bench:backwards_ecal_campaigns:
extends: .det_benchmark
stage: benchmarks
when: manual
timeout: 4 hours
script:
- export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
- pip install -r benchmarks/backwards_ecal/requirements.txt
- snakemake $SNAKEMAKE_FLAGS --cores 1 results/backwards_ecal/24.10.1

collect_results:backwards_ecal:
extends: .det_benchmark
stage: collect
Expand Down

0 comments on commit 5dfe669

Please sign in to comment.