futureverse / futureverse/future.batchtools

setting strategy to mimic rmpi/dompi

オープン
#40 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
R
スター
87
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

is there an analogous setting in future::plan for rmpi?

```r
library(parallel)
hello_world <- function() {
## Print the hostname and MPI worker rank.
paste(Sys.info()["nodename"],Rmpi::mpi.comm.rank(), sep = ":")
}

cl <- makeCluster(Sys.getenv()["SLURM_NTASKS"], type = "MPI")
clusterCall(cl, hello_world)
stopCluster(cl)
```

where the plan is set on the workers and the call to slurm/grid is done via bash template.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、SLURM_NTASKS 環境変数と bash テンプレート方式を含め、future::plan を Rmpi::mpi.comm.rank および parallel::makeCluster の例と比較します。リポジトリのファイルもテストも特定されていません。完了には、future::plan を通じて rmpi/dompi のワーカー設定を再現するための、決定済みで文書化された戦略が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
r
領域
distributed-systems, hpc
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。