From 5dfe66983267e7e20b960bf71ba8ad43a6f5ecf4 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 10 Dec 2024 00:49:41 -0500 Subject: [PATCH] add bench:backwards_ecal_campaigns job, stream from xrootd by defaultwq --- benchmarks/backwards_ecal/Snakefile | 2 +- benchmarks/backwards_ecal/config.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/benchmarks/backwards_ecal/Snakefile b/benchmarks/backwards_ecal/Snakefile index b9b1978..5efaf84 100644 --- a/benchmarks/backwards_ecal/Snakefile +++ b/benchmarks/backwards_ecal/Snakefile @@ -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", diff --git a/benchmarks/backwards_ecal/config.yml b/benchmarks/backwards_ecal/config.yml index 75d8f46..68a183e 100644 --- a/benchmarks/backwards_ecal/config.yml +++ b/benchmarks/backwards_ecal/config.yml @@ -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