<?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 Thanks, simply removing the  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934301#M15490</link>
    <description>&lt;P&gt;Thanks, simply removing the -mmic flag helped me compile and run the program.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2014 22:03:34 GMT</pubDate>
    <dc:creator>dnesteruk</dc:creator>
    <dc:date>2014-03-03T22:03:34Z</dc:date>
    <item>
      <title>Internal Error: Bad Pointer</title>
      <link>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934299#M15488</link>
      <description>&lt;P&gt;I'm attempting to compile the attached file with&amp;nbsp;icpc -mmic -openmp offload.cpp. Unfortunately, I get the following error:&lt;/P&gt;

&lt;P&gt;offload.cpp(9): internal error: bad pointer&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; #pragma omp target map(inarray[0:SIZE]) map(sum)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; ^&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 1.5; font-size: 1em"&gt;Help much appreciated! FYI, I'm using 2013.4 toolset on Linux.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 20:47:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934299#M15488</guid>
      <dc:creator>dnesteruk</dc:creator>
      <dc:date>2014-03-03T20:47:52Z</dc:date>
    </item>
    <item>
      <title>I reproduced the error with</title>
      <link>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934300#M15489</link>
      <description>&lt;P&gt;I reproduced the error with the earlier 2013.4 release you used and confirmed it is fixed in the latest Composer XE 2013 SP1 Update 2 release (See below).&lt;/P&gt;

&lt;P&gt;$ icpc -V -mmic -openmp tt.cpp&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120&lt;BR /&gt;
	Copyright (C) 1985-2014 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;Edison Design Group C/C++ Front End, version 4.6 (Jan 20 2014 22:19:47)&lt;BR /&gt;
	Copyright 1988-2013 Edison Design Group, Inc.&lt;/P&gt;

&lt;P&gt;tt.cpp(5): warning #3180: unrecognized OpenMP #pragma&lt;BR /&gt;
	&amp;nbsp; #pragma omp declare target&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;

&lt;P&gt;tt.cpp(9): warning #3180: unrecognized OpenMP #pragma&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; #pragma omp target map(inarray[0:SIZE]) map(sum)&lt;BR /&gt;
	&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&gt;GNU ld (GNU Binutils) 2.22.52.20120302&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The OpenMP 4.0 target directives are not intended for use with the &lt;STRONG&gt;-mmic&lt;/STRONG&gt; option. You compile this program without that option.&lt;/P&gt;

&lt;P&gt;$ icpc -V -openmp tt.cpp&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120&lt;BR /&gt;
	Copyright (C) 1985-2014 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;Edison Design Group C/C++ Front End, version 4.6 (Jan 20 2014 19:26:22)&lt;BR /&gt;
	Copyright 1988-2013 Edison Design Group, Inc.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Edison Design Group C/C++ Front End, version 4.6 (Jan 20 2014 22:19:47)&lt;BR /&gt;
	Copyright 1988-2013 Edison Design Group, Inc.&lt;/P&gt;

&lt;P&gt;GNU ld (GNU Binutils) 2.22.52.20120302&lt;/P&gt;

&lt;P&gt;GNU ld version 2.20.51.0.2-5.36.el6 20100205&lt;/P&gt;

&lt;P&gt;$ ./a.out&lt;BR /&gt;
	Reduced sum 499500, expected 499500&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:01:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934300#M15489</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-03-03T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, simply removing the</title>
      <link>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934301#M15490</link>
      <description>&lt;P&gt;Thanks, simply removing the -mmic flag helped me compile and run the program.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 22:03:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934301#M15490</guid>
      <dc:creator>dnesteruk</dc:creator>
      <dc:date>2014-03-03T22:03:34Z</dc:date>
    </item>
    <item>
      <title>Glad to hear that.</title>
      <link>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934302#M15491</link>
      <description>&lt;P&gt;Glad to hear that.&lt;/P&gt;

&lt;P&gt;I perhaps should have been clearer in my earlier reply that while the OpenMP 4.0 &lt;STRONG&gt;target &lt;/STRONG&gt;directives produce warnings when compiling with &lt;STRONG&gt;-mmic&lt;/STRONG&gt;, those do not preclude building and running the small program natively on the coprocessor if desired. The &lt;STRONG&gt;target &lt;/STRONG&gt;directives support offloading code to attached devices and thus are not applicable in native mode so those are ignored and produce the warnings shown; however, the code can still be compiled and run natively.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 09:43:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Internal-Error-Bad-Pointer/m-p/934302#M15491</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-03-04T09:43:11Z</dc:date>
    </item>
  </channel>
</rss>

