<?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 MPI_CART_SHIFT and all neighbours in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-CART-SHIFT-and-all-neighbours/m-p/1008685#M3868</link>
    <description>&lt;P&gt;Dear MPI users,&lt;/P&gt;

&lt;P&gt;I have a question about&amp;nbsp;MPI_CART_SHIFT. How can I now all the processor&amp;nbsp;neighbours.&lt;/P&gt;

&lt;P&gt;I have understood how to know the left,right, above and bellow processor:&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;How can I now the processor the right and at the same time above&amp;nbsp;processor? To make me clear, the processor that share not the edge but the corner.&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2014 09:53:56 GMT</pubDate>
    <dc:creator>diedro</dc:creator>
    <dc:date>2014-09-30T09:53:56Z</dc:date>
    <item>
      <title>MPI_CART_SHIFT and all neighbours</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-CART-SHIFT-and-all-neighbours/m-p/1008685#M3868</link>
      <description>&lt;P&gt;Dear MPI users,&lt;/P&gt;

&lt;P&gt;I have a question about&amp;nbsp;MPI_CART_SHIFT. How can I now all the processor&amp;nbsp;neighbours.&lt;/P&gt;

&lt;P&gt;I have understood how to know the left,right, above and bellow processor:&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;How can I now the processor the right and at the same time above&amp;nbsp;processor? To make me clear, the processor that share not the edge but the corner.&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2014 09:53:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-CART-SHIFT-and-all-neighbours/m-p/1008685#M3868</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2014-09-30T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Dear all,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-CART-SHIFT-and-all-neighbours/m-p/1008686#M3869</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I have understood. It is not possible to have "diagonal" shift, the only way is to use&amp;nbsp;&lt;STRONG&gt;CALL MPI_CART_RANK&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks anyway&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:20:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-CART-SHIFT-and-all-neighbours/m-p/1008686#M3869</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2014-10-01T16:20:20Z</dc:date>
    </item>
  </channel>
</rss>

