<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 25 Nov 2009 13:35:06 -0800 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/forums/intel-c-compiler/feed" rel="self" type="application/rss+xml" />
    <title>Intel Software Network - <![CDATA[ Intel® C++ Compiler ]]> feed</title>
    <link>http://software.intel.com/en-us/forums/intel-c-compiler</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Intel Compiler bug?</title>
      <description><![CDATA[ Hello,<br /><br />I have boiled down a complex "bug" into a very small program which fails to catch an exception when compiled by the Intel C++ compiler (v11), however it works fine on gcc (4.x).  Note that on the Intel compiler, it doesn't crash, it just sits there forever.  When I ran it through gdb I noticed it seemed to be going into an endless loop in the std::vector destructor (see the code below).<br /><br />What triggers this bug seems to be the inclusion of the OpenMP parallel directive.  If I serialize the little loop by commenting out the #pragma omp parallel for, the exception is succesfully caught, even on the Intel compiler.  So it seems to have something to do with the Intel compiler's OpenMP implementation, and how it plays with exceptions.  It is a compiler bug, I think, since this code doesn't throw any exceptions inside the parallel region.  Please see below:<br /><br /><br />#include &lt;string&gt;<br />#include &lt;vector&gt;<br />#include &lt;iostream&gt;<br /><br />std::string<br />bad_func()<br />{<br /> throw std::exception();<br />}<br /><br />int<br />main(int argc, char* argv[])<br />{<br /> try {<br /> std::vector&lt;float&gt; v0;<br /> std::vector&lt;float&gt; v1;<br /> bad_func();<br />#pragma omp parallel for<br /> for(unsigned int q=0; q&lt;8; ++q) {<br /> std::vector&lt;float&gt; u,v;<br /> }        <br /> }<br /> catch(std::exception&amp; e) {<br /> std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;<br /> }<br />}<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70144/</link>
      <pubDate>Wed, 25 Nov 2009 13:33:38 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70144/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>icc: command line error: invalid argument for option &amp;#39;-std&amp;#39;</title>
      <description><![CDATA[ What can i do with this error?<br /><br />configure:5649: checking whether icc supports -Wmissing-format-attribute<br />configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wmissing-format-attribute   conftest.c  &gt;&amp;5<br />icc: command line error: invalid argument for option '-std'<br />configure:5693: $? = 1<br />configure: failed program was:<br />| /* confdefs.h.  */<br />| #define PACKAGE_NAME ""<br />| #define PACKAGE_TARNAME ""<br />| #define PACKAGE_VERSION ""<br />| #define PACKAGE_STRING ""<br />| #define PACKAGE_BUGREPORT ""<br />| #define PACKAGE "kdelibs"<br />| #define VERSION "3.5.10"<br />| /* end confdefs.h.  */<br />|<br />| int<br />| main ()<br />| {<br />|  return 0;<br />|   ;<br />|   return 0;<br />| }<br />configure:5728: result: no<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70102/</link>
      <pubDate>Wed, 25 Nov 2009 12:25:21 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70102/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Windows 7/Windows Server 2008 Users - Please update to 11.1.048 or newer</title>
      <description><![CDATA[ <p>The Intel C++ Compiler for Windows 11.1.048 (<strong>update 2 revised)</strong> version has just released. It contains the complete fix for a bug DPD200139120 - installation hangs on Windows 7. <br /><br />You can download it from <a href="https://registrationcenter.intel.com/RegCenter/Register.aspx">Intel Registration Center </a>or from our <a href="http://software.intel.com/en-us/articles/intel-software-evaluation-center/">eval center</a>. <br /><br />Thanks,<br />Jennifer</p>
<p><b><br />Title: </b>Errata Reference Number DPD200139120<b>  </b></p>
<p><b>Problem</b>:  Applications built with the Intel® C++ and Visual Fortran Compilers Professional Edition, version 11.1, or Intel® Parallel Composer may hang or encounter a segmentation-fault when run on Microsoft* Windows 7* or Windows Server 2008* R2.  Also, a similar issue may occur during installation of these compiler versions on these operating system versions.</p>
<p><b>Version</b>:</p>
<ul>
<li>Intel® C++ &amp; Visual Fortran Compilers for Windows* 11.1 initial release and update 1 release: 
<ul>
<li>Intel® C++ &amp; Visual Fortran Compiler for Windows* 11.1.035 </li>
<li>Intel® C++ &amp; Visual Fortran Compiler for Windows* 11.1.038 </li>
</ul>
</li>
<li>Intel® Parallel Studio </li>
<li>Intel® Parallel Composer initial release, and update 1 release </li>
</ul>
<p>Previous versions of the Intel® Compilers (version 11.0 or earlier) do not have this issue.  Please refer to the corresponding Release Notes for additional information on minimum system requirements for which operating systems are supported by that product version.</p>
<p>For applications built with the Intel Compilers version 11.1, the problem is contained within the libirc.lib, libircmt.lib on Windows.</p>
<p> </p>
<p><b>Resolution</b>:    </p>
<p>For the Intel® Compiler Professional Editions 11.1, this issue is resolved in update release<strong> 11.1.048</strong> available on <a href="https://registrationcenter.intel.com/RegCenter/Register.aspx">Intel Registration Center</a>.  </p>
<p>For Intel® Parallel Composer, this issue is resolved in the <strong>update 2 revised </strong>release, available on <a href="https://registrationcenter.intel.com/RegCenter/Register.aspx">Intel Registration Center</a>.</p>
<p>Intel is still validating these configurations and will update the Systems Requirements when validation is complete.</p>
<p>Please find additional information on the install issue here <a href="http://software.intel.com/en-us/articles/the-installation-or-uninstallation-hangs-at-start-up-dialog-during-reading-existing-licenses/">http://software.intel.com/en-us/articles/the-installation-or-uninstallation-hangs-at-start-up-dialog-during-reading-existing-licenses/</a> and here <a href="http://software.intel.com/en-us/articles/program-crashes-or-hangs-on-some-systems/">http://software.intel.com/en-us/articles/program-crashes-or-hangs-on-some-systems/</a></p>
<p>Intel® Compilers Support Team</p>
<p>*Other names and brands may be claimed as the property of others</p> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/68939/</link>
      <pubDate>Wed, 25 Nov 2009 12:16:09 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/68939/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Meet Intel® MKL team at SC ’09 in Portland Nov 16-19, 2009 </title>
      <description><![CDATA[ See details at <a href="http://software.intel.com/en-us/forums/intel-math-kernel-library/topic/69328/">http://software.intel.com/en-us/forums/intel-math-kernel-library/topic/69328/</a> <br /><br />Jennifer ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/69422/</link>
      <pubDate>Wed, 25 Nov 2009 12:15:09 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/69422/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Intel-Compiled Boost Libraries</title>
      <description><![CDATA[ <p>Has anyone in the community compiled the C++ Boost libraries using the Intel Compiler? It would be a great time saver if the binary files could be posted for others to use. There are MSVS binaries posted on other sites, we love our Intel Compiler ;)</p> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70146/</link>
      <pubDate>Wed, 25 Nov 2009 07:41:19 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70146/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Intel on Linux...what directory?</title>
      <description><![CDATA[ Hello all, complete Linux novice here.
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br /></span></div>
<div>By some bumbling miracle I've managed to install the Intel Compiler Suite Pro on our Linux box (Red Hat Enterprise). Since I know next to nothing about Linux I consider this a major victory! Anyway, I installed to the default directory...whatever that is, but I'm perusing the file system and I don't see anywhere the compiler was installed to. I see the directory I created that the download was unpacked into, but I'd like to know the location of the actual installation. Anyone? Thanks in advance.</div>
<div><br /></div>
<div>-L</div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70114/</link>
      <pubDate>Tue, 24 Nov 2009 13:32:15 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70114/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>icpc: command line warning #10156: ignoring option &amp;#39;-W&amp;#39;; no argument required</title>
      <description><![CDATA[ How i can use this -W&lt;things&gt; with icc ?<br />Am i right that gcc have analog for icc's -W&lt;things&gt; ?<br /><br />configure:5560: checking whether icpc supports -Wmissing-format-attribute<br />configure:5600: rm -rf SunWS_cache; icpc -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2   -Wmissing-format-attribute   conftest.cpp  1&gt;&amp;5<br />icpc: command line warning #10156: ignoring option '-W'; no argument required<br />icpc: command line warning #10156: ignoring option '-W'; no argument required<br />icpc: command line remark #10148: option '-W' not supported<br />icpc: command line warning #10156: ignoring option '-W'; no argument required<br />conftest.cpp(16): remark #111: statement is unreachable<br /> return 0;<br /> ^<br /><br />configure:5607: $? = 0<br />configure:5637: result: yes<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70103/</link>
      <pubDate>Tue, 24 Nov 2009 02:51:59 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70103/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Missing stdint.h with C99</title>
      <description><![CDATA[ Hello,<br />i want to build a tool (in Windows), but the compiler didn´t find the stdint.h, with the /Qstd:c99 option.<br />The error message:  "catastrophic error: could not open source file "stdint.h"<br /> #include &lt;stdint.h&gt;"<br />where is the Failure? <br />I use Intel C++ Windows 11.1.048<br />Can anybody help me?<br />Thx<br />Brian ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70079/</link>
      <pubDate>Mon, 23 Nov 2009 03:12:58 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70079/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Error on partial template specialization</title>
      <description><![CDATA[ I'm unable to use partial template specializations in my code using the intel 11.0.72 compiler on win32.<br /><br />my full template looks like this:<br /><br />template &lt;class ELEMENT_TYPE, typename STORAGE_TYPE, ParallelMode::Mode PARALLEL_MODE&gt;<br />void Matrix&lt;ELEMENT_TYPE, STORAGE_TYPE, PARALLEL_MODE&gt;::Avarage()<br /><br />But when i want to use a partial specialization on the folowing line<br /><br />template &lt;class ELEMENT_TYPE, typename STORAGE_TYPE&gt;<br />void Matrix&lt;ELEMENT_TYPE, STORAGE_TYPE,<b> ParallelMode::MPI</b>&gt;::Avarage()<br /><br />I get the folowing error<br /><br />error: template argument list must match the parameter list<br /><br />Any suggestions?<br /><br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/70035/</link>
      <pubDate>Sun, 22 Nov 2009 22:40:44 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/70035/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>RTC failure on FD_ZERO in any program compiled with -debug -check-uninit on openSUSE 11.2 or Ubuntu 9.10</title>
      <description><![CDATA[ Hi. I was wondering if someone could help me with the following issue.<br /><br />I've just installed Intel C++ compiler 11.1/059 on openSUSE 11.1 for x86_64.  It appears that any program contaning the FD_ZERO macro with abort with an RTC failure if compiled in -debug -check-uninit mode. For example, put the following into a file called /tmp/foo.cpp:<br /><br />#include &lt;stdlib.h&gt;<br />#include &lt;stdio.h&gt;<br />#include &lt;sys/select.h&gt;<br />int main (int argc, char ** argv)<br />{<br /> fd_set readfds;<br /> FD_ZERO (&amp;readfds);<br /> return EXIT_SUCCESS;<br />}<br /><br />Then compile it:<br />. /opt/intel/Compiler/11.1/059/bin/iccvars.sh  intel64<br />icpc -debug -check-uninit -c -o foo.o foo.cpp<br />icpc   -o foo foo.o.<br /><br />Then run it and observe the crash: <br />$ /tmp/foo<br /><br />Run-Time Check Failure: The variable '__d1' is being used without being initialized<br /><br />Aborted<br /><br /><br />The '__d1' variable is used in the GLIBC's definition of the FD_ZERO macro in /usr/include/bits/select.h:<br />....<br /># if __WORDSIZE == 64<br />#  define __FD_ZERO_STOS "stosq"<br />#  define __FD_SET_BTS "btsq"<br />#  define __FD_CLR_BTR "btrq"<br />#  define __FD_ISSET_BT "btq"<br /># else<br />...<br /># endif<br /><br /># define __FD_ZERO(fdsp) \<br /> do {&lt;&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;      \<br /> int __d0, __d1;&lt;---&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;      \<br /> __asm__ __volatile__ ("cld; rep; " __FD_ZERO_STOS&lt;-&gt;&lt;------&gt;&lt;------&gt;      \<br />&lt;------&gt;&lt;------&gt;&lt;------&gt;  : "=c" (__d0), "=D" (__d1)&lt;--&gt;&lt;------&gt;&lt;------&gt;      \<br />&lt;------&gt;&lt;------&gt;&lt;------&gt;  : "a" (0), "0" (sizeof (fd_set)&lt;-----&gt;&lt;------&gt;      \<br />&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;  / sizeof (__fd_mask)),&lt;------&gt;      \<br />&lt;------&gt;&lt;------&gt;&lt;------&gt;    "1" (&amp;__FDS_BITS (fdsp)[0])&gt;&lt;------&gt;&lt;------&gt;      \<br />&lt;------&gt;&lt;------&gt;&lt;------&gt;  : "memory");&lt;&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;&lt;------&gt;      \<br /> } while (0)<br /><br /><br />Any suggestions?<br /><br />$ rpm -q gcc glibc<br />gcc-4.4-4.2.x86_64<br />glibc-2.10.1-10.4.x86_64<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-c-compiler/topic/69937/</link>
      <pubDate>Sun, 22 Nov 2009 10:56:45 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-c-compiler/topic/69937/</guid>
      <category>ISN General</category>
    </item>
  </channel></rss>