Intel® C++ Compiler

stringstream bug


In my program writing in C++, I use a few functions that use stringstream classes.

I do not have any problems with compilation of  my program by Visual Studio 2013 and Intel Parallel Studio 2013.

The same program I tried using  Visual Studio 2015 and Intel Parallel Studio 2015 XE Update 4.

I do not have any problems with compilation of  my program by MS compiler but when try to use Intel C++ compiler I get only one error:

1>": : error : ** The compiler has encountered an unexpected problem.

Missing links from to composer_xe - Parallel Studio 2015 update 3


I've installed the latest version of the Intel Parallel Studio XE -Cluster-Edition- 2015 Update 3 and found a minor bug:
After installation I've tried to source the which worked for all features (Vtune, Amplifier, etc,) except the Intel compilers and MPI-Variables.

The reason: tries to load the (see attached extract of source code)

NAMD MPIR_Thread: TLS definition in section .tbss mismatches non-TLS definition in section .bss

I am trying to compile namd(with smp) on centos 6.4 with intel 2015 for intel xeon phi , and i am getting following error:

MPIR_Thread: TLS definition in section .tbss mismatches non-TLS definition in
section .bss could not read symbols: Bad value

attached :

  • namdmic.log : compilation error log
  • namd compilation script

I tried this solution but then i got:

VS2015+Intel 2016 Upd 2 (Beta). Compiling


I have VS2013 Pro, VS 2015 Community, and Intel 2016 Upd 2 (Beta) installed. Since there are some problems with new Windows 10 run-time support, I would like to compile my targets against older (v120) toolset in order to use VS2013 run-time dlls.

In the case of Visual Studio compiler this can be done quite easily: by selecting "Platform Toolset" option = v120.

In the case of Intel C++ we have additional choices, like "Base Platform Toolset":

Unable to create a templated function pointer to std::max

The following code will not compile with icpc 15.0.2:

#include <algorithm>
#include <array>
#include <numeric>

template<typename T>
T const & (*maxer) (T const &, T const &) = std::max<T>;

int main(void) {
    std::array<float, 8> data;
    std::iota(data.begin(), data.end(), 0.0f);
    if (std::accumulate(data.begin(), data.end(), 0.0f, maxer<float>) == 7.0f) {
        return 0;
    } else {
        return 1;

Here is the output:

Error when compiling using Visual Studio 2013 toolset in Visual Studio 2015

Compiling in Visual Studio 2015 with the Visual Studio 2013 platform toolset is not working because of some Intel composer platform files. The Intel configuration is preventing me of compiling legacy applications because of it.

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\Win32\PlatformToolsets\v120\ImportBefore\Intel.Libs.MKL.v120.targets(44,5): error MSB6003: The specified task executable "cmd.exe" could not be run. The working directory "mkl\tools" does not exist.

Compiling the same configuration in Visual Studio 2013 IDE is working. 

Performance detoriation for certain array sizes

Hi Folks,

I don't know if this is the right place to post this issue, if not please let me know where it would be more appropriate to post it?
I'm having the following problem, using icpc 15.0.3, but I don't think this depeneds on the compiler bur rather on the CPU architecture.
Consider the following code in C++:

S’abonner à Intel® C++ Compiler