<?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 Yes. I copied c++config.h in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053718#M51002</link>
    <description>&lt;P&gt;Yes. I copied c++config.h from another system where MPSS 2.1 is installed. I also found that this error can be removed by copying c++config.h in /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/bits/c++config.h to /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/ within the problematic machine.&lt;BR /&gt;
	&lt;BR /&gt;
	Anyway, I'll reinstall MPSS and check if the error occurs again.&lt;BR /&gt;
	&lt;BR /&gt;
	Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2015 06:22:14 GMT</pubDate>
    <dc:creator>Keitaro_O_1</dc:creator>
    <dc:date>2015-01-20T06:22:14Z</dc:date>
    <item>
      <title>catastrophic error: *MIC* cannot open source file "bits/c++config.h"</title>
      <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053714#M50998</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	After I updated MPSS and ICC to version 3.42 and 15.0.1 respectively, I cannot compile Xeon Phi program which uses iostream. For example, when I tried to compile the following program with "icc test.cpp", I receive the error which says "&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;/usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/iostream(39): catastrophic error: *MIC* cannot open source file "bits/c++config.h". Can you please give me advice about the way to remove the error.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include &amp;lt;iostream&amp;gt;
#include &amp;lt;stdio.h&amp;gt;

int main(int argc, char * argv[]){
  std::cout &amp;lt;&amp;lt; "Hello World from host!" &amp;lt;&amp;lt; std::endl;

#pragma offload target(mic:0)
  {
    printf("test");
    fflush(0);
  }
  std::cout &amp;lt;&amp;lt; "Bye" &amp;lt;&amp;lt; std::endl;
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 07:00:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053714#M50998</guid>
      <dc:creator>Keitaro_O_1</dc:creator>
      <dc:date>2015-01-17T07:00:10Z</dc:date>
    </item>
    <item>
      <title>I thought I had come across</title>
      <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053715#M50999</link>
      <description>&lt;P&gt;I thought I had come across this in the past but have not been able to find any information I may have collected at the time. I cannot reproduce this today although I am still on MPSS 3.4.1. I included details below on what I see in connection with the missing include.&lt;/P&gt;

&lt;P&gt;Can you check whether the same details that I have shown below exist on your system?&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ icc -V
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.133 Build 20141023

$ icc -H u538814.cpp 2&amp;gt;&amp;amp;1 | grep c++config.h
.. /usr/include/c++/4.4.7/x86_64-redhat-linux/bits/c++config.h
.. /usr/linux-k1om-4.7/linux-k1om/../lib/gcc/x86_64-k1om-linux/4.7.0/include-fixed/bits/c++config.h&lt;/PRE&gt;

&lt;P&gt;The above path to the header has an underlying sym-link into &lt;STRONG&gt;/opt/mpss&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ ls -lrt /usr/linux-k1om-4.7/linux-k1om/../lib/gcc/x86_64-k1om-linux/4.7.0/include-fixed/bits

lrwxrwxrwx 1 root root 77 Oct 26 05:56 /usr/linux-k1om-4.7/linux-k1om/../lib/gcc/x86_64-k1om-linux/4.7.0/include-fixed/bits -&amp;gt; /opt/mpss/3.4.1/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits&lt;/PRE&gt;

&lt;P&gt;The actual header resides here:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ ls -l /opt/mpss/3.4.1/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/*config.h

-rw-r--r-- 1 root root 45527 Oct 17 16:05 /opt/mpss/3.4.1/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/c++config.h&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 14:22:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053715#M50999</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-17T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Yes. I got the same details.</title>
      <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053716#M51000</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I was able to remove the error. I have another machine with Xeon Phi. I copied&amp;nbsp;&lt;/SPAN&gt;/usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/c++config.h in the machine into&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;the corresponding directory in the problematic machine. Then t&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;he error was removed. Is it okay to use c++config.h in the other system?&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;And I got the same details as your results. The results of my system are the following.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ icc -V
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.133 Build 20141023&lt;/PRE&gt;

&lt;PRE class="brush:bash;"&gt;$ icc -H test.cpp 2&amp;gt;&amp;amp;1 | grep c++config.h
.. /usr/include/c++/4.4.6/x86_64-redhat-linux/bits/c++config.h
.. /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/c++config.h
&lt;/PRE&gt;

&lt;PRE class="brush:bash;"&gt;$ ls -lrt /usr/linux-k1om-4.7/linux-k1om/../lib/gcc/x86_64-k1om-linux/4.7.0/include-fixed/bits
lrwxrwxrwx 1 root root 77 Jan 15 11:52 /usr/linux-k1om-4.7/linux-k1om/../lib/gcc/x86_64-k1om-linux/4.7.0/include-fixed/bits -&amp;gt; /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits

$ ls -l /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/*config.h
-rw-r--r-- 1 root root 45527 Nov 25 09:34 /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/c++config.h
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 15:04:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053716#M51000</guid>
      <dc:creator>Keitaro_O_1</dc:creator>
      <dc:date>2015-01-17T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Interesting. So are the</title>
      <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053717#M51001</link>
      <description>&lt;P&gt;Interesting. So are the results you showed from the system you suffered the error on *before* you copied the file from your other system or are those from your other (I presume working) system?&lt;/P&gt;

&lt;P&gt;I believe copying the file is ok but it leaves an uneasy feeling of what else might be missing on that system. Not knowing why it was missing leaves open the possibility of a glitch installing MPSS and has me wondering whether it is prudent to redo the MPSS installation on that system rather than copying the file.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 12:37:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053717#M51001</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-19T12:37:46Z</dc:date>
    </item>
    <item>
      <title>Yes. I copied c++config.h</title>
      <link>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053718#M51002</link>
      <description>&lt;P&gt;Yes. I copied c++config.h from another system where MPSS 2.1 is installed. I also found that this error can be removed by copying c++config.h in /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/bits/c++config.h to /opt/mpss/3.4.2/sysroots/k1om-mpss-linux/usr/include/c++/k1om-mpss-linux/bits/ within the problematic machine.&lt;BR /&gt;
	&lt;BR /&gt;
	Anyway, I'll reinstall MPSS and check if the error occurs again.&lt;BR /&gt;
	&lt;BR /&gt;
	Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 06:22:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/catastrophic-error-MIC-cannot-open-source-file-quot-bits-c/m-p/1053718#M51002</guid>
      <dc:creator>Keitaro_O_1</dc:creator>
      <dc:date>2015-01-20T06:22:14Z</dc:date>
    </item>
  </channel>
</rss>

