Questions tagged [icpx]

5 questions
1
vote
1 answer

Macro to check if I am running MSVC or Intel compiler

I am using the newest Visual Studio 2022 and also installed the Intel C++ compiler. When I just write a simple main() to print the values of the macros MSC_VER and __INTEL_LLVM_COMPILER, I get MSC_VER = 1937, and __INTEL_LLVM_COMPILER =…
ijklr
  • 145
  • 8
0
votes
1 answer

How can the Intel C++ libraries path be added to the runtime library path using CMake?

I am developing a library using CMake for building automation. I have a problem when using the Intel C++ Compiler. As a matter of fact, the compilation is successful. However, when I call the library in another project, where the Intel environmental…
CaG
  • 65
  • 6
0
votes
1 answer

-use-intel-optimized-headers not recognized ("argument unused during compilation") for compilation, only for linking?

Trying to follow this (Intel64/Linux): https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/libraries/intel-c-class-libraries/intel-s-valarray-implementation.html But…
c1mth0g
  • 1
  • 1
0
votes
1 answer

Intel one-api compiler errors in compiling GDAL cpp files

I aim to compile gdal cpp files as a mini-stage of compiling a hydrological model. To do so, on Ubuntu, I installed Intel OneAPI base toolkit. Using its compiler, icpx, I tried to compile gdal cpp files. However, it throws errors related of not…
0
votes
1 answer

How to run a simple openMP example using eclipse?

I already have intel basekit installed, and eclipse for C / C ++: (eclipse-inst-jre-linux64.tar.gz), but I can't find a way to run a simple example using openmp. In the terminal I compile my example with: icpx -fiopenmp -fopenmp-targets = spir64…
Arpita - Intel
  • 37
  • 1
  • 10