<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Reinstalling the MIC debugger in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055788#M51852</link>
    <description>&lt;P&gt;Reinstalling the MIC debugger extensions finally made it work ...&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2015 10:05:02 GMT</pubDate>
    <dc:creator>PKM</dc:creator>
    <dc:date>2015-01-22T10:05:02Z</dc:date>
    <item>
      <title>Offload debugging on windows</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055785#M51849</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Having upgraded from parallel studio 2013 to the latest version of 2015 I am no longer able to debug MIC offload regions in Visual studio 2012. After the upgrade of parallel studio and the MPSS&amp;nbsp; I followed these instructions (https://software.intel.com/sites/default/files/article/391314/programming-phi-windows-1.7.pdf) to enable debugging, but I have been unable to get it working even for the LEO example described in the guide. On entering the first offload region with a breakpoint I simply get the message "Code not running - the current thread is not currently running code or the call stack could not be obtained".&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:32:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055785#M51849</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2015-01-19T14:32:59Z</dc:date>
    </item>
    <item>
      <title>I am not even getting any</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055786#M51850</link>
      <description>&lt;P&gt;I am not even getting any useful information from the offload regions in the traceback information provided when the code crashes when called from the command line:&lt;/P&gt;

&lt;P&gt;Image&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Routine&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source&lt;/P&gt;

&lt;P&gt;LIBOFFLOAD.DLL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000007FEE514C926&amp;nbsp; Unknown&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	LIBOFFLOAD.DLL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000007FEE513DA94&amp;nbsp; Unknown&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	LIBOFFLOAD.DLL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000007FEE513D438&amp;nbsp; Unknown&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	LIBOFFLOAD.DLL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000007FEE5160FAE&amp;nbsp; Unknown&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	AarhusInv_intel_2&amp;nbsp; 000000013FFB63AB&amp;nbsp; MCALCFIELDS_mp_FO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 641&amp;nbsp; calcfields.f&lt;/P&gt;

&lt;P&gt;compile line in Visual studio:&lt;/P&gt;

&lt;P&gt;/nologo /debug:full /Od /heap-arrays0 /fpp /I"Debug/" /Qoffload:optional /Qopenmp /warn:noalignments /fpe:0 /module:"IntelFortran\Win64\Debug/" /object:"IntelFortran\Win64\Debug/" /Fd"IntelFortran\Win64\Debug\vc110.pdb" /traceback /check:all /libs:static /threads /dbglibs /Qmkl:parallel /c /Zi&lt;/P&gt;

&lt;P&gt;Link line in visual studio:&lt;/P&gt;

&lt;P&gt;/OUT:"IntelFortran\Win64\Debug\AarhusInv_intel_2013.exe" /VERSION:2.1 /INCREMENTAL:NO /NOLOGO /qoffload-ldopts="-lifcoremt -mkl=parallel" /MANIFEST /MANIFESTFILE:"IntelFortran\Win64\Debug\AarhusInv_intel_2013.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"IntelFortran\Win64\Debug\AarhusInv_intel_2013.pdb" /MAP /MAPINFO:EXPORTS /ASSEMBLYDEBUG /SUBSYSTEM:CONSOLE /HEAP:1000000 /STACK:50000000,1000000 /IMPLIB:"P:\casper.kirkegaard\ftn\aarhusinv_phi\IntelFortran\Win64\Debug\AarhusInv_intel_2013.lib"&lt;/P&gt;

&lt;P&gt;Any suggestions will be greatly appreciated ...&lt;/P&gt;

&lt;P&gt;C&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:06:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055786#M51850</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2015-01-20T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Sorry for the delayed</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055787#M51851</link>
      <description>&lt;P&gt;Sorry for the delayed response. I will check whether I can debug a Fortran offload sample under the VS 2013 and IPS XE 2015 release.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 16:05:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055787#M51851</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-20T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Reinstalling the MIC debugger</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055788#M51852</link>
      <description>&lt;P&gt;Reinstalling the MIC debugger extensions finally made it work ...&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 10:05:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055788#M51852</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2015-01-22T10:05:02Z</dc:date>
    </item>
    <item>
      <title>Thank you for the update on</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055789#M51853</link>
      <description>&lt;P&gt;Thank you for the update on the root cause and solution. Yours is the first that I had heard of that particular error and I had not been able to reproduce anything similar on my end, so I’m glad you resolved this.&lt;/P&gt;

