<?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 Handler: Saw access violation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791491#M32905</link>
    <description>Ok, I removed the VS2010 build and now everything is being built within the VS2005-SP2 environment. All fortran DLL's were rebuilt in VS2005-SP2, release mode, using Intel Visual Fortran Compiler XE 12.1.1.258 [IA-32]. I see an improvement in the core usage (up to 60%) but the crash with error message "Handler: Saw access violation" (no line number reported) is still happening. I will try to rebuild in debug mode to see if I can figure out why the crash is happening. It's an error message I've never seen before. This crash did not happen in release mode for Intel Visual Fortran Compiler 10.1.&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Nov 2011 15:13:58 GMT</pubDate>
    <dc:creator>larryscheier</dc:creator>
    <dc:date>2011-11-16T15:13:58Z</dc:date>
    <item>
      <title>Handler: Saw access violation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791489#M32903</link>
      <description>I have a computation intensive, large mixed fortran/C project (win32 DLL) which I rebuilt using VS2010 and Intel Fortran Composer 2011 Update 7 (in release mode). This was linked against several C libraries (several Win32 DLL's and one Win32 exe) built with VS2005-SP2 (all in release mode). When running the legacy exe (which calls the rebuilt fortran DLL) on an Intel multicore processor, two bad things happen: 1) none of the processor cores use more than 10% so the runtime is very slow, 2) toward the end, the program crashes with the following error message: "Handler: Saw access violation.. Stack trace terminated abnormally." Normally, when I run the exe and all the DLL's built in VS2005 and Intel Fortran 10.1, the program works fine and one of the cores runs at 100%. &lt;BR /&gt;&lt;BR /&gt;This was just a test to see if I could mix VS2005-built exe/DLL's with VS2010-built Composer DLL. Is this expected to fail or can I do something to improve the odds of success?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Larry</description>
      <pubDate>Wed, 16 Nov 2011 13:50:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791489#M32903</guid>
      <dc:creator>larryscheier</dc:creator>
      <dc:date>2011-11-16T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Handler: Saw access violation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791490#M32904</link>
      <description>I suspect VS2005 built Fortran/C++ DLL's are using VS2005 C-Runtime DLL's/statics and VS2010 built Fortran/C++ DLLs are using VS2010 C-Runtime DLL's/statics. And that you have exposed a compatibility issue related not to the code generated by the compiler but in the combination of and expectation of different versioned DLL's can work compatibly.&lt;BR /&gt;&lt;BR /&gt;The fact that the program is jumping around from core to core indicates a context switch, possibly between threads in your app, or page faults, or other system activity.</description>
      <pubDate>Wed, 16 Nov 2011 14:08:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791490#M32904</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-11-16T14:08:13Z</dc:date>
    </item>
    <item>
      <title>Handler: Saw access violation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791491#M32905</link>
      <description>Ok, I removed the VS2010 build and now everything is being built within the VS2005-SP2 environment. All fortran DLL's were rebuilt in VS2005-SP2, release mode, using Intel Visual Fortran Compiler XE 12.1.1.258 [IA-32]. I see an improvement in the core usage (up to 60%) but the crash with error message "Handler: Saw access violation" (no line number reported) is still happening. I will try to rebuild in debug mode to see if I can figure out why the crash is happening. It's an error message I've never seen before. This crash did not happen in release mode for Intel Visual Fortran Compiler 10.1.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:13:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791491#M32905</guid>
      <dc:creator>larryscheier</dc:creator>
      <dc:date>2011-11-16T15:13:58Z</dc:date>
    </item>
    <item>
      <title>Handler: Saw access violation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791492#M32906</link>
      <description>Ok, I have resolved the problem. The new compiler found a couple cases of &lt;B&gt;"&lt;/B&gt;Dummy character variable has length greater than actual length&lt;B&gt;"&lt;/B&gt; which&lt;B&gt; &lt;/B&gt;happened when a dummy argument in a C routine was passing a variable string to a fortran subroutine expecting a fixed string. The "Handler: Saw access violation" error occured on a line in which the code was trying to change a dummy argument that was being passed in as a pre-defined constant, e.g.,&lt;BR /&gt;&lt;BR /&gt;Call BadProgramming(.FALSE.)&lt;BR /&gt;&lt;BR /&gt;Subroutine BadProgramming(FirstTimeFlag)&lt;BR /&gt;LOGICAL FirstTimeFlag&lt;BR /&gt;FirstTimeFlag = .TRUE.&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Obviously, you can't change a constant.&lt;BR /&gt;&lt;BR /&gt;I still have to run some different compiler options to see which results in the fastest speed.</description>
      <pubDate>Wed, 16 Nov 2011 17:49:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Handler-Saw-access-violation/m-p/791492#M32906</guid>
      <dc:creator>larryscheier</dc:creator>
      <dc:date>2011-11-16T17:49:35Z</dc:date>
    </item>
  </channel>
</rss>

