<?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 confirmed the defect in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950111#M19331</link>
    <description>&lt;P&gt;I confirmed the defect discussed in reply &lt;STRONG&gt;&lt;A href="https://software.intel.com/en-us/forums/topic/498728#comment-1776599" target="_blank"&gt;#6&lt;/A&gt;&lt;/STRONG&gt; above is fixed in the &lt;STRONG&gt;Intel® Composer XE 2013 SP1 Update 4 r&lt;/STRONG&gt;elease (2013.1.4.237 - Windows) -AND- the &lt;STRONG&gt;Intel® Parallel Studio XE 2015 Initial&lt;/STRONG&gt; release (2015.0.108 - Windows). Both are available from the Intel Registration Center.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2014 15:55:02 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2014-09-11T15:55:02Z</dc:date>
    <item>
      <title>Compiling Windows Static Library for MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950101#M19321</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to create a static library that uses mic offload feature, but run into a xlib error as below:&lt;/P&gt;

&lt;P&gt;BuildVersionIncrement: BuildVersionIncrement disabled.&lt;BR /&gt;
	1&amp;gt;------ Build started: Project: iaf_core_mic, Configuration: Release x64 ------&lt;BR /&gt;
	1&amp;gt;Build started 1/6/2014 11:07:40 AM.&lt;BR /&gt;
	1&amp;gt;InitializeBuildStatus:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Touching "x64\Release\iaf_core_mic.unsuccessfulbuild".&lt;BR /&gt;
	1&amp;gt;MessageBuildingWithCompiler:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Building with Intel(R) C++ Compiler XE 14.0&lt;BR /&gt;
	1&amp;gt;ClCompile:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;***** ClCompile (x64 - Intel C++)&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;img_base.cpp&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;MIC command line:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;icc.exe -c -g -O3 -D __INTEL_COMPILER=1400 -D WIN64 -D NDEBUG -D _LIB -D _UNICODE -D UNICODE -fstack-security-check -frtti- -Kc++ -fPIC -IC:\IAFW\ATTDPFIASDK\IASkunkWorks\XeonPhiWorks\ipp-8.0gold-mic\include -c -o x64\Release\img_baseMIC.o&lt;BR /&gt;
	1&amp;gt;Lib:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;C:/Program Files/Intel/MPSS/x86_64-mpsssdk-linux/usr/bin/k1om-mpss-linux\k1om-mpss-linux-ar.exe: x64Releaseimg_baseMIC.o: No such file or directory&lt;BR /&gt;
	1&amp;gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 14.0\Microsoft.Cpp.x64.Intel C++ Compiler XE 14.0.targets(1108,5): error MSB6006: "xilib.exe" exited with code 1.&lt;BR /&gt;
	1&amp;gt;&lt;BR /&gt;
	1&amp;gt;Build FAILED.&lt;BR /&gt;
	1&amp;gt;&lt;BR /&gt;
	1&amp;gt;Time Elapsed 00:00:05.01&lt;BR /&gt;
	========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;BR /&gt;
	BuildVersionIncrement: BuildVersionIncrement disabled.&lt;/P&gt;

&lt;P&gt;I can see that img_baseMIC.o is created under x64\Release folder of my box, but somehow it is not getting it right, it seems to take it as "x64Releaseimg_baseMIC.o" as file rather than "x64\Release\img_baseMIC.o". If I do the&amp;nbsp;xiar.exe or&amp;nbsp;k1om-mpss-linux-ar.exe command manually, i am able to create the .a file correctly.&lt;/P&gt;

&lt;P&gt;Wonder anyone has seen such error before? I am using VS2010 with Intel C++ Studio 2013 update SP1. I have been able to compile exe program that run offload successfully with my environment (with the gold build of IPP code bits) It is just the static lib settings that has such problem.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Chee Pin&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 03:25:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950101#M19321</guid>
      <dc:creator>CheePin_C_Intel1</dc:creator>
      <dc:date>2014-01-06T03:25:05Z</dc:date>
    </item>
    <item>
      <title>I don't recall this having</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950102#M19322</link>
      <description>&lt;P&gt;I don't recall this having been reported before. I will try re-creating this error and&amp;nbsp;update this post&amp;nbsp;after I know more.&lt;/P&gt;