&lt;P&gt;You wrote "Reinstalling" but can I just confirm that you did install the MIC debugger extensions with the initial IPS XE 2015 installation and to resolve this issue you un-installed and re-installed just the debug extensions component?&lt;/P&gt;

&lt;P&gt;I apologize, the document you referred to is dated related to the putty setup which is no longer necessary so I'll have the document updated. You could undo any putty setup you followed to avoid unneeded pollution of the MPSS area.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 16:18:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055789#M51853</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-22T16:18:46Z</dc:date>
    </item>
    <item>
      <title>Yes, that is exactly what I</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055790#M51854</link>
      <description>&lt;P&gt;Yes, that is exactly what I did - ie. "install the MIC debugger extensions with the initial IPS XE 2015 installation and to resolve this issue you un-installed and re-installed just the debug extensions component" ...&lt;/P&gt;

&lt;P&gt;However, now that I got it working I find that debugging offload code has become even more involved in the 2015 release. With the 2013 compiler any runtime error produced on the MIC side would typically give some kind of error message either directly in the debugger, or at least when run from the host command line. The messages would sometimes be hard to interpret, but at least you were given a hint. With v2015 I typically get no help at all as to what is happening on the MIC side - the traceback information I provided earlier is all I get. This means that I am left to find both the location and type of error myself, which makes debugging considerably more time consuming. I have both runtime error checking and traceback information enabled, but maybe I need some special switches to enable this on the MIC side in 2015?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;C&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 07:36:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055790#M51854</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2015-01-23T07:36:22Z</dc:date>
    </item>
    <item>
      <title>I am not aware of anything</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055791#M51855</link>
      <description>&lt;P&gt;I am not aware of anything new or specifically needed for debugging offload code with IPS XE 2015 so I will inquire with others about your observations.&lt;/P&gt;

&lt;P&gt;The article on &lt;A href="https://software.intel.com/en-us/articles/debugging-intel-xeon-phi-applications-on-windows-host" target="_blank"&gt;&lt;STRONG&gt;Debugging Intel® Xeon Phi™ Applications on Windows* Host &lt;/STRONG&gt;&lt;/A&gt;discusses basic requirements and usage; however, even if you have not seen it, I expect you are probably already following the recommendations it contains.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 10:41:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055791#M51855</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-23T10:41:56Z</dc:date>
    </item>
    <item>
      <title>Unfortunately I am not</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055792#M51856</link>
      <description>&lt;P&gt;Unfortunately I am not finding much.&lt;/P&gt;

&lt;P&gt;I do not believe this impacts your case but there is a fix (associated with internal tracking id DPD200180997) in the 2015 release that resolves a defect (in the previous 2013 SP1 release) with not providing complete traceback information when using &lt;STRONG&gt;/check:bounds /traceback&lt;/STRONG&gt;. In this specific case the program displayed the Fortran RTL (forrtrl:) error; however, no traceback was provided at all.&lt;/P&gt;

&lt;P&gt;Our Debugger team is not aware of any improvements at the debugger level in the 2015 release. They indicate the debugger “just stupidly” forwards anything that pops up underneath so if errors are not forwarded anymore then it will not show anything in the output or dialogs.&lt;/P&gt;

&lt;P&gt;Besides the traceback you noted in your earlier post, is there any information in the IDE “Output Window” when running under the debugger?&lt;/P&gt;

&lt;P&gt;I do not know whether setting the environment variable &lt;STRONG&gt;OFFLOAD_REPORT=3&lt;/STRONG&gt; will shed any light on what stage the failed offload is reaching in your app, but you could try setting this when running via the command-line.&lt;/P&gt;

&lt;P&gt;Something else you can try is the &lt;STRONG&gt;coitrace &lt;/STRONG&gt;utility. This is an internal diagnostic Developer's tool that sometimes is helpful when used with the &lt;STRONG&gt;OFFLOAD_REPORT&lt;/STRONG&gt; set simultaneously to observe the offload RTL’s interaction with COI. So you could try setting &lt;STRONG&gt;OFFLOAD_REPORT=3&lt;/STRONG&gt; and then running the app under the command-prompt as follows:&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;coitrace -short &amp;lt;your exe here&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you can capture the output to a file that might offer us something to help determine the failure your program experienced.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 10:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-debugging-on-windows/m-p/1055792#M51856</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-01-27T10:48:52Z</dc:date>
    </item>
  </channel>
</rss>

