<?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 Executable problem Windows 7  in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781300#M27876</link>
    <description>This is a consequence of using a program that is running from a graphical user-interface.&lt;BR /&gt;The console window exists only for the program's sake and disappears right after the&lt;BR /&gt;program finishes.&lt;BR /&gt;&lt;BR /&gt;Open a DOS-box (via Start/Run ..., type "cmd" as the command). That gives you a command&lt;BR /&gt;window, like xterm in Linux, that exists independent of any program you run.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
    <pubDate>Tue, 06 Dec 2011 11:30:09 GMT</pubDate>
    <dc:creator>Arjen_Markus</dc:creator>
    <dc:date>2011-12-06T11:30:09Z</dc:date>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781299#M27875</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am an engineer and only write Fortran programs as and when required. In the past I have used Linux to create my code but in my present job I am using Windows 7. I only need to create a cmd line program to perform some calculations but I have a really basic problem that everytime I create an executable and run it, the cmd prompt instantly closes. This occurs even with a Hello World program!&lt;BR /&gt;&lt;BR /&gt;I can see it completes the statetment in the code, it just closes the cmd prompt before I can see the output. I have have the same problem on either Windows 7 32 or 64bit. Does anybody know how I can resolve this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Adam &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2011 11:21:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781299#M27875</guid>
      <dc:creator>adam1fac</dc:creator>
      <dc:date>2011-12-06T11:21:37Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781300#M27876</link>
      <description>This is a consequence of using a program that is running from a graphical user-interface.&lt;BR /&gt;The console window exists only for the program's sake and disappears right after the&lt;BR /&gt;program finishes.&lt;BR /&gt;&lt;BR /&gt;Open a DOS-box (via Start/Run ..., type "cmd" as the command). That gives you a command&lt;BR /&gt;window, like xterm in Linux, that exists independent of any program you run.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Tue, 06 Dec 2011 11:30:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781300#M27876</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2011-12-06T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781301#M27877</link>
      <description>Ok thanks Arjen, yeah that works. But it is really annoying to have type in the directory each time rather than clicking on an icon. I am sure that on occasions in the past when I have used xp or vista the program launched form the executable itself.</description>
      <pubDate>Tue, 06 Dec 2011 13:02:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781301#M27877</guid>
      <dc:creator>adam1fac</dc:creator>
      <dc:date>2011-12-06T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781302#M27878</link>
      <description>Well, there used to be an option/feature that the DOS box would remain open. You had to do that via&lt;BR /&gt;the so-called PIF editor. What I normally do, is start the DOS box from my file manager and then&lt;BR /&gt;I am in the right directory (that is not possible via "Windows Explorer", AFAIK, but it is via "Total Commander", my personal favourite for working with files on Windows).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Tue, 06 Dec 2011 13:06:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781302#M27878</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2011-12-06T13:06:01Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781303#M27879</link>
      <description>Hello adam1fac,&lt;BR /&gt;&lt;BR /&gt;perhaps you can try the following program:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]Program Hello
   USE IFPORT
   USE IFCORE
   implicit none
   LOGICAL(4)       pressed / .FALSE. /
   write(*,'(A)') 'Hello World!'
   write(*,'(A)') 'Press any key to close ...'
   DO WHILE (.NOT. pressed)   
        pressed = PEEKCHARQQ ( )
        CALL SLEEPQQ (200)
   END DO
End Program Hello[/fortran]&lt;/PRE&gt; &lt;BR /&gt;This modified hello program will only exit when you press a keyboard key. Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Pedro&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2011 13:46:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781303#M27879</guid>
      <dc:creator>psantos</dc:creator>
      <dc:date>2011-12-06T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781304#M27880</link>
      <description>..or just program in a 'PAUSE' and it will ask you to press any key to continue...and close the console window.</description>
      <pubDate>Tue, 06 Dec 2011 15:32:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781304#M27880</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2011-12-06T15:32:11Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781305#M27881</link>
      <description>Let me suggest an easy alternative. If you are building from the command line, add /libs:qwin to the ifort command. If you are building in Visual Studio, select "QuickWin" as the project type rather than console. Your program will run when you double-click the EXE and the console output will appear in a window which will stay around until you request that it be closed.</description>
      <pubDate>Tue, 06 Dec 2011 16:08:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781305#M27881</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-12-06T16:08:13Z</dc:date>
    </item>
    <item>
      <title>Executable problem Windows 7</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781306#M27882</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=545519" class="basic" href="https://community.intel.com/en-us/profile/545519/"&gt;adam1fac&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;I&gt;Ok thanks Arjen, yeah that works. But it is really annoying to have type in the directory each time rather than clicking on an icon. I am sure that on occasions in the past when I have used xp or vista the program launched form the executable itself.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;In Windows 7, you can &lt;SHIFT&gt;&lt;RIGHT click=""&gt; over a folder in the Explorer window, and that brings up a menu that includes "Open command window here". That will save you some typing, although Steve's suggestion is (not surprisingly) the most elegant.&lt;/RIGHT&gt;&lt;/SHIFT&gt;</description>
      <pubDate>Tue, 06 Dec 2011 22:03:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Executable-problem-Windows-7/m-p/781306#M27882</guid>
      <dc:creator>peterklaver</dc:creator>
      <dc:date>2011-12-06T22:03:51Z</dc:date>
    </item>
  </channel>
</rss>