&lt;P&gt;For now, can you use the work around of creating the static lib manually (under the Intel Compiler command-prompt window)?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:21:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950102#M19322</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-06T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950103#M19323</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I can confirm the issue. Same setup: I want to build a static library, with Windows, VS2012.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Something is very wrong with the pathnames! I can give an example: assume the following static library project setup:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Project name PNAME in the path&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;C:\path\to\project with&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;build configuration XPhi and&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;architecture x64&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;​A&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;fter building, there is a ".a" file located in C:\path\to\project\PNAME with the name "pathtoprojectx64XPhiPNAMEMIC.a". In the standard output folder for that case, namely C:\path\to\project\PNAME\x64\XPhi is the correctly named file (compilation unit name is "offloaded") "offloadedMIC.o", but apparently the build script is wrongly looking for "&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;x64XPhioffloadedMIC.o" (I assume in the project root), wrongly concatenating the pathname instead of accessing the correct folder and file.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I urgently need to work on the library, so at least a good workaround would be very welcome. Are there any special steps to build the library correctly for offloading to the MIC? I relied on the automatic build so far for standalone applications.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2014 18:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950103#M19323</guid>
      <dc:creator>Christoph_L_</dc:creator>
      <dc:date>2014-01-11T18:03:30Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950104#M19324</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;by the way: when I set the "intermediate build directory" to empty (this prevents the wrong file concatenations), then still xilib crashes with the message:&lt;/P&gt;

&lt;P&gt;"k1om-mpss-linux-ar.exe: could not create temporary file whilst writing archive: No more archived files"&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2014 22:05:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950104#M19324</guid>
      <dc:creator>Christoph_L_</dc:creator>
      <dc:date>2014-01-11T22:05:56Z</dc:date>
    </item>
    <item>
      <title>Since I do not have urgent</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950105#M19325</link>
      <description>&lt;P&gt;Since I do not have urgent needs to resolve the issues, I did not go further from manually creating the a file. I supposed you should be able to manually compile the lib and a files using makefile or manually issue command.&lt;/P&gt;

&lt;P&gt;Chee Pin&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 15:57:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950105#M19325</guid>
      <dc:creator>CheePin_C_Intel1</dc:creator>
      <dc:date>2014-01-13T15:57:42Z</dc:date>
    </item>
    <item>
      <title>I have not been able to find</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950106#M19326</link>
      <description>&lt;P&gt;I have not been able to find a work around using the MSVS IDE but I found you can do the build under the MSVS IDE and then after it fails, using an Intel Compiler initialized command-prompt, change directory into the static library project's output directory and manually run the xilib command, something like:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xilib -out:test_lib.lib *.obj&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Updated: 07/31/2014:&lt;/STRONG&gt; It was found recently one should not include any directory path in the &lt;STRONG&gt;-out:&lt;/STRONG&gt; option to attempt placing the library in an alternative directory other than the current directory. Instead, use &lt;STRONG&gt;-out:&lt;/STRONG&gt; only to name the CPU-side/MIC_side libraries accordingly and allow &lt;STRONG&gt;xilib &lt;/STRONG&gt;to create the CPU-side and MIC-side libraries in the current working directory where the *.obj files reside. Including a path component in the &lt;STRONG&gt;-out:&lt;/STRONG&gt; option will lead to unwanted name mangling and misplacement of the MIC-side static library. Refer to this recent post for more details: &lt;A href="https://software.intel.com/en-us/forums/topic/497496#comment-1794954" target="_blank"&gt;https://software.intel.com/en-us/forums/topic/497496#comment-1794954&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hopefully this will be usable and will not be too inconvenient for you. I will let you know whether anything is available under the MSVS IDE to avoid the path mangling that is at the root of this issue.&lt;/P&gt;

&lt;P&gt;I also reported this to Development (under the internal tracking id below) and will keep the thread update on what I learn.&lt;/P&gt;

