RECAST for ATLAS at the LHC
项目描述
RECAST for ATLAS
ATLAS工具,用于将ATLAS分析集成到RECAST
入门指南
安装
recast-atlas
可以通过在Python虚拟环境中使用pip
从PyPI安装
python -m pip install recast-atlas
CLI API
recast-atlas
命令行界面(CLI)API
$ recast --help
Usage: recast [OPTIONS] COMMAND [ARGS]...
Options:
-l, --loglevel TEXT
--help Show this message and exit.
Commands:
auth Authentication Commands (to gain access to internal data)
backends The RECAST computational backends.
catalogue The RECAST Analysis Catalogue
ci Helper Commands for CI systems
retrieve Retrieve RECAST Results from asynchronous submissions
run Run a RECAST Workflow synchronously
software Build Container Images for RECAST
status Get the Status of a asynchronous submission
submit Submit a RECAST Workflow asynchronously
tests Run a test
运行 RECAST
recast-atlas
旨在实现本地执行以及 REANA 集群上的异步执行。
Docker 后端
示例:使用(默认)docker
后端运行来自 ATLAS Exotics Rome Workshop 2018 的 示例。
从 PyPI 安装 recast-atlas
python -m pip install --upgrade recast-atlas coolname
将 RECAST 工作流提交到 recast/recastatlas
Docker 容器中进行编排
recast run examples/rome --backend docker --tag "docker-$(coolname 2)"
本地后端
示例:使用 local
后端运行来自 ATLAS Exotics Rome Workshop 2018 的 示例。
使用 local
附加组件安装 recast-atlas
python -m pip install --upgrade 'recast-atlas[local]' coolname
将 RECAST 工作流提交到本地运行
PACKTIVITY_DOCKER_CMD_MOD="-u root" recast run examples/rome --backend local --tag "local-$(coolname 2)"
local
后端在本地编排工作流图,但请注意,不同的工作流步骤仍在 Linux 容器中运行。
REANA 集群后端
示例:使用 reana
后端异步运行来自 ATLAS Exotics Rome Workshop 2018 的 示例。
使用 reana
附加组件安装 recast-atlas
python -m pip install --upgrade 'recast-atlas[reana]' coolname
使用 REANA 集群进行认证(记得之后使用 eval $(recast auth destroy)
清理)
# Set these variables to your personal secret values
export RECAST_AUTH_USERNAME="<your RECAST auth username>"
export RECAST_AUTH_PASSWORD="<your RECAST auth password>"
export RECAST_AUTH_TOKEN="<your RECAST auth token>"
eval "$(recast auth setup -a ${RECAST_AUTH_USERNAME} -a ${RECAST_AUTH_PASSWORD} -a ${RECAST_AUTH_TOKEN} -a default)"
eval "$(recast auth write --basedir authdir)"
export REANA_SERVER_URL=https://reana.cern.ch
export REANA_ACCESS_TOKEN="<your RECAST access token>"
将 RECAST 工作流提交到 REANA 集群
reana_tag="reana-$(coolname 2)"
recast submit examples/rome --backend reana --tag "${reana_tag}"
# REANA_WORKON sets the workflow automatically
export REANA_WORKON="recast-${reana_tag}"
在 REANA 上监控工作流的状态
reana-client status
# or if REANA_WORKON not set
# reana-client status --workflow "<the created tag>"
在 examples/rome
示例中没有结果文件,但如果有的话,在工作流成功后可以下载结果
reana-client download --output-directory output
# or if REANA_WORKON not set
# reana-client download --workflow "<the created tag>" --output-directory output
清理环境变量中的个人信息公开
eval $(recast auth destroy)
在 LXPLUS9 上
ssh lxplus9.cern.ch
source ~recast/public/setup.sh
recast catalogue ls
recast run examples/rome
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪一个,请了解有关 安装包 的更多信息。
源分布
recast_atlas-0.4.2.tar.gz (22.3 kB 查看哈希值)
构建分布
recast_atlas-0.4.2-py3-none-any.whl (31.8 kB 查看哈希值)
关闭
recast_atlas-0.4.2.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 9363db9d7b6adca3d1080dbc16920264f1f8181c5cf1c7d6db0a438a1dba21f84 |
|
MD5 | 04e0da82a9605d55d391ddcaa0e4e791 |
|
BLAKE2b-256 | e0304e3157f8f7b4e02f49ef924707067197a4fd249cb7d755b7e60f263b3184 |
关闭
recast_atlas-0.4.2-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | fde9694431f1f78e971a4a9021e281046c150fcf480deb60785834a2498c2f7b |
|
MD5 | ea91a2acf0cb7dfd0c065da2407eeb1e |
|
BLAKE2b-256 | 9e28fcd99c651234a2e588648e99a4e763dc04a05fbef98ab45018076d24a5ef |