<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>Re: [mpas-developers] derived data type redesign [with attachments!]</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:12pt"><br>
Michael,<br>
<br>
One quick thing. When having multiple blocks per task, it’s useful to keep track of the local copies for exchanges so you don’t rely on the MPI implementation to notice it’s local. So in addition to xxxToSend, xxxToRecv, you can add xxxToCopy. Similar for
send/recv/copyList. You could also implement by putting conditionals in the send/recv to catch local comms, but it’s more efficient to separate them so you don’t have to loop multiple times. And of course you can overlap local/remote so you can do local copies
while waiting for comms to complete.<br>
<br>
My $0.02<br>
<br>
Phil<br>
</span></font><span style="font-size:12pt"><font face="Courier, Courier New"><br>
---<br>
Correspondence/TSPA/DUSA EARTH<br>
------------------------------------------------------------<br>
Philip Jones <a href="pwjones@lanl.gov">pwjones@lanl.gov</a><br>
Climate, Ocean and Sea Ice Modeling<br>
Los Alamos National Laboratory<br>
T-3 MS B216 Ph: 505-500-2699<br>
PO Box 1663 Fax: 505-665-5926<br>
Los Alamos, NM 87545-1663<br>
</font></span><font size="1"><font face="Helvetica, Verdana, Arial"><span style="font-size:9pt"><br>
<br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:12pt"><br>
</span></font>
</body>
</html>