Proper Locking

未关闭
#809 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@JBlaschke 已经在做这个了。

开始于 2024年1月23日。

评估

这个 Issue 还没有评估数据。

描述

Following our discussion in the HPC call, there is a need for Julia to manage locks when calling into MPI. The thinking so far is:

  • Currently MPI.jl defaults to THREAD_SERIALIZE, but we expect the user to guarantee serial access into MPI functions:
  • The current solution is problematic because we're using c-locks to lock out Julia threads. The better solution is to manage locks for Julia threads from Julia. This will make things easier for things like: Cooperative_waitall / cooperative_waitany

Open questions:

  • Look at the MPI standard: Should lock be on communicator level? Or for MPI in its entirety?

Tagging: @vchuravy @eschnett @simonbyrne

主要语言
Julia
星标
441
派生
129
平均合并
50 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaParallel/MPI.jl 的其他 Issue

查看 JuliaParallel/MPI.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。