<?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 I notice that in your in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970916#M23885</link>
    <description>&lt;P&gt;I notice that in your original example, you specify -perhost on the command line when you are using the coprocessor but not when you are using the non-coprocessor hosts. Is this just a typo? If not, could you try your example using the -perhost in both cases?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2014 18:06:18 GMT</pubDate>
    <dc:creator>Frances_R_Intel</dc:creator>
    <dc:date>2014-04-09T18:06:18Z</dc:date>
    <item>
      <title>Segmentation Fault when using mpirun -f option</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970913#M23882</link>
      <description>&lt;P&gt;Whenever I use the mpirun -f option to run MPI programs on the device, I get a segmentation fault.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;[user@node ~]$ echo mic0 &amp;gt; mic0.hosts
[user@node ~]$ mpirun -perhost 1 -n 2 -f mic0.hosts  ./hello
Segmentation fault&lt;/PRE&gt;

&lt;P&gt;However, I am able to run it fine with the -host option or even with the -f option as long as there are no mic devices in the file.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;[user@node ~]$ echo different_node &amp;gt; mic0.hosts
[user@node ~]$ mpirun  -n 2 -f mic0.hosts  ./hello
CPU: Hello from different_node 1 of 2
CPU: Hello from different_node 0 of 2
[user@node ~]$ mpirun -perhost 1 -n 2 -host mic0  ./hello
MIC: Hello from node-mic0 1 of 2
MIC: Hello from node-mic0 0 of 2&lt;/PRE&gt;

&lt;P&gt;I haven't been very successful in debugging this problem. Does anyone have any suggestions?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 18:09:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970913#M23882</guid>
      <dc:creator>Dan_M_4</dc:creator>
      <dc:date>2014-04-03T18:09:44Z</dc:date>
    </item>
    <item>
      <title>Hi Dan,</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970914#M23883</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;

&lt;P&gt;If the file mic0.host contains "mic0" only, then&amp;nbsp;your two&amp;nbsp;commands are equivalent&lt;/P&gt;

&lt;P&gt;% mpirun -perhost 1 -n 2 -f mic0.hosts&amp;nbsp; ./hello&lt;/P&gt;

&lt;P&gt;% mpirun -n 2 -host mic0&amp;nbsp; ./hello&lt;/P&gt;

&lt;P&gt;Assuming that "hello" is the MIC&amp;nbsp;binary, and transferred&amp;nbsp;to /root&amp;nbsp;in mic0&lt;/P&gt;

&lt;P&gt;Could&amp;nbsp;you verify the content of mic0.hosts contains only mic0?&lt;/P&gt;

&lt;P&gt;% cat mic0.hosts&lt;/P&gt;

&lt;P&gt;Also, what MPI version and compiler version are&amp;nbsp;you using? Thank you.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:32:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970914#M23883</guid>
      <dc:creator>Loc_N_Intel</dc:creator>
      <dc:date>2014-04-04T18:32:31Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970915#M23884</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thank you for your response.&lt;/P&gt;

&lt;P&gt;I am using Intel MPI v4.1.3.045.&lt;/P&gt;

&lt;P&gt;I construct mic0.hosts using "echo mic0 &amp;gt; mic0.hosts". It does contain only mic0 as confirmed by cat:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ cat mic0.hosts
mic0
$&lt;/PRE&gt;

&lt;P&gt;If I construct the hosts file the same way but with non-Xeon Phi hosts, then the program executes correctly. I would have expected the -hosts command and the -f command to be equivalent to, however I observe a segmentation fault with one and proper execution with the other.&lt;/P&gt;

&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2014 17:58:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970915#M23884</guid>
      <dc:creator>Dan_M_4</dc:creator>
      <dc:date>2014-04-09T17:58:30Z</dc:date>
    </item>
    <item>
      <title>I notice that in your</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970916#M23885</link>
      <description>&lt;P&gt;I notice that in your original example, you specify -perhost on the command line when you are using the coprocessor but not when you are using the non-coprocessor hosts. Is this just a typo? If not, could you try your example using the -perhost in both cases?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2014 18:06:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970916#M23885</guid>
      <dc:creator>Frances_R_Intel</dc:creator>
      <dc:date>2014-04-09T18:06:18Z</dc:date>
    </item>
    <item>
      <title>I have not been able to</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970917#M23886</link>
      <description>&lt;P&gt;I have not been able to duplicate this behavior. If this is still a problem, please let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 04:34:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970917#M23886</guid>
      <dc:creator>Frances_R_Intel</dc:creator>
      <dc:date>2014-05-06T04:34:08Z</dc:date>
    </item>
    <item>
      <title>Thank you for checking in</title>
      <link>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970918#M23887</link>
      <description>&lt;P&gt;Thank you for checking in Frances. I have checked again today and there is no problem with using the -f option, although I haven't updated any of the software involved. It is working both with the -perhost option and without it. So, it seems I am no longer able to reproduce the problem myself.&lt;/P&gt;

&lt;P&gt;I will post here again if the problem resurfaces. Thank you for your help.&lt;/P&gt;

&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 15:10:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Segmentation-Fault-when-using-mpirun-f-option/m-p/970918#M23887</guid>
      <dc:creator>Dan_M_4</dc:creator>
      <dc:date>2014-05-06T15:10:46Z</dc:date>
    </item>
  </channel>
</rss>

