parallel-processing - 如何使用 mpirun 并行运行 6 个进程?
问题描述
我收到了这个错误
It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).
虽然我使用 MPI 运行 6 个进程,因为我只有 6 个内核并行使用此命令
mpirun -np 6 my_command
带 2060 RTX 的笔记本电脑
解决方案
看起来您的代码没有调用该MPI_Init()
函数。也许您可以分享您的代码或在简单的 hello world 上重现错误(例如此处)?
推荐阅读
- c# - 如何在我的 T4 模板中嵌入图像?
- linux - 没有密码的签名 rpm
- javascript - 将字体真棒图标动态添加到 SVG 文本元素
- raspberry-pi - Proteus 中的树莓派
- typescript - Typescript 或 TSlint 可以对隐式类型转换发出警告吗
- angular - 我已经为我的后端 ASP.NET Core Web api 为本地主机创建了 SSL/TLS 证书,我可以与我的前端 Angular 应用程序共享它吗?
- sharepoint-online - SharePoint Online(现代视图)自定义(列表表单 - NewForm.aspx 等)
- docker - 如何查看在 docker 容器中创建的文件?
- r - RShiny - 有时不显示结果
- python - Tensorflow 使用 python 在 windows 中将 .pb 文件转换为 .lite 文件