Intel® C++ Compiler

Intel c++ compiler not recognizing in visual studio 2015

Hi

cmake -G "Visual Studio 14 2015 Win64" -T"Intel C++ Compiler 17.0" .. 

whenever i use the above command it , it says INTEL c++ compiler is not found. It recognizes the MSVC 19.0.24215.1 by default. my question is how to enable intel c++ compiler. I followed the below links to get Intel c++ compiler but still it's not recognizing https://software.intel.com/en-us/articles/installing-visual-studio-2015-for-use-with-intel-compilers . 

thanks

fail to build ffmpeg with icc 14

Hi,

I use the following command to build the latest ffmpeg from master branch:

./configure --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-avfilter --disable-static --enable-shared --enable-gpl --enable-nonfree --prefix=/usr/local/ --extra-cflags='-I/usr/local/include --extra-ldflags='-L/usr/local/lib --enable-stripping
make

But I fail to compile ffmpeg, and error message is shown as below:

icc reports "Requires 'install path' setting gathered from 'gcc'"

# what happened

sample code("main.c"):
```
int main(){}
```

when run `icc main.c`, it reports:
```
icc: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'
```

# environments

arch linux
```
Linux zhanghao 4.14.15-1-ARCH #1 SMP PREEMPT Tue Jan 23 21:49:25 UTC 2018 x86_64 GNU/Linux
```

Continuing problems with debugging information emitted by ICC 18 on Windows

There have been many ongoing issues with debugging information emitted by ICC on Windows - typically the issue is that no data is visible for variables or 'this' when you stop in the Visual Studio 2017 debugger - I am compiling with optimization off for debugging, of course and with /Zi

The latest 2018  Update 1 still has problems. For example, I am stepping though some C++ code right now and the debugger cannot see any variables belonging to "this", yet can see passed in parameters. Its very frustrating to have to revert to print statements to do debugging!

Compiling Gromacs 2018 using Intel 2018.1 compiler on OSX 10.13.3

I’m trying to compile Gromacs 2018 with icc 2018.1.126 on a iMac using flag

cmake .. -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DGMX_GPU=on -DGMX_USE_OPENCL=on -DGMX_SIMD=AVX2_256 -DGMX_FFT_LIBRARY=mkl -DREGRESSIONTEST_DOWNLOAD=ON

The cmake succeed without any warning but during the making I have encountered an error.

AVX and omp simd vectorization of functions

I am having trouble understanding the output of ICC (18.0.1.163) when generating vectorized functions with pragma omp declare simd. Consider the following simple code for a vectorized pow10 function:

#include <math.h>
#pragma omp declare simd simdlen(4)
double pow10v(double x)
{
  return exp(2.3025850929940459*x);
}

I compile this for an AVX2 capable CPU:

Compatibility of ICC Intel® C++ Compiler 18.0 with XCode 9

Hi guys.. A question about subject.. How can i use the compiler with Xcode 9? I tried the guide on:https://software.intel.com/en-us/get-started-with-cpp-compiler-18.0-for-... but Xcode doesn't find ,selecting process c++, ICC Intel® C++ Compiler 18.0  .. My OS is mac OS Sierra 10.13.1 .. If with Xcode isn't possible execute  using my intel Iris, how can i use optimizing the code and running parallel programming?

Subscribe to Intel® C++ Compiler