Expected? cmdstan considers binary up-to-date when make is run with different build args
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- build-system, cli
調査の方向性
まず CmdStan Guide の dependencies anchor にある「compiling Stan programs」セクションから始め、次に issue にある2つの bernoulli make コマンドを実行し、make/local を編集した後の動作を比較します。STAN_THREADS、STAN_OPENCL、または make/local の変更によって再コンパイルが発生すべきかを明確にし、期待される動作を文書化します。
索引モデルが issue の本文から書いたものです。
説明
Summary:
cmdstan does not automatically recompile a model when build args change. If this is expected, would be good to document.
Description:
Doc states
If the you call Make with target bernoulli twice in a row, without any editing bernoulli.stan or otherwise changing the system, on the second invocation, Make will determine that the executable is already newer than the Stan source file and will not recompile the program:
It's unclear whether changing a build arg such as STAN_THREADS or STAN_OPENCL constitutes "otherwise changing the system". Would be good to clarify this.
Reproducible Steps:
make examples/bernoulli/bernoulli
STAN_THREADS=true make examples/bernoulli/bernoulli
I got the same behavior editing make/local.
Current Output:
make: 'examples/bernoulli/bernoulli' is up to date.
Expected Output:
Describe what you expect the output to be. Knowing the correct behavior is also very useful.
Additional Information:
Related cmdstanr discussions:
https://github.com/stan-dev/cmdstanr/issues/1019
https://github.com/stan-dev/cmdstanr/pull/1022
Current Version:
v2.35.0
- 主要言語
- C++
- スター
- 240
- フォーク
- 105
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stan-dev/cmdstan のほかの issue
-
Release CmdStan 2.40オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
code-cleanup
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
diagnose exit codeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
stan-dev/cmdstan の issue をすべて見る
似ている 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 日以内に返信