English 中文(简体)
OpenMPI 节点和网络布局
原标题:OpenMPI node & network topology

i am currently building a small utility library as part of a larger project. OpenMPI has a well documented API library but i am a little puzzled when it comes to the lower level communication between nodes. I know that when writing your algorithm, you distribute it across all nodes that are expected to do the computation each communicating with the rest, executing portion of the algorithm based on their "global" MPI rank (as defined in the algorithm), and all the nodes synchronize back and forth. However, the reason i placed global in quotes is, does openMPI communicate on the ip level, hence say that i already have a long executing algorithm, but there is a node that is idling, not running any MPI processes, if i execute my MPI algorithm on it, will it join the MPI_COMM_WORLD and become part of the overall network topology or is there some "voodoo" i need to do to make that node part of the MPI_COMM_WORLD. also, if nodes can become part of MPI_COMM_WORLD for that particular algorithm, how can i register/identify this new node?

任何阅读引用也是有益的。

非常感谢!

tl; dr 可从 MPI_ COMM_WORLD 中获取 MPI 节点热线吗?

最佳回答

一旦通信器创建后, 您无法将节点加入到通信器中。 对于只是预设的通信器的 < code> MPI_ COMM_ WORLD < /code> 来说, 也属于这种情况。 只有作为SPMD 初始发射的一部分而启动的进程才成为 < code> MPI_ COMM_ WORLD 的一部分。 但是, 您可以使用MPI-2 进程管理设施生成额外的进程, 详情见 http://www.mpi-forum.org/docs/mpi22-report/node201.htm" rel=“nofollow” > 10章 < /a] 当前 MPI Standard 2. 2 版本第10版描述的 章 < href=" 。

新产卵过程有自己的 MPI_COMM_WORLD ,初始组别的过程只能通过一个特殊的 < strong > intercommunictor ( MPI_COMM_WORLD 是 < strong > intercommunication ) 来与它们沟通。由于产卵作业返回的产卵过程是一个集体操作,因此,由于产卵过程是一个集体操作,因此 MPI_COMM_WORLD 中的所有过程都将获得该相互连接器的把手。

MPI 3.0 (当它迟早退出时) 将带来断层容度, 从而可以排除/ 消除 < code> MPI_ COMM_ WORLD (或任何其他通讯器) 的错误过程, 而 MPI 3. 1 最终将带来能够替换错误过程的东西 。

问题回答

暂无回答




相关问题
Fastest method for running a binary search on a file in C?

For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Trying to split by two delimiters and it doesn t work - C

I wrote below code to readin line by line from stdin ex. city=Boston;city=New York;city=Chicago and then split each line by ; delimiter and print each record. Then in yet another loop I try to ...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

Encoding, decoding an integer to a char array

Please note that this is not homework and i did search before starting this new thread. I got Store an int in a char array? I was looking for an answer but didn t get any satisfactory answer in the ...

热门标签