<?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: Opening Console Output File for write(*,*) in library. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Opening-Console-Output-File-for-write-in-library/m-p/849082#M65325</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/241779"&gt;rre9518&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;I'm using a set of FORTRAN routines from a console application in a library. The write(*,*) statemetns crash. I tried opening unit 6 and unit 2 before the writes but it still didn't work.&lt;BR /&gt;&lt;BR /&gt;I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Can you explain what you mean by "crash" ?&lt;BR /&gt;If you open a console window and run your program what error message do you get?&lt;BR /&gt;&lt;BR /&gt;What do you meanyou "can't modify the code" (do you mean the library code?) &lt;BR /&gt;You obviously can change some code because you said you added open statements&lt;BR /&gt;&lt;BR /&gt;The usual advice :&lt;BR /&gt;In your own code (that you &lt;EM&gt;can&lt;/EM&gt; modify)add IMPLICIT NONE to all your routines.&lt;BR /&gt;Turn on all debugging aids (array bounds, uninitialized variables etc)&lt;BR /&gt;Afterrebuilding your exeopen the console window and run the program again.&lt;BR /&gt;Better still run the program in the Visual Studio IDE debug mode then when it "crashes" you should be able to see where and what are the values of your data.&lt;BR /&gt;&lt;BR /&gt;Les</description>
    <pubDate>Tue, 28 Apr 2009 16:02:16 GMT</pubDate>
    <dc:creator>Les_Neilson</dc:creator>
    <dc:date>2009-04-28T16:02:16Z</dc:date>
    <item>
      <title>Opening Console Output File for write(*,*) in library.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Opening-Console-Output-File-for-write-in-library/m-p/849081#M65324</link>
      <description>I'm using a set of FORTRAN routines from a console application in a library. The write(*,*) statemetns crash. I tried opening unit 6 and unit 2 before the writes but it still didn't work.&lt;BR /&gt; &lt;BR /&gt; I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?</description>
      <pubDate>Tue, 28 Apr 2009 13:29:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Opening-Console-Output-File-for-write-in-library/m-p/849081#M65324</guid>
      <dc:creator>rre9518</dc:creator>
      <dc:date>2009-04-28T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Console Output File for write(*,*) in library.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Opening-Console-Output-File-for-write-in-library/m-p/849082#M65325</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/241779"&gt;rre9518&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;I'm using a set of FORTRAN routines from a console application in a library. The write(*,*) statemetns crash. I tried opening unit 6 and unit 2 before the writes but it still didn't work.&lt;BR /&gt;&lt;BR /&gt;I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Can you explain what you mean by "crash" ?&lt;BR /&gt;If you open a console window and run your program what error message do you get?&lt;BR /&gt;&lt;BR /&gt;What do you meanyou "can't modify the code" (do you mean the library code?) &lt;BR /&gt;You obviously can change some code because you said you added open statements&lt;BR /&gt;&lt;BR /&gt;The usual advice :&lt;BR /&gt;In your own code (that you &lt;EM&gt;can&lt;/EM&gt; modify)add IMPLICIT NONE to all your routines.&lt;BR /&gt;Turn on all debugging aids (array bounds, uninitialized variables etc)&lt;BR /&gt;Afterrebuilding your exeopen the console window and run the program again.&lt;BR /&gt;Better still run the program in the Visual Studio IDE debug mode then when it "crashes" you should be able to see where and what are the values of your data.&lt;BR /&gt;&lt;BR /&gt;Les</description>
      <pubDate>Tue, 28 Apr 2009 16:02:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Opening-Console-Output-File-for-write-in-library/m-p/849082#M65325</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2009-04-28T16:02:16Z</dc:date>
    </item>
  </channel>
</rss>

