Intel® C++ Compiler

Intel C++ Compiler 16.0 is now available in Intel Parallel Studio XE 2016

The new version Intel C++ Compiler 16.0 is now available in Intel Parallel Studio XE 2016 that has launched early this week. If your support license is current you can download and install this at no additional charge from the Intel Registration Center

You will find some blog postings about some new features and new free tools.

Оптимизировали, оптимизировали, да не выоптимизировали!

Оптимизация? Конечно, каждый сталкивался с данной задачей при разработке своих, сколь-нибудь значительных, требующих определённых вычислений, приложений. При этом способов оптимизировать код существует огромное множество, и, как следствие, различных путей сделать это в автоматическом режиме с помощью опций компилятора. Вот здесь и возникает проблема – как выбрать то, что нужно нам и не запутаться?

icc 17.0.1 miscompiles valid C code at -Os (only) on x86_64-linux-gnu

Compiler version and platform: 

Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005 

$ icc -O1 small.c; ./a.out; echo $?
1
$ 
$ icc -Os small.c; ./a.out; echo $?
48
$ 
$ cat small.c
struct S
{
  int f;
} a;

int b, c;

void foo ()
{
  for (; b < 5; b++)
    {
      struct S d[1] = { { 1 } };
      a = d[0];
    }
}

int main ()
{
  foo ();
  for (c = 0; c;)
    ;
  return a.f;
}
$ 

 

icc 17.0.1 miscompiles valid C code at -Os and above on x86_64-linux-gnu

Compiler version and platform: 

Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005 

$ icc -O1 small.c; ./a.out
$ 
$ icc -Os small.c; ./a.out
0
$ 
$ cat small.c
int printf (const char *, ...);

long a[2], b, c;

int main ()
{
  long d = 3620225796;
  for (; c < 1; c++)
    d = 0;
  if (~d && d)
    printf ("%ld\n", b);
  a[d] = 1;
  return 0; 
}
$ 

 

xilib: : error #10036: unable to run 'lib'

I've tried to build project in VS2013 on Win8.1 machine. Intel compiler installed here:

C:\Program Files (x86)\Intel\System Studio 2015 for Windows.4.027\

I have following related diagnostic output:

1>xilib: : error #10036: unable to run 'lib'
1>xilib: : error spawn_errno_default: spawn('C:\PROGRA~2\Intel\SYSTEM~1.027\bin\ia32\xilink.exe') failed, errno=0
1>  The command exited with code -1. (TaskId:23)

Intel(R) Parallel Studio XE 2017 emulator for linux (SDE)

Hi all,

I am a newbe for Parallel Studio,

I Trying to understand if there is a emulator that i can use and download that emulates the use of Xeon Phi Coprocessors.

As far as i know, I had found that there is a a SDE (sde-external-7.49.0-2016-07-07-lin.tar.bz2) that i can use.

Are there any pre requirements to this installation ?

What linux platform should i use ( or what is the most prefered by intel) ?

What does thhis SDE gives me ?

Is this SDE can emulate the use of multiple cores and the use of threads parallelism ?

Using Intel-compiled libraries in non-Intel-Compiled projects

Hi,

I have been given a few libraries for Windows and OSX that have been compiled using the Intel C++ compiler (both statically and dynamically linked versions are available).  I am using MSVC 2012 on Windows, and XCode 8 on OSX and I am trying to use those libraries in projects that are not using the Intel compiler.  I have only tried this on Windows so far, but even the statically linked libraries are trying to pull in additional dependencies (libmmt.lib).

FFT Compilation Error

Hi .

I am trying to run benchfft with linking Intel-mkl but I am getting error with ” undefined reference to `zfft1d_'

System Details:

OS: Ubuntu 16.04

GCC: gcc version 5.4.0 20160609

ICC: icc version 17.0.0

Note: File benchfftw_test_mkl.c is attached with this report

source /opt/intel/mkl/bin/mklvars.sh intel64

gcc -lmkl_core  -ldl -lpthread -lm benchfftw_test_mkl.c

 

Error:

/tmp/ccsL8FHu.o: In function `main':

benchfftw_test_mkl.c:(.text+0xa): undefined reference to `zfft1d_'

Subscribe to Intel® C++ Compiler