Re: Command line programs and windows XP

From: Michael Prager (Mike.Prager.indigo_at_noaa.gov)
Date: 05/11/04


Date: Tue, 11 May 2004 13:45:09 -0400


"Stephen White" <S.White@irl.cri.nz> wrote:

>I have a moderately complex fortran program, compiled with Compaq visual
>fortran. This is run from the command line.
> If I run this with output to the screen it runs in a few seconds and gets
>almost 100% of the CPU.
> If output is to a file (opened in the program) then it takes minutes to run
>getting between 0 - 5 % of the CPU.
>Running with output to stdout but redirected to a file (>) is also slow but
>faster than when the file is opened in the program (different buffer sizes
>?)
>
>I have tried playing around with system settings for foreground and
>background without changing this behaviour.
>
>has anyony any suggestions as to whatt is causing this and how to fix it?
>
>Steve
>
>
Have you tried changing (increasing) the block size for the
external file?

>

-- 
Mike Prager, NOAA, Beaufort, NC
Address spam-trapped; remove color to reply.
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.


Relevant Pages

  • Re: vb as front end of a fortran dll
    ... How does one link the logic of this so that the command ... If the Textboxes are related then consider putting them in a Control ... Array and looping through checking them. ... values that vb has to give fortran in a manner that fortran expects. ...
    (microsoft.public.vb.general.discussion)
  • Re: IPC in fortran
    ... >> I'm about to embark on the quest to port a program that used to run ... Have you done IPC in Fortran? ... The functionality we designed into these ... Give me a fully functional command line or text-based ...
    (comp.lang.fortran)
  • Re: Fortran77 & GUI
    ... The present user interface is through the command line using ... One solution is to write your Fortran main program as a dumb slave ... Now the problem is to keep this thing in sync with the GUI. ... existence of that file in its event loop. ...
    (comp.lang.fortran)
  • Re: going to the web from fortran
    ... Do a web search on the WGET utility. ... I don't know what a Fortran document is, but I do expect that a dot ... "startwww.google.com" as a SYSTEM command brings up ... Google in its own window. ...
    (comp.lang.fortran)