<?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 Dear Kevin, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051396#M50164</link>
    <description>&lt;P&gt;Dear Kevin,&lt;/P&gt;

&lt;P&gt;Thank you for the response. I will post any relevant updates here.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 16:50:43 GMT</pubDate>
    <dc:creator>Nikos_S_</dc:creator>
    <dc:date>2015-09-29T16:50:43Z</dc:date>
    <item>
      <title>Naming shared libraries</title>
      <link>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051394#M50162</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to adjust a large project for working on Xeon Phi with the offload model and I have a few questions.&lt;BR /&gt;
	&lt;BR /&gt;
	1. My programs should be linked with some of many static libraries of hundreds of lines. I tried to built these libraries with the &lt;STRONG&gt;-offload-attribute-target=mic&amp;nbsp;&lt;/STRONG&gt;option to annotate my functions and variables for mic offloading, and then link them with&amp;nbsp;&lt;STRONG&gt;xiar crs -qoffload-build&amp;nbsp;&lt;/STRONG&gt;option. Is it a reasonable approach or am I missing something?&lt;/P&gt;

&lt;P&gt;2. My libraries have as separator the dot symbol "." and hence I encounter the following paradox: When&amp;nbsp;&lt;STRONG&gt;xiar&amp;nbsp;&lt;/STRONG&gt;finds a library called &lt;STRONG&gt;"x.y.c"&lt;/STRONG&gt; it builds to the &lt;STRONG&gt;"x.y.a"&lt;/STRONG&gt; and &lt;STRONG&gt;"x.yMIC.a"&lt;/STRONG&gt; as expected. But during the linking process, my programs are trying to be linked against the &lt;STRONG&gt;"xMIC.y.a"&lt;/STRONG&gt;&amp;nbsp;I guess because the linker is called with "-lstring" option in this example case with &lt;STRONG&gt;"-lx.y"&lt;/STRONG&gt; and I get an error for the missing library. Is there something more clever that &amp;nbsp;I can do instead of manually renaming the missing libraries?&lt;/P&gt;

&lt;P&gt;Thank you in advance,&lt;/P&gt;

&lt;P&gt;Nikos&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 14:33:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051394#M50162</guid>
      <dc:creator>Nikos_S_</dc:creator>
      <dc:date>2015-09-28T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Your action in #1 is</title>
      <link>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051395#M50163</link>
      <description>&lt;P&gt;Your action in&amp;nbsp;#1&amp;nbsp;is reasonable assuming many of those routines/variables could participate in the offload execution. Any that would not are basically decorated unnecessarily costing unneeded compile time and bloating the partner MIC lib unnecessarily. If only a subset of functions/variables participate in the offload&amp;nbsp;then it might be worth the effort to modify corresponding source files (one-time) to only decorate those participating in the offload, but I understand from what you described that may not be feasible.&lt;/P&gt;

&lt;P&gt;I'm not sure what might be available for #2. I will create a mock-up to test&amp;nbsp;with, see if there's any&amp;nbsp;work around, and submit this to Development as a case we need to see how to support.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 17:08:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051395#M50163</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-09-28T17:08:08Z</dc:date>
    </item>
    <item>
      <title>Dear Kevin,</title>
      <link>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051396#M50164</link>
      <description>&lt;P&gt;Dear Kevin,&lt;/P&gt;

&lt;P&gt;Thank you for the response. I will post any relevant updates here.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 16:50:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Naming-shared-libraries/m-p/1051396#M50164</guid>
      <dc:creator>Nikos_S_</dc:creator>
      <dc:date>2015-09-29T16:50:43Z</dc:date>
    </item>
  </channel>
</rss>

