<?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 Fata Error using MPI in Linux in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Fata-Error-using-MPI-in-Linux/m-p/1164394#M6418</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using a virtual Linux Ubuntu machine (&lt;SPAN style="font-size: 1em;"&gt;Linux-VirtualBox 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux), with 8GB RAM.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;For a process on Matlab, the software requires &lt;/SPAN&gt;Intel MPI runtime package v4.1.3.045 or superior. Instead, I've installed the&amp;nbsp;2018.1.163&amp;nbsp;version, being not sure about the 2018 number version.&lt;/P&gt;

&lt;P&gt;Using 8 cores in the processing, the software went in error, with the following error:&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;Fatal error in MPI_Recv: Other MPI error, error stack:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPI_Recv(224)...................: MPI_Recv(buf=0x7f566d59c040, count=9942500, MPI_FLOAT, src=3, tag=5, MPI_COMM_WORLD, status=0x7ffc43a72b60) failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;PMPIDI_CH3I_Progress(658).......: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPID_nem_handle_pkt(1450).......: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;pkt_RTS_handler(317)............: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;do_cts(662).....................: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPID_nem_lmt_dcp_start_recv(302): fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;dcp_recv(165)...................: Internal MPI error!&amp;nbsp; Cannot read from remote process&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;Two workarounds have been identified for this issue:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;1) Enable ptrace for non-root users with:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;2) Or, use:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; I_MPI_SHM_LMT=shm&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Reducing the number of cores to 4, the process hangs for more than 3 hours and I'm not sure it is still working.&lt;/P&gt;

&lt;P&gt;What could be the problem?&lt;/P&gt;

&lt;P&gt;thank you&lt;/P&gt;

&lt;P&gt;Pietro&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 12:14:41 GMT</pubDate>
    <dc:creator>guccione__pietro</dc:creator>
    <dc:date>2017-11-28T12:14:41Z</dc:date>
    <item>
      <title>Fata Error using MPI in Linux</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Fata-Error-using-MPI-in-Linux/m-p/1164394#M6418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using a virtual Linux Ubuntu machine (&lt;SPAN style="font-size: 1em;"&gt;Linux-VirtualBox 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux), with 8GB RAM.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;For a process on Matlab, the software requires &lt;/SPAN&gt;Intel MPI runtime package v4.1.3.045 or superior. Instead, I've installed the&amp;nbsp;2018.1.163&amp;nbsp;version, being not sure about the 2018 number version.&lt;/P&gt;

&lt;P&gt;Using 8 cores in the processing, the software went in error, with the following error:&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;Fatal error in MPI_Recv: Other MPI error, error stack:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPI_Recv(224)...................: MPI_Recv(buf=0x7f566d59c040, count=9942500, MPI_FLOAT, src=3, tag=5, MPI_COMM_WORLD, status=0x7ffc43a72b60) failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;PMPIDI_CH3I_Progress(658).......: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPID_nem_handle_pkt(1450).......: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;pkt_RTS_handler(317)............: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;do_cts(662).....................: fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;MPID_nem_lmt_dcp_start_recv(302): fail failed&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;dcp_recv(165)...................: Internal MPI error!&amp;nbsp; Cannot read from remote process&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;Two workarounds have been identified for this issue:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;1) Enable ptrace for non-root users with:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp;2) Or, use:&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; I_MPI_SHM_LMT=shm&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Reducing the number of cores to 4, the process hangs for more than 3 hours and I'm not sure it is still working.&lt;/P&gt;

&lt;P&gt;What could be the problem?&lt;/P&gt;

&lt;P&gt;thank you&lt;/P&gt;

&lt;P&gt;Pietro&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 12:14:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Fata-Error-using-MPI-in-Linux/m-p/1164394#M6418</guid>
      <dc:creator>guccione__pietro</dc:creator>
      <dc:date>2017-11-28T12:14:41Z</dc:date>
    </item>
    <item>
      <title>As suggested in the error: </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Fata-Error-using-MPI-in-Linux/m-p/1164395#M6419</link>
      <description>&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;As suggested in the error:&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;you can run the command&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;I_MPI_SHM_LMT=shm&lt;/PRE&gt;

&lt;P&gt;You can read more details about it at&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/mpi-developer-reference-linux-shared-memory-control"&gt;https://software.intel.com/en-us/mpi-developer-reference-linux-shared-memory-control&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It means:&amp;nbsp;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px;"&gt;large message transfer (LMT) &amp;nbsp;mechanism for the shared memory&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px;"&gt;Also, you can edit ptrace value from 1 to 0 by&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope&lt;/PRE&gt;

&lt;P&gt;but, this might not be recommended,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;read more about the Ptrace value&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.kernel.org/doc/Documentation/security/Yama.txt&amp;nbsp;" target="_blank"&gt;https://www.kernel.org/doc/Documentation/security/Yama.txt&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 08:03:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Fata-Error-using-MPI-in-Linux/m-p/1164395#M6419</guid>
      <dc:creator>Arige__Krishna</dc:creator>
      <dc:date>2018-05-11T08:03:34Z</dc:date>
    </item>
  </channel>
</rss>

