Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Browsing all 1175 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Boost 1.71 - static_assert failure during compilation

Hello,I would like to report an error during the compilation of a code that uses the beast component of Boost (v1.71.0).Basically, I obtain the following error when I call the function...

View Article


std::error_code, std::system_error and std::generic_category

Does the C++ standard library have these C++11 features?My simple program:#include <iostream> std::error_code code; int main() { std::cout << "Hello"<< std::endl; } fails to compile...

View Article


Why does Intel C compiler link c++ libraries for pure C code?

I am compiling the most basic hello.c on Mac OS X Catalina 10.5.2, Xcode 11.3, ICC 19.0.4.233 20190416#include <stdio.h> int main() { printf("Hello!\n"); return(0); }gcc  hello.cls -l...

View Article

Segment Fault after producing debug information

Hi,    When compiling the following program without the -g parameter, the run result is -1. After the -g parameter is added, the run result is reported as a Segment Fault. Perhaps intelc has some...

View Article

ICC 19.0.4.243 parallelized loop with confirmed Race Condition on Lenovo...

Hi there, I am compiling the code below with ICC using the following command line: icc -w -par-threshold0 -no-vec -fno-inline -parallel -qopt-report-phase=all -qopt-report=5 1 #include <stdio.h>...

View Article


Comparing two vectors of floats returns a vector of floats

It should return a vector of integers.  The GCC documentation is pretty clear:Vector comparison is supported with standard comparison operators: ==, !=, <, <=, >, >=. Comparison operands...

View Article

Image may be NSFW.
Clik here to view.

Regression of Intel C++ Compiler v19.1 : Unresolved symbol

Using Ubuntu 19.10 or 18.04 LTS, when using the latest version of the Intel C++ Compiler issued in Parallel Studio XE 2020 (version 19.1.0.166 / 20191121), attempts to build UCX with the -ipo flag...

View Article

SIMD data and std::vector

With the Microsoft compiler, compiling in C++ standard compliance mode of 2017 or later, I can use SIMD data types for example in std::vector without custom allocators. When trying to use Intel...

View Article


icpc: error #10106: intel64/mcpcom, terminated by floating point exception

OS- Linux login1 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxCompiler - intel parallel studio 19.5 with GCC 8.3.0CUDA - 10.1Application - Gromacs -2020 -...

View Article


Error when compiling R from source code (ubuntu 18.04)

Hi all,I'm trying to compile R 3.4.2 from the source code following this guide:https://software.intel.com/en-us/articles/build-r-301-with-intel-c-compiler-and-intel-mkl-on-linuxHowever, I got the...

View Article

ippvalarray fails to compile when using Intels Optimized Headers

Hello, I'm not sure why, but when I use Intels Optimized Headers(specifically valarray) the compiler will point out about 66 or so syntax errors. I'm unsure why this is happening.I'm on Visual Studio...

View Article

testing out evaluation copy of parallel studio on linux

I hope this is the correct forum.  I just download the 30 day trial of parallel studio xe 2020 cluster edition (online) for linux to test out the intel c/c++ compiler.When I run the install.sh I get an...

View Article

As of year 2020 AD what is the best C++ version for latest Intel CPU

As of year 2020 AD what is the best C++ version for the latest Intel CPU?I am using 32 bit Microsoft Windows.I chose, months ago, to learn C++11 and I am learning it via CODE::BLOCKS 17.12 . It seemed...

View Article


Image may be NSFW.
Clik here to view.

Intel C++ 19.1 Link error: unresolved Symbol with C++17

Visual Studio 14.9.19Intel Parallel Studio XE 2020Latest Windows 10The following piece of code (VS project attached) fails to link with an error1>ipo_1894819obj3.obj : : error LNK2019: unresolved...

View Article

Intel Compiler 19.0 Initial Release C++17 support with Visual Studio 2017

I'm currently evaluating the possibility to move from C++11 to C++17. I currently use VS 2017 and Intel Compiler 19.0.0 (Initial Release), and I got two questions: ⚫ Q1: Does IC 19.0.0 supports C++17...

View Article


Investigating Intel compiler optimization capabilities

Hello,I've found that some codes compiled by the Intel compiler are significantly slower than those by GCC.Here is a sample code.https://github.com/kaityo256/compiler_testThis is a Monte Carlo...

View Article

Not Compatible With "-static-pie" as in GCC

Less of a bug report and more of a request to implement the ; the "-static-pie" flag is already available in most newer versions of GCC and Clang, but it is an unrecognized flag by icc/icpc, and...

View Article


Statement expr inside of __assume incorrectly considered to have side-effects

I'm getting a ton of invalid warnings from ICC about an __assume with side effects.  It turns out the "problem" is that I'm using a statement expr (which has no side effects).  Here is a reduced test...

View Article

cmake - Could NOT find MPI_CXX

I am trying to compile the simulation software LAMMPS using CMake, and run into some trouble: -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES) (found version "3.1") CMake Error at...

View Article

Converting constructor issue with std::variant

Apologies if the issue was already reported but have a look at the following code snippet#include <variant> std::variant<int, char*> foo() { return 0xD; }This should compile by choosing the...

View Article
Browsing all 1175 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>