CmdStan on IBM Power-9 systems
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- bash, cpp
- 领域
- build-system, cli, compilers
调研方向
首先,在 IBM Power-9 系统上重现 make ../src/models/deaths_and_111_calls 失败的问题,并检查预编译的入口点 bin/stanc。查看链接的 Stan Discourse 帖子及其附带的 PDF,了解手动构建的编译器配置;当 Stan 模型能够在 Power-9 上成功编译,并且在适当情况下记录所需步骤时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Summary:
CmdStan fails to compile models on IBM Power-9 systems.
This issue was previously discussed in the following Stan discourse post, https://discourse.mc-stan.org/t/error-running-cmdstan-on-ibm-power9-system/22060. A step-by-step solution is given in the PDF document attached to the first post - possibly worth adding to the Stan documentation?
Description:
Trying to compile a Stan model on an IBM Power-9 system results in the following error:
make ../src/models/deaths_and_111_calls
--- Translating Stan model to C++ code ---
bin/stanc --o=../src/models/deaths_and_111_calls.hpp ../src/models/deaths_and_111_calls.stan
/bin/bash: bin/stanc: cannot execute binary file
make: *** No rule to make target `../src/models/deaths_and_111_calls.hpp', needed by `../src/models/deaths_and_111_calls'. Stop.
CmdStan is distributed with pre-compiled stanc binary files that were built for x86 architecture, not Power-9. Because of this, we must build and configure the Stan compiler by hand.
Reproducible Steps:
Compile any Stan model on an IBM Power-9 system.
Current Output:
See description,
Expected Output:
A compiled model.
Additional Information:
NA.
Current Version:
Initially v2.23.0, persists v2.27.0
- 主要语言
- C++
- 星标
- 240
- 派生
- 105
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stan-dev/cmdstan 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
-
bug
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
code-cleanup
难度 4/5 3-5 天 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 52/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOS未关闭bug nixos umbriel
难度 2/5 1-3 小时 新手友好度 62/100
noctalia-dev/noctalia#5310 ·
维护者通常 1 天内回复
-
area/docdb kind/bug priority/medium status/awaiting-triage
难度 2/5 1-3 小时 新手友好度 78/100
yugabyte/yugabyte-db#37426 ·
维护者通常 1 天内回复
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printed未关闭
难度 2/5 1-3 小时 新手友好度 68/100
Niko1221/Strata#5693 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
facebookresearch/faiss#5878 ·
维护者通常 2 天内回复