<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dear all, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Sendrecv-problem/m-p/1011110#M3924</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I got it, I have some problem with&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 12.8000001907349px; line-height: 14.3087997436523px;"&gt;MPI_PARTICLE_TYPE.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 12.8000001907349px; line-height: 14.3087997436523px;"&gt;Sorry for your time&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Oct 2014 14:48:12 GMT</pubDate>
    <dc:creator>diedro</dc:creator>
    <dc:date>2014-10-02T14:48:12Z</dc:date>
    <item>
      <title>MPI_Sendrecv  problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Sendrecv-problem/m-p/1011109#M3923</link>
      <description>&lt;P&gt;dear all,&lt;/P&gt;

&lt;P&gt;I have a problem with&amp;nbsp;&amp;nbsp;MPI_Sendrecv, probably because I do not understand it.&lt;/P&gt;

&lt;P&gt;In my program I create a Cartesian topology:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;   periods = .FALSE.
   CALL MPI_CART_CREATE (MPI_COMM_WORLD,ndims,dims,periods,.TRUE.,COMM_CART,MPI%iErr)&lt;/PRE&gt;

&lt;P&gt;and I find all the&amp;nbsp;neighbors:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt; ! Find neighbors
 CALL MPI_CART_SHIFT(COMM_CART,0,1,source,RCPU,MPI%iErr)  ! x-dir, right
 CALL MPI_CART_SHIFT(COMM_CART,0,-1,source,LCPU,MPI%iErr) ! x-dir, left
 CALL MPI_CART_SHIFT(COMM_CART,1,1,source,TCPU,MPI%iErr)  ! y-dir, top
 CALL MPI_CART_SHIFT(COMM_CART,1,-1,source,BCPU,MPI%iErr) ! y-dir, bottom&lt;/PRE&gt;

&lt;P&gt;I want that each processor send some data to the processor&amp;nbsp;below, so I decide to use&amp;nbsp;MPI_Sendrecv:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;   !BCPU = where we send
   !TCPU = who sends
   CALL MPI_Sendrecv(P_SEND,nptSend,MPI_PARTICLE_TYPE,BCPU,201,&amp;amp;
                     P_RECV,nptSend,MPI_PARTICLE_TYPE,TCPU,201,MPI_COMM_WORLD,MPI_STATUS_IGNORE,MPI%iErr)&lt;/PRE&gt;

&lt;P&gt;the problem is that the bellow processor receive only some data. I mean, If i set nptSend=100, only the first 20 value of P_RECV are not equal to zero.&lt;/P&gt;

&lt;P&gt;There is something that I miss and I do not know what.&lt;/P&gt;

&lt;P&gt;Someone Can help me, please?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2014 09:41:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Sendrecv-problem/m-p/1011109#M3923</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2014-10-02T09:41:16Z</dc:date>
    </item>
    <item>
      <title>Dear all,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Sendrecv-problem/m-p/1011110#M3924</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I got it, I have some problem with&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 12.8000001907349px; line-height: 14.3087997436523px;"&gt;MPI_PARTICLE_TYPE.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 12.8000001907349px; line-height: 14.3087997436523px;"&gt;Sorry for your time&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:48:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Sendrecv-problem/m-p/1011110#M3924</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2014-10-02T14:48:12Z</dc:date>
    </item>
  </channel>
</rss>

