CLI for running LHCb applications from LHCbDIRAC
Project description
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"]}}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file LbProdRun-1.1.0.tar.gz
.
File metadata
- Download URL: LbProdRun-1.1.0.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5712e2a2545a1e86ad868b01319a4936fe61987ec7eae3a062ae2add0802e60 |
|
MD5 | 15d9fc10135a392526126c2c6622dd03 |
|
BLAKE2b-256 | 83dcf1efd864d4600d427b4b2317797ceb5746b8ddeab7e3ce40e803f8321938 |
File details
Details for the file LbProdRun-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: LbProdRun-1.1.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b866d8cd507eb1311d162d78f373633404177d5cfd52a30096f2c4f111b1d33b |
|
MD5 | d1b0e3e0156e2ff4b1898157f33582d3 |
|
BLAKE2b-256 | 0af8a98d5f6d3cff928c8b7649e6a20935c0dbf1da7f38724d069a380067a4c7 |