<?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: Interrupted system call from gprof in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1413470#M9832</link>
    <description>&lt;P&gt;Pls can you provide and updated link or solution, thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 07:08:56 GMT</pubDate>
    <dc:creator>Carlospdp</dc:creator>
    <dc:date>2022-09-08T07:08:56Z</dc:date>
    <item>
      <title>Interrupted system call from gprof</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152654#M6112</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we compile&amp;nbsp;with '-pg' option, the following message was received during execution.&lt;/P&gt;
&lt;PRE class="brush:bash;"&gt;hfi_userinit: assign_context command failed: Interrupted system call
hfp_gen1_context_open: hfi_userinit: failed, trying again (1/3)
 rank           0 : Hello, World!
 rank           1 : Hello, World!&lt;/PRE&gt;

&lt;P&gt;This causes code performing heavy numerical computations to hang.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only related information we can find on this issue is from Intel OPA repo:&amp;nbsp;&lt;A href="https://github.com/intel/opa-psm2/issues/28"&gt;https://github.com/intel/opa-psm2/issues/28&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here are our system information:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Linux 3.10.0-1062.el7.x86_64&lt;/P&gt;
&lt;P&gt;- Intel 2019 Update 5&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;hfi1-firmware-0.9-84&lt;/P&gt;
&lt;P&gt;We appreciate your insight on how to minimize the interrupted system calls.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 01:10:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152654#M6112</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2020-04-01T01:10:17Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152655#M6113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you getting this message for every execution or is this a random thing?&lt;/P&gt;&lt;P&gt;Can you provide details like which compiler you are using and the version?&lt;/P&gt;&lt;P&gt;Please provide the compilation and execution commands you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 12:16:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152655#M6113</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-04-01T12:16:10Z</dc:date>
    </item>
    <item>
      <title>We've repeated the 'hello,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152656#M6114</link>
      <description>&lt;P&gt;We've repeated the 'hello, world' test 10 times for each different numbers of MPI rank.&lt;/P&gt;&lt;P&gt;The compilation was done with Intel Fortran Compiler and Intel MPI library 2019 update 5, as mentioned in the first post.&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;mpiifort -pg hello.f90 -o hello.x &lt;/PRE&gt;

&lt;P&gt;The execution was done as follow:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;mpirun -np #nranks ./hello.x&lt;/PRE&gt;

&lt;P&gt;(Where nranks = 1, 2, 4, 8, 16)&lt;/P&gt;
&lt;P&gt;Even with just one sole MPI rank, the message appears randomly, and on an average of 4/10 times for small number of ranks.&lt;/P&gt;
&lt;P&gt;When the number of ranks exceed 16, the message always appears at the beginning of execution&lt;/P&gt;
&lt;P&gt;I hope it can help with the diagnosis.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 15:23:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152656#M6114</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2020-04-03T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152657#M6115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please provide us the log info with the following flags set.&lt;/P&gt;&lt;P&gt;export I_MPI_DEBUG=5&lt;/P&gt;&lt;P&gt;export FI_LOG_LEVEL=debug&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 09:03:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152657#M6115</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-04-09T09:03:39Z</dc:date>
    </item>
    <item>
      <title>A apologize for the wall of</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152658#M6116</link>
      <description>&lt;P&gt;A apologize for the wall of text. The following debug information was generated using 2 MPI ranks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;No 'Interrupted system call':&amp;nbsp;&lt;A href="https://justpaste.it/57lp1"&gt;https://justpaste.it/57lp1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With 'Interrupted system call':&amp;nbsp;&lt;A href="https://justpaste.it/3t6r2"&gt;https://justpaste.it/3t6r2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The aforementioned message was occurred between calls to libfabric:psm2:core:psmx2_trx_ctxt_alloc()&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;libfabric:psm2:core:psmx2_trx_ctxt_alloc():282&amp;lt;info&amp;gt; uuid: 00FF00FF-0000-0000-0000-00FF00FF00FF
