<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I have difficulties to implement mpi_win/mpi_put. What's strange is,
that when a process N puts data on ROOT, ROOT gets most of the data
correct, with few exceptions. Attached is a small example, which
illustrates the problem and here is a short description.<br>
<ol>
<li>There is an array BP(nBP) of type <i>DR_boundaryPoint_t =
{integer, character*32,real(3),real}</i>. </li>
<li>MPI type <i>MPI_DR_boundaryPoint_t</i> match
DR_boundaryPoint_t<i> </i></li>
<li>ROOT opens a window <i>BP_win</i> for <i>nBP</i> elements of
type <i>MPI_DR_boundaryPoint_t</i></li>
<li>ONE puts <i>BP(3) to root:BP(3)</i><br>
</li>
</ol>
ROOT receives the real fields <i>dist</i> and <i>ori</i>
correctly, but the integer field <i>bcTag</i> is not updated, and
the character field <i>bcName</i> is messed up.<br>
<br>
0: bcTag= 0 dist= 0.9000E+01 bcName=TEST A ori= 0.6000E+01
0.9000E+01 0.1200E+02<br>
1: bcTag= 99 dist= 0.9000E+01 bcName=TEST ori=
0.6000E+01 0.9000E+01 0.1200E+02<br>
<br>
I have no idea what I am doing wrong. Any help will be highly
appreciated.<br>
Thanks in advance,<br>
--Ted<br>
<br>
<br>
</body>
</html>