Skip to content

Sweeping !1235 from master to devel: [master] Add dirac-production-request-run-local

LHCbDIRAC Bot requested to merge cherry-pick-2a559c3b8-devel into devel

Following on from !1226 (merged) this adds support for running production requests locally. For now it only supports simulation produtions but that's only because I haven't tested the separation between AnalysisProductions and regular data productions yet.

If you want to try it out, download example-mc-prods.yaml and run:

$ dirac-production-request-run-local example-mc-prods.yaml
# Will complain that you need to specify a production name from the file
$ dirac-production-request-run-local example-mc-prods.yaml 'LbMCSubmit Demo 2017 MagUp'
# Will complain that you need to specify an event type
$ dirac-production-request-run-local example-mc-prods.yaml 'LbMCSubmit Dev 2018 MagDown' 23103006 --num-events 10
# Should work 🎉

BEGINRELEASENOTES

*ProductionManagement NEW: dirac-production-request-run-local command for locally testing YAML-defined production requests

ENDRELEASENOTES

Merge request reports

Loading