<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The idea is one multi-node application (process-focused) handles data - each node operates independently; hence the RMA operations. The application viewed as a client uses MPI. Each root from each node assigned to the MPI job will communicate with one process
 in the other side (they could be in the same node or scattered). I already have reserved ports which are passed to libfabric through
<i>service</i>, I am sure it is the same port on both sides (just as fabtests does it), but I still get the error
<i>61</i>.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So, my question goes more into the side if that "dynamic" behavior could be the reason why it fails? Is there a problem if several processes are creating AV?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ul>
<li>Isaac</li></ul>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Hefty, Sean <sean.hefty@intel.com><br>
<b>Gesendet:</b> Montag, 11. Mai 2020 18:48 Uhr<br>
<b>An:</b> Isaac Nuņez <isaacnez@outlook.com>; libfabric-users@lists.openfabrics.org <libfabric-users@lists.openfabrics.org><br>
<b>Betreff:</b> RE: An approach on Two Multi-process Applications Communication using RDM and RMA.</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">> I am having trouble creating communication between two applications. One is MPI-focused<br>
> and the other one is process-focused, when I get to the initialization of the AV, the<br>
> other side responds with an error 61, but the examples from fabtests seem to work (at<br>
> least fi_rdm_rma_simple). What would be the best approach? I am using active endpoints,<br>
> but it seems it is not the right technique. What are some of the main considerations I<br>
> must keep while doing this?<br>
<br>
There's not a lot of details on what's happening.  You need to ensure that all sides follow the same protocol for inserting addresses into the AV.  Fabtests does this with itself, which is why it works.  Fabtests carry the address in the first packet sent from
 a client to the server.  Many MPI apps rely on an out of band setup to initialize their AVs.  That's definitely easier, but requires that the nodes already have some level of communication between them, usually done through a process manager.<br>
<br>
- Sean<br>
</div>
</span></font></div>
</body>
</html>