intel-composer

Can a stack overflow be sometimes misinterpreted by the compiler as an Access violation?

耗尽温柔 提交于 2019-12-24 15:22:20
问题 I have a fortran code compiled with Intel fortran compiler 2013 and VS2010 under windows 7 that started to give me unhandled exceptions without showing the line in which the code was crashing. Usually an error like this was showing up: Unhandled exception at 0x73e1d3d2 in GRIB2METEOriparto.exe: 0xC0000005: Access violation writing location 0x00240ef4.... and the call stack had only dbghelp.dll or verifies.dll and no source available. I moved my source files under Cygwin, I compiled with

Intel Compiler uses wrong header

╄→尐↘猪︶ㄣ 提交于 2019-12-11 13:01:20
问题 I am trying to find out why the Intel Compiler 18.0 , which got installed after my Visual Studio 2017 installation, uses the header files of MSVC , instead of it's own one (since it results in errors). A simple #include <vector> triggers this error in an otherwise empty translation unit when compiled in a C++ project within Visual Studio 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error : expected a ">" 1> _INLINE_VAR

Debugging Intel Compiled Project with GDB

旧时模样 提交于 2019-12-11 09:45:47
问题 I've got a simple Hello World project in the Code::Blocks IDE which I'm compiling using the Intel C++ compiler. I've set the compiler option '/Zi' in the projects Build Settings so I can debug the application with breakpoints. However no breakpoints are ever reached. It appears that no debugging symbols can be found within the object. They are correctly reached when I change to use the gcc compiler however. What am I missing here? Shouldn't this work as is? [Update] Seems to work on Linux but