Skip to main content

LbProdRun

LbProdRun provides a stable interface that can be used by LHCbDIRAC for configuring and launching LHCb's various software applications. In order to generate simulated data and reproduce legacy reprocessing it is necessary for LHCbDIRAC to be able to configure applications dating back to 2011. Previously this was handled by the ProdConf data package however changes to the Run 3 software stack caused ProdConf is not longer generic enough. Instead LbProdRun provides a CLI application (lb-prod-run) which is passed a single JSON file as it's argument. This file contains all of the required information to run an LHCb application and hides the details of configuring the application away from LHCbDIRAC.

Usage

$ lb-prod-run prodspec_DaVinci_00145918_00000004_1.json
# Check the configuration is valid and print the command that would be ran
$ lb-prod-run prodspec_DaVinci_00145918_00000004_1.json --dry-run --verbose

Version 1 schema

The most minimal configuration file that can be passed to version 1 of the schema is:

{"spec_version": 1,
 "application": {"name": "DaVinci", "version": "v45r8"},
 "options": {"files": ["$APPCONFIGOPTS/my-options-file.py"]},
 "output": {"prefix": "00145918_00000004_1", "types": ["d02hhll.strip.mdst"]}}

When parsing this is padded with the default values:

{"application": {"binary_tag": "best",
                 "data_pkgs": [],
                 "event_timeout": null,
                 "name": "DaVinci",
                 "number_of_processors": 1,
                 "version": "v45r8"},
 "db_tags": {"conddb_tag": null, "dddb_tag": null, "dq_tag": null},
 "input": {"files": null,
           "first_event_number": null,
           "n_of_events": -1,
           "run_number": null,
           "tck": null,
           "xml_file_catalog": null,
           "xml_summary_file": null},
 "options": {"files": ["$APPCONFIGOPTS/my-options-file.py"],
             "format": null,
             "gaudi_extra_options": null,
             "processing_pass": null},
 "output": {"histogram_file": null,
            "prefix": "00145918_00000004_1",
            "types": ["d02hhll.strip.mdst"]}}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lbprodrun-1.12.5.tar.gz (855.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lbprodrun-1.12.5-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file lbprodrun-1.12.5.tar.gz.

File metadata

  • Download URL: lbprodrun-1.12.5.tar.gz
  • Upload date:
  • Size: 855.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for lbprodrun-1.12.5.tar.gz
Algorithm Hash digest
SHA256 a8bd37fce8331545b8d606e5499f33d2a152d93ce0c16abd63b67c67f468bc9f
MD5 e0e346166444005029d9d4a5616a4ef3
BLAKE2b-256 d0510d2322d299f88b727949b603f2ad3aceab9d4c16dfbc577ee338128571a8

See more details on using hashes here.

File details

Details for the file lbprodrun-1.12.5-py3-none-any.whl.

File metadata

  • Download URL: lbprodrun-1.12.5-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for lbprodrun-1.12.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1545b53dbe13fa08e06223dabff52bb2fbeadc4e8d3dba3fe94faffd0eaf6bdf
MD5 9e0bd36f071ef9b4b6519774f6aab069
BLAKE2b-256 2c5788ca478320a778ed120a21abb4c2871fd2bb6d97d383e3b9d7c0afce6fbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page