Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2218 Discussions

How communication between ranks works?

Carlos_Alexandre_T_
552 Views

Example of hipo cluster : 

"Node 1" -> 4 cores so [0,4[ rank

"Node 2" -> 4 cores so [4,8[ rank

So rank = 0 would be first core in Node 1

In a situation like Core #5 wants to send a message to Core #6

which are both in "Node 2"

What happens?

I hope Core 5 doesn't sends its message to Rank #0 in "Node 1" that sends it back to Core #6.

So how does it works?

0 Kudos
1 Reply
TimP
Honored Contributor III
552 Views

Ranks within a node can exchange messages directly.  Usually, you would have enabled shm (a normal default) so that this is done memcpy style.

0 Kudos
Reply