setting strategy to mimic rmpi/dompi
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- r
调研方向
首先,将 future::plan 与 Rmpi::mpi.comm.rank 和 parallel::makeCluster 示例进行比较,包括 SLURM_NTASKS 环境变量和 bash 模板方法。未确定任何仓库文件或测试;只有确定并记录了通过 future::plan 重现 rmpi/dompi worker 设置的策略后,工作才算完成。
由索引模型根据 Issue 内容生成。
描述
is there an analogous setting in future::plan for rmpi?
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.
- 主要语言
- R
- 星标
- 87
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
futureverse/future.batchtools 的其他 Issue
-
feature/resources scheduler/lsf
难度 2/5 1-3 小时 新手友好度 68/100
futureverse/future.batchtools#105 ·
-
feature/resources scheduler/sge
难度 4/5 3-5 天 新手友好度 50/100
futureverse/future.batchtools#104 · 1 条评论 ·
-
feature/resources scheduler/slurm
难度 3/5 1-2 天 新手友好度 66/100
futureverse/future.batchtools#103 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
futureverse/future.batchtools#102 ·
-
难度 4/5 3-5 天 新手友好度 15/100
查看 futureverse/future.batchtools 的全部 Issue
相似的 Issue
-
Write an exception for delayed NYC data only可能已有人在做 @kaitejohnson 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
New `filter_out()` requires dplyr >= 1.2.0可能已有人在做 @jameslairdsmith 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 74/100
-
难度 1/5 1 小时以内 新手友好度 78/100