From e47d674fa39c42f66413ffbc7d567846c559cc1f Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Fri, 21 Oct 2022 19:54:20 +0000 Subject: [PATCH] fix: run parallel again to avoid directory changes --- benchmarks/single/config.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/benchmarks/single/config.yml b/benchmarks/single/config.yml index f040cdca..0e5167fb 100644 --- a/benchmarks/single/config.yml +++ b/benchmarks/single/config.yml @@ -16,11 +16,35 @@ single:simulate: angle: ['3to45deg', '45to135deg', '135to177deg'] script: - bash benchmarks/single/simulate.sh ${particle}_${energy}_${angle} + +single:reconstruct: + extends: .phy_benchmark + timeout: 2 hours + stage: reconstruct + needs: ["single:simulate"] + parallel: + matrix: + - particle: ['e-', 'pi-'] + energy: ['1GeV'] + angle: ['3to45deg', '45to135deg', '135to177deg'] + script: - bash benchmarks/single/reconstruct.sh ${particle}_${energy}_${angle} + +single:analyze: + extends: .phy_benchmark + timeout: 2 hours + stage: analyze + needs: ["single:reconstruct", "single:compile"] + parallel: + matrix: + - particle: ['e-', 'pi-'] + energy: ['1GeV'] + angle: ['3to45deg', '45to135deg', '135to177deg'] + script: - bash benchmarks/single/analyze.sh ${particle}_${energy}_${angle} single:results: stage: collect - needs: ["single:simulate"] + needs: ["single:analyze"] script: - ls -al -- GitLab