&lt;P&gt;(Internal tracking id: DPD200252338)&lt;BR /&gt;
	&lt;STRONG&gt;(Resolution Update on 09/11/2014): &lt;/STRONG&gt;This defect is fixed in the &lt;STRONG&gt;Intel® Composer XE 2013 SP1 Update 4&lt;/STRONG&gt; release (2013.1.4.237 - Windows) -AND- the &lt;STRONG&gt;Intel® Parallel Studio XE 2015 Initial&lt;/STRONG&gt; release (2015.0.108 - Windows).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950106#M19326</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-13T16:51:00Z</dc:date>
    </item>
    <item>
      <title>Thanks you for the infos!</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950107#M19327</link>
      <description>&lt;P&gt;Thank you for the infos!&lt;/P&gt;

&lt;P&gt;Even in the manual building case the xilib command fails when calling the "&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;k1om-mpss-linux-ar.exe" subcommand. :( For now, I just switched to building a dynamic library (which works, but is inconvenient). I'll keep track of the further development.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 12:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950107#M19327</guid>
      <dc:creator>Christoph_L_</dc:creator>
      <dc:date>2014-01-14T12:08:00Z</dc:date>
    </item>
    <item>
      <title>Sorry to hear that. I want to</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950108#M19328</link>
      <description>&lt;P&gt;Sorry to hear that. I want to make sure we can reproduce and investigate that error then also.&lt;/P&gt;

&lt;P&gt;Can you post the xilib command-line you used and error you received when run manually?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 12:30:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950108#M19328</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-14T12:30:09Z</dc:date>
    </item>
    <item>
      <title>Hello sir :</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950109#M19329</link>
      <description>&lt;P&gt;Hello sir :&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; I got the same error from xilib procedure of VS2013 with intel compiler&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;1&amp;gt; &amp;nbsp;xilib: executing 'lib'&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1&amp;gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 14.0\Toolset.targets(1379,5): error MSB6006: "xilib.exe" exited with code -1073741701.&lt;/P&gt;

&lt;P&gt;I can work well on manual execute&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; line-height: 10.285714149475098px;"&gt;xilib -out:..\test_lib.lib *.obj &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Can you have any suggestion &amp;nbsp;? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;PS: May i have any method to turn off MIC for avoid the problem ?&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:26:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950109#M19329</guid>
      <dc:creator>Billy_C_</dc:creator>
      <dc:date>2014-02-18T03:26:55Z</dc:date>
    </item>
    <item>
      <title>Hi Billy,</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950110#M19330</link>
      <description>&lt;P&gt;Hi Billy,&lt;/P&gt;

&lt;P&gt;I am having a little trouble following your reply. Are you saying that using the &lt;STRONG&gt;xilib &lt;/STRONG&gt;command-line work around is also *not* working?&lt;/P&gt;

&lt;P&gt;Under the MSVS IDE, you can disable offload under: &lt;STRONG&gt;Configuration Properties &amp;gt;&amp;nbsp; C/C++ &amp;gt; Code Generation [Intel C++] &amp;gt; Offload Constructs&lt;/STRONG&gt; and set the field to &lt;STRONG&gt;None (/Qoffload:none)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Let me know whether this helps or please re-ask your question if I did not fully understand it. Also, please let me know what version of MPSS you are using.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2014 12:28:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950110#M19330</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-02-19T12:28:49Z</dc:date>
    </item>
    <item>
      <title>I confirmed the defect</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950111#M19331</link>
      <description>&lt;P&gt;I confirmed the defect discussed in reply &lt;STRONG&gt;&lt;A href="https://software.intel.com/en-us/forums/topic/498728#comment-1776599" target="_blank"&gt;#6&lt;/A&gt;&lt;/STRONG&gt; above is fixed in the &lt;STRONG&gt;Intel® Composer XE 2013 SP1 Update 4 r&lt;/STRONG&gt;elease (2013.1.4.237 - Windows) -AND- the &lt;STRONG&gt;Intel® Parallel Studio XE 2015 Initial&lt;/STRONG&gt; release (2015.0.108 - Windows). Both are available from the Intel Registration Center.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:55:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-Windows-Static-Library-for-MIC/m-p/950111#M19331</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-09-11T15:55:02Z</dc:date>
    </item>
  </channel>
</rss>

