Skip to content

Commit dd3248d

Browse files
committed
add panda benchmark
1 parent 00f6827 commit dd3248d

3 files changed

Lines changed: 105 additions & 65 deletions

File tree

.gitlab-ci.yml

Lines changed: 67 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -124,76 +124,78 @@ common:setup:
124124
- runner_system_failure
125125

126126
include:
127-
- local: 'benchmarks/backgrounds/config.yml'
128-
- local: 'benchmarks/backwards_ecal/config.yml'
129-
- local: 'benchmarks/beamline/config.yml'
130-
- local: 'benchmarks/calo_pid/config.yml'
131-
- local: 'benchmarks/campaign/config.yml'
132-
- local: 'benchmarks/ecal_gaps/config.yml'
133-
- local: 'benchmarks/far_forward_dvcs/config.yml'
134-
- local: 'benchmarks/lowq2_reconstruction/config.yml'
135-
- local: 'benchmarks/secondary_vertexing_dis/config.yml'
136-
- local: 'benchmarks/tracking_detectors/config.yml'
137-
- local: 'benchmarks/tracking_performances/config.yml'
138-
- local: 'benchmarks/tracking_performances_dis/config.yml'
139-
- local: 'benchmarks/barrel_ecal/config.yml'
140-
- local: 'benchmarks/lfhcal/config.yml'
141-
- local: 'benchmarks/zdc/config.yml'
142-
- local: 'benchmarks/zdc_lyso/config.yml'
143-
- local: 'benchmarks/zdc_neutron/config.yml'
144-
- local: 'benchmarks/zdc_photon/config.yml'
145-
- local: 'benchmarks/zdc_pi0/config.yml'
146-
- local: 'benchmarks/material_scan/config.yml'
147-
- local: 'benchmarks/pid/config.yml'
148-
- local: 'benchmarks/rich/config.yml'
149-
- local: 'benchmarks/b0_tracker/config.yml'
150-
- local: 'benchmarks/insert_muon/config.yml'
151-
- local: 'benchmarks/insert_tau/config.yml'
152-
- local: 'benchmarks/zdc_sigma/config.yml'
153-
- local: 'benchmarks/zdc_lambda/config.yml'
154-
- local: 'benchmarks/insert_neutron/config.yml'
155-
- local: 'benchmarks/femc_electron/config.yml'
156-
- local: 'benchmarks/femc_photon/config.yml'
157-
- local: 'benchmarks/femc_pi0/config.yml'
158-
- local: 'benchmarks/nhcal_acceptance/config.yml'
159-
- local: 'benchmarks/nhcal_basic_distribution/config.yml'
127+
#- local: 'benchmarks/backgrounds/config.yml'
128+
#- local: 'benchmarks/backwards_ecal/config.yml'
129+
#- local: 'benchmarks/beamline/config.yml'
130+
#- local: 'benchmarks/calo_pid/config.yml'
131+
#- local: 'benchmarks/campaign/config.yml'
132+
#- local: 'benchmarks/ecal_gaps/config.yml'
133+
#- local: 'benchmarks/far_forward_dvcs/config.yml'
134+
#- local: 'benchmarks/lowq2_reconstruction/config.yml'
135+
- local: 'benchmarks/panda/config.yml'
136+
#- local: 'benchmarks/secondary_vertexing_dis/config.yml'
137+
#- local: 'benchmarks/tracking_detectors/config.yml'
138+
#- local: 'benchmarks/tracking_performances/config.yml'
139+
#- local: 'benchmarks/tracking_performances_dis/config.yml'
140+
#- local: 'benchmarks/barrel_ecal/config.yml'
141+
#- local: 'benchmarks/lfhcal/config.yml'
142+
#- local: 'benchmarks/zdc/config.yml'
143+
#- local: 'benchmarks/zdc_lyso/config.yml'
144+
#- local: 'benchmarks/zdc_neutron/config.yml'
145+
#- local: 'benchmarks/zdc_photon/config.yml'
146+
#- local: 'benchmarks/zdc_pi0/config.yml'
147+
#- local: 'benchmarks/material_scan/config.yml'
148+
#- local: 'benchmarks/pid/config.yml'
149+
#- local: 'benchmarks/rich/config.yml'
150+
#- local: 'benchmarks/b0_tracker/config.yml'
151+
#- local: 'benchmarks/insert_muon/config.yml'
152+
#- local: 'benchmarks/insert_tau/config.yml'
153+
#- local: 'benchmarks/zdc_sigma/config.yml'
154+
#- local: 'benchmarks/zdc_lambda/config.yml'
155+
#- local: 'benchmarks/insert_neutron/config.yml'
156+
#- local: 'benchmarks/femc_electron/config.yml'
157+
#- local: 'benchmarks/femc_photon/config.yml'
158+
#- local: 'benchmarks/femc_pi0/config.yml'
159+
#- local: 'benchmarks/nhcal_acceptance/config.yml'
160+
#- local: 'benchmarks/nhcal_basic_distribution/config.yml'
160161

