<?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 Re: Clear out Console Write Error on IVF 11 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881771#M75456</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;As long as all the callers of your DLL are non-Fortran, it is safe to link the DLL statically. If Fortran code will call your DLL, then both the DLL and the caller must be linked to the DLL libraries.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;My calling program is a small QuickWin program (linked to the Quickwin libs). All seems to be running fine with the mixed C/Fortran DLL staticaly linked to the Fortran runtime. The entry points to the DLL are all in C.&lt;/P&gt;
&lt;P&gt;Is this just temporary luck or is a QuickWin program really a non-Fortran program? Or does a mixed C/Fortran dll not have this limitation?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2008 20:07:30 GMT</pubDate>
    <dc:creator>rkaehler</dc:creator>
    <dc:date>2008-12-17T20:07:30Z</dc:date>
    <item>
      <title>Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881765#M75450</link>
      <description>&lt;P&gt;After struggling with the Console write error with the latest version of IVF (documented elsewhere on this list), I have installled to 10.1.29, but the error persists. I have changed the compiler choice in Tools-&amp;gt;Options to the version 10 compiler along with any references to libraries in the project settings.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there a runtime component somewhere I have to replace to get rid of this problem?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2008 00:40:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881765#M75450</guid>
      <dc:creator>rkaehler</dc:creator>
      <dc:date>2008-12-16T00:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881766#M75451</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;I can't find the other discussion you reference and don't recognize the problem you describe. Would you please supply more detail?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2008 01:30:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881766#M75451</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-12-16T01:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881767#M75452</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;I can't find the other discussion you reference and don't recognize the problem you describe. Would you please supply more detail?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Sorry, not clear enough.&lt;/P&gt;
&lt;P&gt;It is the error writing to a console from a DLL, documented in:&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="padding: 0px; width: 100%; border-bottom-width: 0px;"&gt;&lt;STRONG&gt;&lt;A href="https://community.intel.com/../../62077/"&gt;Problem with Console output from a Fortran DLL&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD style="padding: 2px; width: 15px; border-bottom-width: 0px;"&gt;&lt;/TD&gt;
&lt;TD style="padding: 2px; width: 15px; border-bottom-width: 0px;"&gt;&lt;A href="https://community.intel.com/../../62077/feed" target="_blank"&gt;&lt;IMG src="https://community.intel.com/../../media/images/small_icons/rss.png" border="0" alt="" /&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;By &lt;A href="https://community.intel.com/../profile/408360"&gt;larsl&lt;/A&gt; On December 1, 2008 10:47 AM PST&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="padding: 0px; width: 100%; border-bottom-width: 0px;"&gt;&lt;STRONG&gt;&lt;A href="https://community.intel.com/../../61947/"&gt;Error writing to console&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD style="padding: 2px; width: 15px; border-bottom-width: 0px;"&gt;&lt;/TD&gt;
&lt;TD style="padding: 2px; width: 15px; border-bottom-width: 0px;"&gt;&lt;A href="https://community.intel.com/../../61947/feed" target="_blank"&gt;&lt;IMG src="https://community.intel.com/../../media/images/small_icons/rss.png" border="0" alt="" /&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;By &lt;A href="https://community.intel.com/../profile/160668"&gt;jablin@bridgetech-laramie.com&lt;/A&gt; On November 28, 2008 7:51 AM PST&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;It looks like it might be an error in the runtime libraries, since even a version compiled on 10.1.29 that works fine on the machine it was built on will generate the error when it is run on the Vista machine that had IVF 11 installed (before I installed 10.1.29 on it)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2008 20:33:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881767#M75452</guid>
      <dc:creator>rkaehler</dc:creator>
      <dc:date>2008-12-16T20:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881768#M75453</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;Oh, this is the one where the console is created with AllocConsole. Yes, that is a run-time library error. It would show if you copied the EXE only if it was linked against the DLL form of the Intel run-time libraries. A static linked application would not show the error that way. This issue is not yet fixed - writing to unit 0 is a workaround. If you have the Fortran code in a DLL, link it statically against the old version (Properties &amp;gt; Fortran &amp;gt; Libraries &amp;gt; Use Run-Time Library -&amp;gt; Multithreaded (/MT)) and it should work.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2008 21:34:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881768#M75453</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-12-16T21:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881769#M75454</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/349310"&gt;rkaehler&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;After struggling with the Console write error with the latest version of IVF (documented elsewhere on this list), I have installled to 10.1.29, but the error persists. I have changed the compiler choice in Tools-&amp;gt;Options to the version 10 compiler along with any references to libraries in the project settings.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there a runtime component somewhere I have to replace to get rid of this problem?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the tip Steve. I have naively believed that I needed to link to the DLL versions (since I was making a DLL). Linking to the static libs will also solve some support headaches.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2008 22:04:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881769#M75454</guid>
      <dc:creator>rkaehler</dc:creator>
      <dc:date>2008-12-16T22:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881770#M75455</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;As long as all the callers of your DLL are non-Fortran, it is safe to link the DLL statically. If Fortran code will call your DLL, then both the DLL and the caller must be linked to the DLL libraries.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2008 00:34:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881770#M75455</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-12-17T00:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881771#M75456</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;As long as all the callers of your DLL are non-Fortran, it is safe to link the DLL statically. If Fortran code will call your DLL, then both the DLL and the caller must be linked to the DLL libraries.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;My calling program is a small QuickWin program (linked to the Quickwin libs). All seems to be running fine with the mixed C/Fortran DLL staticaly linked to the Fortran runtime. The entry points to the DLL are all in C.&lt;/P&gt;
&lt;P&gt;Is this just temporary luck or is a QuickWin program really a non-Fortran program? Or does a mixed C/Fortran dll not have this limitation?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2008 20:07:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881771#M75456</guid>
      <dc:creator>rkaehler</dc:creator>
      <dc:date>2008-12-17T20:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Clear out Console Write Error on IVF 11</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881772#M75457</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;The issue is that a statically linked DLL or EXE doesn't share its run-time library with the other, so if you open a unit in one it won't be open in the other, for example. In the case of QuickWin, as long as your DLL does not try to do QuickWin operations and never allocates or deallocates memory belonging to the EXE, you're probably ok.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2008 20:35:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Clear-out-Console-Write-Error-on-IVF-11/m-p/881772#M75457</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-12-17T20:35:08Z</dc:date>
    </item>
  </channel>
</rss>

