CLI用于从LHCbDIRAC运行LHCb应用程序
项目描述
LbProdRun
LbProdRun为LHCbDIRAC提供了一个稳定的接口,可用于配置和启动LHCb的各种软件应用程序。为了生成模拟数据和重现遗留的重处理,LHCbDIRAC必须能够配置回溯到2011年的应用程序。以前这由ProdConf
数据包处理,但由于对3号运行软件栈的更改,ProdConf
不再足够通用。相反,LbProdRun
提供了一个命令行应用程序(lb-prod-run
),它接受一个JSON文件作为参数。该文件包含运行LHCb应用程序所需的所有信息,并将应用程序配置的细节隐藏起来。
用法
$ 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
版本1架构
可以传递给版本1架构的最小配置文件是
{"spec_version": 1,
"application": {"name": "DaVinci", "version": "v45r8"},
"options": {"files": ["$APPCONFIGOPTS/my-options-file.py"]},
"output": {"prefix": "00145918_00000004_1", "types": ["d02hhll.strip.mdst"]}}
在解析时,将填充默认值
{"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"]}}
项目详细信息
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分发
lbprodrun-1.7.0.tar.gz (30.5 kB 查看散列)
构建分发
LbProdRun-1.7.0-py3-none-any.whl (21.2 kB 查看散列)