<?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 Re:MPI intercommunicator issue in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1399358#M9677</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide the following details to investigate more on your issue?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Screenshot of the error using ITAC.&lt;/LI&gt;&lt;LI&gt;Steps to reproduce your issue at our end.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Jul 2022 11:58:53 GMT</pubDate>
    <dc:creator>HemanthCH_Intel</dc:creator>
    <dc:date>2022-07-11T11:58:53Z</dc:date>
    <item>
      <title>MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1394152#M9613</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using 3 softwares, which are communicating with MPI:&lt;/P&gt;
&lt;P&gt;- software1 is a coupling program. It does some mapping and data exchange between clients (which are software2 and software3).&lt;/P&gt;
&lt;P&gt;- software2 is a fluid solver.&lt;/P&gt;
&lt;P&gt;- software3 is a structure solver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These 3 softwares are started with mpirun:&lt;/P&gt;
&lt;P&gt;mpirun -np 1 software1&lt;/P&gt;
&lt;P&gt;mpirun -np 1 software2&lt;/P&gt;
&lt;P&gt;mpirun -np 1 software3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These 3 softwares worked well with Intel MPI and DAPL until the version 2018. When I'm trying to use Intel MPI 2019 or later, the coupling software software1 hangs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to debug the problem I wrote two short programs server.cpp and client.cpp to mimic what software1 and&amp;nbsp; software2 are doing at the beginning (see files in attachment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiicpc -debug client.cpp -o client

mpiicpc -debug server.cpp -o server

mpirun -check_mpi -n 1 server

mpirun -check_mpi -n 1 client&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get two problems:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;With the latest Intel OneAPI, the intercommunicator client and server are identical (84000007). If I run the same programs with intel MPI 2018 the&amp;nbsp; intercommunicator from the client (84000001) differs from the server (84000000). What am I doing wrong? It is a bug in my programs?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;Output from server with the lastest Intel OneAPI (I_MPI_FABRICS=shm:ofi on CentOS 7 with Mellanox card OFED driver):&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;intra-communicator: MPI_COMM_WORLD---44000000
server available at tag#0$connentry#0200962CC0A864FE0000000000000000$
intercommunicator client=84000007&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;Output from client with the lastest Intel OneAPI (I_MPI_FABRICS=shm:ofi on CentOS 7 with Mellanox card OFED driver):&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;intra-communicator: MPI_COMM_WORLD---44000000
port_name_s=tag#0$connentry#0200962CC0A864FE0000000000000000$
intercommunicator server=84000007
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;Output from server with the Intel 2018.2 (I_MPI_FABRICS=shm:ofa on Red Hat Enterprise Linux Server release 7.9 (Maipo) with Mellanox card OFED driver):&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;intra-communicator: MPI_COMM_WORLD---44000000
server available at tag#0$OFA#00000007:00000e9d:00000e9e$rdma_port#1024$rdma_host#10:0:7:0:0:14:155:254:128:0:0:0:0:0:0$
intercommunicator client=84000000&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;Output from client with the Intel 2018.2 (I_MPI_FABRICS=shm:ofa on Red Hat Enterprise Linux Server release 7.9 (Maipo) with Mellanox card OFED driver):&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;intra-communicator: MPI_COMM_WORLD---44000000
port_name_s=tag#0$OFA#00000007:00000e9d:00000e9e$rdma_port#1024$rdma_host#10:0:7:0:0:14:155:254:128:0:0:0:0:0:0$
intercommunicator server=84000001&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;With the latest Intel OneAPI (&lt;EM&gt;I_MPI_FABRICS=shm:ofi&lt;/EM&gt;) but also the older one (2018) "mpirun -check_mpi" failed with an error on the communicator (in client.cpp with MPI_Comm_disconnect for example). I do not understand the problem here:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;intra-communicator: MPI_COMM_WORLD---44000000
port_name_s=tag#0$connentry#0200962CC0A864FE0000000000000000$
intercommunicator server=84000007

[0] ERROR: LOCAL:MPI:CALL_FAILED: error
[0] ERROR:    Invalid communicator.
[0] ERROR:    Error occurred at:
[0] ERROR:       MPI_Comm_disconnect(*comm=0x7ffd90761944-&amp;gt;0xffffffff84000007 &amp;lt;&amp;lt;invalid&amp;gt;&amp;gt;)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx in advance&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Guillaume&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 07:39:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1394152#M9613</guid>
      <dc:creator>GDN</dc:creator>
      <dc:date>2022-06-22T07:39:08Z</dc:date>
    </item>
    <item>
      <title>Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1395091#M9626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing all the details.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are able to reproduce your issue at our end using both Intel MPI 2018 update 2 and the latest(2021.6) on a Rocky Linux machine. We are working on your issue and will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jun 2022 06:50:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1395091#M9626</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-06-24T06:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1395104#M9629</link>
      <description>&lt;P&gt;Thx Hemanth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to debug with Intel Trace I also get an error about the communicators. Is there any standards about&amp;nbsp; communicators, intercommunicators?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case they are negative. Can it be the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 07:33:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1395104#M9629</guid>
      <dc:creator>GDN</dc:creator>
      <dc:date>2022-06-24T07:33:08Z</dc:date>
    </item>
    <item>
      <title>Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1397481#M9654</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are working on your issue and will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2022 04:59:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1397481#M9654</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-07-04T04:59:03Z</dc:date>
    </item>
    <item>
      <title>Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1399358#M9677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide the following details to investigate more on your issue?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Screenshot of the error using ITAC.&lt;/LI&gt;&lt;LI&gt;Steps to reproduce your issue at our end.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jul 2022 11:58:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1399358#M9677</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-07-11T11:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1399360#M9678</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize! With the short programs I provided above, no error occurs using ITAC (-trace option). I was confused since I got an error with ITAC using my complete programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error occurs only with the "-debug_mpi" option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Guillaume&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 12:16:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1399360#M9678</guid>
      <dc:creator>GDN</dc:creator>
      <dc:date>2022-07-11T12:16:22Z</dc:date>
    </item>
    <item>
      <title>Re:MPI intercommunicator issue</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1400629#M9693</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reporting this issue. We were able to reproduce it and we have informed the development team about it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2022 09:38:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-intercommunicator-issue/m-p/1400629#M9693</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-07-15T09:38:21Z</dc:date>
    </item>
  </channel>
</rss>