libfabric:psm2:core:psmx2_trx_ctxt_alloc():287&amp;lt;info&amp;gt; ep_open_opts: unit=-1 port=0
node8102.17670hfi_userinit: assign_context command failed: Interrupted system call
node8102.17670hfp_gen1_context_open: hfi_userinit: failed, trying again (1/3)
libfabric:psm2:core:psmx2_trx_ctxt_alloc():320&amp;lt;info&amp;gt; epid: 0000000003d30d02 (tx+rx)
libfabric:psm2:core:psmx2_am_init():116&amp;lt;info&amp;gt; epid 0000000003d30d02
&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Apr 2020 05:49:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152658#M6116</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2020-04-10T05:49:40Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152659#M6117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are escalating your issue to the respective team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 11:18:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152659#M6117</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-04-13T11:18:51Z</dc:date>
    </item>
    <item>
      <title>I included here more data in</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152660#M6118</link>
      <description>&lt;P&gt;I included here more data in case it may help with diagnosis.&lt;/P&gt;&lt;P&gt;1. 'Hello, World!' random test:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; n = 1: 4/10 (i.e. 1 MPI rank, 4 of 10 times the "Interrupted system call" appears)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; n = 2: 2/10&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; n = 4: 5/10&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; n = 8: 10/10&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; n = 16: 10/10&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; With sufficiently large MPI ranks, the message always appears at beginning of the execution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Single-node test: VASP (5.4.4), QE(6.5), LAMMPS(12Dec18), GROMACS(2019.6)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Output from widely-used codes are attached in the zip file. Tests were conducted on KNL architecture using&amp;nbsp;64 MPI ranks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Multi-node test:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; For more than 1024 MPI ranks, calculation may, but not always, crash with following error message:&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;node8054.60631PSM2 can't open hfi unit: -1 (err=23)
node8054.60632PSM2 can't open hfi unit: -1 (err=23)
Abort(1615759) on node 338 (rank 338 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(703)........: 
MPID_Init(923)...............: 
MPIDI_OFI_mpi_init_hook(1211): 
create_endpoint(1892)........: OFI endpoint open failed (ofi_init.c:1892:create_endpoint:Invalid argument)
Abort(1615759) on node 339 (rank 339 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(703)........: 
MPID_Init(923)...............: 
MPIDI_OFI_mpi_init_hook(1211): 
create_endpoint(1892)........: OFI endpoint open failed (ofi_init.c:1892:create_endpoint:Invalid argument)
&lt;/PRE&gt;

&lt;P&gt;The testing environment is same as outlined in our first post. We are open to your suggestions for further tests.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 04:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1152660#M6118</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2020-04-16T04:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: I included here more data in</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1194288#M6961</link>
      <description>&lt;P&gt;Sorry for the delay. I wanted to let you know I filed a bug report. Will let you know the status of the issue.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 15:54:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1194288#M6961</guid>
      <dc:creator>Kevin_O_Intel1</dc:creator>
      <dc:date>2020-07-23T15:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: I included here more data in</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1256402#M7786</link>
      <description>&lt;P&gt;Looking through some older threads... do you still need assistance here?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 13:58:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1256402#M7786</guid>
      <dc:creator>Kevin_O_Intel1</dc:creator>
      <dc:date>2021-02-16T13:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: I included here more data in</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1259593#M7854</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope to know about this issue.&amp;nbsp; Could you let me know whether this issue was solve or not it?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 06:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1259593#M7854</guid>
      <dc:creator>cisong1</dc:creator>
      <dc:date>2021-02-26T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted system call from gprof</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1287741#M8396</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;A href="https://www.intel.com.au/content/www/au/en/support/articles/000038048/network-and-i-o/fabric-products.html" target="_blank"&gt;https://www.intel.com.au/content/www/au/en/support/articles/000038048/network-and-i-o/fabric-products.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I believe this is the answer to your question&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:47:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1287741#M8396</guid>
      <dc:creator>Kevin_O_Intel1</dc:creator>
      <dc:date>2021-06-07T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted system call from gprof</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1413217#M9824</link>
      <description>&lt;P&gt;The link no longer works, do you know if there is a way of fixing the error without removing the -pg flag.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 08:21:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1413217#M9824</guid>
      <dc:creator>Carlospdp</dc:creator>
      <dc:date>2022-09-07T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted system call from gprof</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1413470#M9832</link>
      <description>&lt;P&gt;Pls can you provide and updated link or solution, thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 07:08:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Interrupted-system-call-from-gprof/m-p/1413470#M9832</guid>
      <dc:creator>Carlospdp</dc:creator>
      <dc:date>2022-09-08T07:08:56Z</dc:date>
    </item>
  </channel>
</rss>

