<?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 cannot open source file when -mmic added in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922750#M13502</link>
    <description>&lt;P&gt;The c code complies well with&amp;nbsp;$&amp;nbsp;icc test.c -o test -lcrypto to run in the host. However when I want to build for mic cores, it went wrong. Any idea? Thanks very much for the help.&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;$ icc -mmic test.c -o test -lcrypto&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;test.c(4): catastrophic error: cannot open source file "openssl/rsa.h"&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp; #include &amp;lt;openssl/rsa.h&amp;gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); MIN-HEIGHT: 17px; FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;compilation aborted for rsa_mic.c (code 4)&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;$&lt;/P&gt;</description>
    <pubDate>Sat, 22 Feb 2014 23:10:55 GMT</pubDate>
    <dc:creator>Cheng_C_</dc:creator>
    <dc:date>2014-02-22T23:10:55Z</dc:date>
    <item>
      <title>cannot open source file when -mmic added</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922750#M13502</link>
      <description>&lt;P&gt;The c code complies well with&amp;nbsp;$&amp;nbsp;icc test.c -o test -lcrypto to run in the host. However when I want to build for mic cores, it went wrong. Any idea? Thanks very much for the help.&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;$ icc -mmic test.c -o test -lcrypto&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;test.c(4): catastrophic error: cannot open source file "openssl/rsa.h"&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp; #include &amp;lt;openssl/rsa.h&amp;gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); MIN-HEIGHT: 17px; FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;compilation aborted for rsa_mic.c (code 4)&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; BACKGROUND-COLOR: rgb(0,0,0); FONT-FAMILY: 'Andale Mono'; MARGIN-BOTTOM: 0px; COLOR: rgb(41,249,20); FONT-SIZE: 15px"&gt;$&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 23:10:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922750#M13502</guid>
      <dc:creator>Cheng_C_</dc:creator>
      <dc:date>2014-02-22T23:10:55Z</dc:date>
    </item>
    <item>
      <title>It appears that is not an</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922751#M13503</link>
      <description>&lt;P&gt;It appears that is&amp;nbsp;not an aspect of the OpenSSL that is available by default when compiling for native (&lt;STRONG&gt;-mmic&lt;/STRONG&gt;).&lt;/P&gt;

&lt;P&gt;I don't know details about OpenSSL but only the &lt;STRONG&gt;bn.h&lt;/STRONG&gt; header is available by default (under: &lt;STRONG&gt;/opt/mpss/3.1/sysroots/x86_64-mpsssdk-linux/usr/lib/k1om-mpss-linux/gcc/k1om-mpss-linux/4.7.0/include-fixed/openssl &lt;/STRONG&gt;for MPSS 3.1) with &lt;STRONG&gt;-mmic&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;The guide I noted in your earlier post contains discussion about building OpenSSL for native use. See &lt;STRONG&gt;Configuring Intel® Xeon Phi™ coprocessors inside a cluster guide &lt;/STRONG&gt;(&lt;A href="http://software.intel.com/en-us/articles/configuring-intel-xeon-phi-coprocessors-inside-a-cluster"&gt;http://software.intel.com/en-us/articles/configuring-intel-xeon-phi-coprocessors-inside-a-cluster&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2014 16:56:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922751#M13503</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-02-24T16:56:44Z</dc:date>
    </item>
    <item>
      <title>The compiler is telling you</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922752#M13504</link>
      <description>&lt;P&gt;The compiler is telling you that there is no openssl header in the standard include paths for the MIC. That very likely means that there is also no openssl library that has been built for MIC.&lt;/P&gt;

&lt;P&gt;Apparently&amp;nbsp;http://software.intel.com/en-us/articles/configuring-intel-xeon-phi-coprocessors-inside-a-cluster discusses how to build OpenSSL.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2014 16:57:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-open-source-file-when-mmic-added/m-p/922752#M13504</guid>
      <dc:creator>James_C_Intel2</dc:creator>
      <dc:date>2014-02-24T16:57:39Z</dc:date>
    </item>
  </channel>
</rss>

