<?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 Ah, I see now the issue is in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921220#M13384</link>
    <description>&lt;P&gt;Ah, I see now the issue is with executables which run during the cross-compile, such as ./mkheader.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What worked for me was editing src/su/include/Makefile to build an executable for the host, without -mmic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, I defined&amp;nbsp;CC to be "icc&amp;nbsp;-mmic" globally in Makefile.config, and changed&amp;nbsp;"$(CC)" to "icc" in src/su/include/Makefile.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2013 21:24:59 GMT</pubDate>
    <dc:creator>Gregg_S_Intel</dc:creator>
    <dc:date>2013-06-14T21:24:59Z</dc:date>
    <item>
      <title>Seismic Unix Package compilation for MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921217#M13381</link>
      <description>&lt;P&gt;I am trying to compile Seismic Unix Pakage from CWP but while compiling it generates mic executable which is not executed on Xeon. Do anyone have have experience for Seismic Unix compilation for MIC. Any help will be appriciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Abhishek S.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 09:08:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921217#M13381</guid>
      <dc:creator>Abhishek_S_7</dc:creator>
      <dc:date>2013-06-14T09:08:41Z</dc:date>
    </item>
    <item>
      <title>So do I understand correctly,</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921218#M13382</link>
      <description>&lt;P&gt;So&amp;nbsp;do I&amp;nbsp;understand correctly, you cross-compiled with Intel&amp;nbsp;compiler&amp;nbsp;"-mmic" option and now you're ready to run?&amp;nbsp; If so,&amp;nbsp;NFS mount your installation&amp;nbsp;on the coprocessor,&amp;nbsp;and launch it from the coprocessor.&lt;/P&gt;
&lt;P&gt;Gregg Skinner&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 17:58:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921218#M13382</guid>
      <dc:creator>Gregg_S_Intel</dc:creator>
      <dc:date>2013-06-14T17:58:53Z</dc:date>
    </item>
    <item>
      <title>I think we need more</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921219#M13383</link>
      <description>&lt;P&gt;I think we need more information to understand better what you are trying to do.&lt;/P&gt;
&lt;P&gt;Are you trying to generate a library that can be linked with both Intel(r) Xeon(r) processor code and with Intel(r) Xeon Phi(tm) coprocessor code? Or are you trying to use a library that you intentionally generated to run with coprocessor code only? &amp;nbsp; Or are you trying to generate a library that will offload some of the work to the coprocessor and do some of the work on the host processor?&lt;/P&gt;
&lt;P&gt;If your question is about trying to make a library that can be used with either host or coprocessor code, you will want to create two separate libraries, one compiled with -mmic and one compiled without -mmic.&lt;/P&gt;
&lt;P&gt;If you are trying to use a library that you intentionally generated to run with the coprocessor code then you can either NFS mount the directory containing the library onto the coprocessor, as Gregg suggests - the preferred solution in general, or, if you do not have administrative priviledges or don't want to do the NFS mount, you can copy the library over to the coprocessor with scp and then set your LD_LIBRARY_PATH on the coprocessor to point to that location.&lt;/P&gt;
&lt;P&gt;If you are trying to create a library that will offload some of the work to the coprocessor and leave some of the work on the host, that is yet another thing and takes more explanation than goes here.&lt;/P&gt;
&lt;P&gt;I would recommend some documentation to you -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Programming and Compiling for Intel® Many Integrated Core Architecture&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/programming-and-compiling-for-intel-many-integrated-core-architecture"&gt;http://software.intel.com/en-us/articles/programming-and-compiling-for-intel-many-integrated-core-architecture&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Intel® Xeon Phi™ Coprocessor Developer's Quick Start Guide&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/intel-xeon-phi-coprocessor-developers-quick-start-guide"&gt;http://software.intel.com/en-us/articles/intel-xeon-phi-coprocessor-developers-quick-start-guide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 18:54:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921219#M13383</guid>
      <dc:creator>Frances_R_Intel</dc:creator>
      <dc:date>2013-06-14T18:54:51Z</dc:date>
    </item>
    <item>
      <title>Ah, I see now the issue is</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921220#M13384</link>
      <description>&lt;P&gt;Ah, I see now the issue is with executables which run during the cross-compile, such as ./mkheader.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What worked for me was editing src/su/include/Makefile to build an executable for the host, without -mmic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, I defined&amp;nbsp;CC to be "icc&amp;nbsp;-mmic" globally in Makefile.config, and changed&amp;nbsp;"$(CC)" to "icc" in src/su/include/Makefile.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 21:24:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921220#M13384</guid>
      <dc:creator>Gregg_S_Intel</dc:creator>
      <dc:date>2013-06-14T21:24:59Z</dc:date>
    </item>
    <item>
      <title>I should add that this works</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921221#M13385</link>
      <description>&lt;P&gt;Another, perhaps better, way to handle this is adding "/opt/intel/mic/bin/micnativeloadex" before each of the four executions in su/include/Makefile.&lt;/P&gt;
&lt;P&gt;That is, for example,&lt;/P&gt;
&lt;P&gt;/opt/intel/mic/bin/micnativeloadex ./mkheader &amp;gt;header.h&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2013 13:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921221#M13385</guid>
      <dc:creator>Gregg_S_Intel</dc:creator>
      <dc:date>2013-06-16T13:45:00Z</dc:date>
    </item>
    <item>
      <title>Thanks Gregg for</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921222#M13386</link>
      <description>&lt;P&gt;Thanks Gregg for understanding my problem :) and your solution worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 08:06:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921222#M13386</guid>
      <dc:creator>Abhishek_S_7</dc:creator>
      <dc:date>2013-06-17T08:06:12Z</dc:date>
    </item>
    <item>
      <title>It seems to me that you are</title>
      <link>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921223#M13387</link>
      <description>&lt;P&gt;It seems to me that you are asking exactly the question that is described and answered at "&lt;A href="http://software.intel.com/en-us/forums/topic/391645"&gt;Problem building for MIC as build process needs to execute binaries&lt;/A&gt;". &amp;nbsp;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 08:58:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seismic-Unix-Package-compilation-for-MIC/m-p/921223#M13387</guid>
      <dc:creator>James_C_Intel2</dc:creator>
      <dc:date>2013-06-17T08:58:43Z</dc:date>
    </item>
  </channel>
</rss>

