将 OpenMPI 或 MPICH 与 Boost MPI 一起使用 Win 和 Linux 机器

发布于 2024-09-25 08:41:32 字数 330 浏览 0 评论 0原文

这些天我正在接近MPI世界。我愿意将 Boost MPI 库与 OpenMPI 或 MPICH 一起使用(即使使用 MPICH ,我仍然不确定它是否能正常工作,因为我读过一些帖子)。

我真正的问题是:有了这两个库和其上的 Boost MPI,是否可以结合 Linux 机器和 Windows 机器的资源?

我还不清楚使用 MPI 是否意味着能够在具有相同操作系统的远程计算机上启动进程。原则上MPI是一个建立在通信协议之上的消息系统,因此通信时对操作系统没有太多依赖。

您了解这个主题吗?或者你们中的一些人已经尝试过在 Win 和 Linux 计算机上使用 MPI?

谢谢 环氧乙烷

These days I am approaching MPI world. I am willing to use Boost MPI libraries probably with OpenMPI or MPICH ( even if with MPICH still I am not sure whether it will work fine because of some post I read around ).

My real question is the following: with these 2 libraries and Boost MPI on top of it, is it possible to combine resources of Linux machines and Windows machines?

It is not yet clear to me whether using MPI means being able to start processes on remote machines having the same operating system. In principle MPI it is a messaging system on top of a communication protocol, so there is not much dependency on OS while communication.

Do you know something about this topic or some of you have already tried to use MPI with Win and Linux machines?

Thanks
EO

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吻安 2024-10-02 08:41:32

我对 Boost MPI 层了解不多,但肯定可以在 Linux 和 Windows 机器上同时使用 MPICH2。在这种情况下,您必须使用 MPICH2 的相同“变体”,并且必须在每种情况下使用“smpd”进程管理器(这是 Windows 上的唯一选项,但不是 Linux 上的默认选项)。

但是,通常不建议在具有不同性能特征的计算机上运行 MPI 作业,因为应用程序通常会受到最慢处理器的限制。我们还注意到 Linux 和 Windows 上的 MPICH2 之间存在显着的性能差异,因此即使硬件相同,MPI 性能也可能不同。

I don't know much about the Boost MPI layer, but it is definitely possible to use MPICH2 with Linux and Windows machines simultaneously. In this case, you must use the same "variant" of MPICH2, and you must use the "smpd" process manager in each case (this is the only option on Windows, but it is not the default on Linux).

However, it's generally not advisable to run MPI jobs across machines with different performance characteristics, as typically the application will be limited by the slowest processor. We've also noticed significant performance differences between MPICH2 on Linux and Windows, so even if the hardware is identical, the MPI performance may well be different.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文