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

Setting the number of threads in a shared library

I'm having troubles using more than one thread in a OpenMP parallel region in a shared library.Let's say that I have a function foo in my library foo.sovoid foo(){  int NT = omp_get_max_threads();...

View Article


differences between -O1 and -O2?

Hi,I have a code that segfaults with -O2 but not with -O1. Is there a way I can find out what the optimization differences between O1 and O2 are so that I can get a clue about the segfault?Thanks.jgw 

View Article


Installation problem

I have two problems when installing Intel Fortran compiler and C++ compiler.1> The latest version of ubuntu seems to be 15.04, but my current version of ubuntu is latest 16.04. What exactly do I...

View Article

Is there any alternative way to achieve function of some gcc options? (like...

Hi, all,I am trying to use icc to compile an already existed porject which used to be compiled using gcc. At first i thought icc is compatible with gcc (my gcc version is 4.8.4 and icc version is 2015)...

View Article

Image may be NSFW.
Clik here to view.

Strange issue with omp parallel for with static schedule

Hello,I found an strange issue with openmp parallel for with schedule clause which I believe is a bug.I have attached the minimal code sample to reproduce the issue. #include <stdio.h> #include...

View Article


Flex License Manager Migration

We are trying to migrate Flex License Manager to new server. We need to make sure existing environments work as well transition of these licenses smoothly without any interruptions.1) Can we have...

View Article

C++ compiler version 15.00

I am trying to compile a code using the CUDA toolkit, which is strictly compatible with Intel C++ compiler version 15.00. Is it possible to get precisely this version?DanielZone: Modern CodeThread...

View Article

memcpy to/from arrays of wrapped SIMD types

I'm looking for a way to (reasonably efficiently) move between SIMD type arrays and standard data types (int, long, char, etc...)  Before I really sat down and thought about what was going on I tried...

View Article


STM compiler using ICC serial number failed

Hello, because I have to compile a project using intel STM C++ compiler, I try to install guided by https://software.intel.com/en-us/articles/intel-c-stm-compiler-prototype-edition . And I have a...

View Article


"assertion failed: dump_type_declaration: bad type kind" in ICL

Hello.The following simple code compiles and runs fine.template<class D> struct CRTP { const D& Derived() const { return static_cast<const D&>(*this); } auto get() const { return...

View Article

Segmentation fault on Arch Linux when compiled with icpc

Hey,I am having problems when trying to run an icpc-compiled program. I know Intel compilers are not officially supported on my platform, but I would appreciate if you helped me solve the problem. icc...

View Article

problem with -filelist option with XE Composer 2016 on Mac

I'm currently using the deprecated stdc++ library in my Mac app. I want to switch to libc++ but now my application compiled with icc crashes when using a c++ library (it does not crash when launched,...

View Article

Intel compiler cannot find libstdc++ include files

So I am trying to use Intel compiler on SMP to which I have only user access. I tried to compile simple Hello World program, but I am getting the erroricpc: error #10001: could not find directory in...

View Article


New functions for reading files iostream etc

its been a fair while since I did c and c++ at university. What I'd like to know is what functions and headers are best for reading text from a file. I'm looking to read engineering data such as floats...

View Article

error : unable to obtain mapped memory (see pch_diag.txt)

Hi,After updating to Version 2016.3.207 (Intel Compiler 16.0 Update 3), I am now getting errors like the following all over the place:C:\Program Files (x86)\Microsoft Visual Studio...

View Article


Compilation error in icc

the following code is being compiled properly with gcc but giving error with icc in windows.#ifdef CPUKIND_IA typedef int _v4si __attribute__ ((vector_size(16)));Error : expected a ';' before...

View Article

how to ignore deprecated warning

hi,The icc version that I use is 'icc (ICC) 14.0.2 20140120' in linux.Some elements in some structs are declared as deprecated. Some functions will use those deprecated elements.For example,...

View Article


Intel compiler licence has expired

Hey I have a licence for Intel® Parallel Studio XE Composer Edition for C++ Windows* that have expired yesterday ,The guy who sold the licence to me said that the licence is for one year of support,...

View Article

Visual Studio 2015 Update 3 C++ compiler vs Intel 16.0

The Visual Studio Compiler  team have introduced new optimization capabilities in VS 2015 Update 3 see (https://blogs.msdn.microsoft.com/vcblog/2016/05/04/new-code-optimizer/)  and I have to say it...

View Article

Documentation for previous versions

I'm working on a project ("Hedley") to abstract away some differences between compilers, but I'm having trouble figuring out when certain features were added to ICC.  For example, I have a...

View Article
Browsing all 2797 articles
Browse latest View live


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