161162
deploy_results:
162163
allow_failure: true
163164
stage: deploy
164165
needs:
165-
- "collect_results:backgrounds"
166-
- "collect_results:backwards_ecal"
167-
- "collect_results:barrel_ecal"
168-
- "collect_results:beamline"
169-
- "collect_results:calo_pid"
170-
- "collect_results:campaign"
171-
- "collect_results:ecal_gaps"
172-
- "collect_results:far_forward_dvcs"
173-
- "collect_results:lfhcal"
174-
- "collect_results:lowq2_reconstruction"
175-
- "collect_results:material_scan"
176-
- "collect_results:pid"
177-
- "collect_results:rich"
178-
- "collect_results:secondary_vertexing_dis"
179-
- "collect_results:tracking_performance"
180-
- "collect_results:tracking_performance_campaigns"
181-
- "collect_results:zdc_sigma"
182-
- "collect_results:zdc_lambda"
183-
- "collect_results:insert_neutron"
184-
- "collect_results:tracking_performances_dis"
185-
- "collect_results:zdc"
186-
- "collect_results:zdc_lyso"
187-
- "collect_results:zdc_neutron"
188-
- "collect_results:insert_muon"
189-
- "collect_results:insert_tau"
190-
- "collect_results:zdc_photon"
191-
- "collect_results:zdc_pi0"
192-
- "collect_results:femc_electron"
193-
- "collect_results:femc_photon"
194-
- "collect_results:femc_pi0"
195-
- "collect_results:nhcal_acceptance"
196-
- "collect_results:nhcal_basic_distribution"
166+
#- "collect_results:backgrounds"
167+
#- "collect_results:backwards_ecal"
168+
#- "collect_results:barrel_ecal"
169+
#- "collect_results:beamline"
170+
#- "collect_results:calo_pid"
171+
#- "collect_results:campaign"
172+
#- "collect_results:ecal_gaps"
173+
#- "collect_results:far_forward_dvcs"
174+
#- "collect_results:lfhcal"
175+
#- "collect_results:lowq2_reconstruction"
176+
- "collect_results:panda"
177+
#- "collect_results:material_scan"
178+
#- "collect_results:pid"
179+
#- "collect_results:rich"
180+
#- "collect_results:secondary_vertexing_dis"
181+
#- "collect_results:tracking_performance"
182+
#- "collect_results:tracking_performance_campaigns"
183+
#- "collect_results:zdc_sigma"
184+
#- "collect_results:zdc_lambda"
185+
#- "collect_results:insert_neutron"
186+
#- "collect_results:tracking_performances_dis"
187+
#- "collect_results:zdc"
188+
#- "collect_results:zdc_lyso"
189+
#- "collect_results:zdc_neutron"
190+
#- "collect_results:insert_muon"
191+
#- "collect_results:insert_tau"
192+
#- "collect_results:zdc_photon"
193+
#- "collect_results:zdc_pi0"
194+
#- "collect_results:femc_electron"
195+
#- "collect_results:femc_photon"
196+
#- "collect_results:femc_pi0"
197+
#- "collect_results:nhcal_acceptance"
198+
#- "collect_results:nhcal_basic_distribution"
197199
script:
198200
- snakemake $SNAKEMAKE_FLAGS --cores 1 results/metadata.json
199201
- find results -print | sort | tee summary.txt

benchmarks/panda/config.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
bench:panda:
2+
#extends: .det_benchmark
3+
stage: benchmarks
4+
script:
5+
- python -m venv .venv
6+
- source .venv/bin/activate
7+
- pip install -r benchmarks/panda/requirements.txt
8+
- source .venv/etc/panda/panda_setup.sh
9+
- mkdir ~/.pathena
10+
- echo "$PANDA_TOKEN" > ~/.pathena/.token
11+
- '[[ ! -z "$PANDACACHE_URL" ]] || die "PANDACACHE_URL is not set"'
12+
- '[[ ! -z "$PANDAMON_URL" ]] || die "PANDAMON_URL is not set"'
13+
- '[[ ! -z "$PANDA_AUTH" ]] || die "PANDA_AUTH is not set"'
14+
- '[[ ! -z "$PANDA_AUTH_VO" ]] || die "PANDA_AUTH_VO is not set"'
15+
- '[[ ! -z "$PANDA_NICKNAME" ]] || die "PANDA_NICKNAME is not set"'
16+
- '[[ ! -z "$PANDA_TOKEN" ]] || die "PANDA_TOKEN is not set"'
17+
- '[[ ! -z "$PANDA_URL" ]] || die "PANDA_URL is not set"'
18+
- '[[ ! -z "$PANDA_URL" ]] || die "PANDA_URL is not set"'
19+
- '[[ ! -z "$PANDA_URL_SSL" ]] || die "PANDA_URL_SSL is not set"'
20+
- '[[ ! -z "$PANDA_VO" ]] || die "PANDA_VO is not set"'
21+
- |
22+
prun \
23+
--vo "${PANDA_VO}" \
24+
--workingGroup "${PANDA_AUTH_VO}" \
25+
--noBuild \
26+
--exec "pwd; ls; echo Hello-world > myout.txt" \
27+
--outDS "user.${PANDA_NICKNAME}.eicweb-${CI_PIPELINE_ID}-${CI_JOB_ID}" \
28+
--nJobs 1 \
29+
--output myout.txt
30+
31+
collect_results:panda:
32+
extends: .det_benchmark
33+
stage: collect
34+
needs:
35+
- ["bench:panda"]
36+
script:
37+
- ls -lrht

benchmarks/panda/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
panda-client

0 commit comments

Comments
 (0)