Re: Progress indicator

From: TimC (tconnors_at_no.astro.spam.swin.accepted.edu.here.au)
Date: 01/25/04


Date: Sun, 25 Jan 2004 16:02:08 GMT

Madhusudan Singh (aka Bruce) was almost, but not quite, entirely unlike tea:
> I need to implement a progress indicator in fortran 90. Its a Monte Carlo
> simulation and I am getting tired of the long output that I get.
>
> How do I implement a "bar" of "="'s that grows to the right with a updating
> number placed somewhere close by ?
>
> I know this is just eye candy, but I had some time on my hands and decided
> to implement it.

You pushed me to finally clean up some of the code I have just gotten
to work, and put it up on the web.

http://astronomy.swin.edu.au/staff/tconnors/code/fortran/

Note that I have only tested it for Intel Fortran 7/8 on Linux, and
really would be completely unsurprised if it was horribly broken
elsewhere (I use hacks to get popen() to work)

Yeah, I just realised one or two more functions could do with better
documentation, but now that it's 3:00am, Aust. day, I think I better
go to bed.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Information wants to be beer, or something like that.


Relevant Pages

  • Progress indicator
    ... I need to implement a progress indicator in fortran 90. ... Its a Monte Carlo ... simulation and I am getting tired of the long output that I get. ...
    (comp.lang.fortran)
  • Re: quote of the day
    ... On 2006-06-18, Lionel (aka Bruce) ... was almost, but not quite, entirely unlike tea: ... You mean you've never been exposed to COBOL or FORTRAN? ... them, using modern constructs. ...
    (alt.sysadmin.recovery)
  • Re: Recruiters who place people first...
    ... On 2007-05-13, Dave (aka Bruce) ... was almost, but not quite, entirely unlike tea: ... I have a feeling that I used Pascal for that, and that FORTRAN was in the ...
    (alt.sysadmin.recovery)
  • Re: quote of the day
    ... was almost, but not quite, entirely unlike tea: ... You mean you've never been exposed to COBOL or FORTRAN? ... them, using modern constructs. ...
    (alt.sysadmin.recovery)
  • Re: quote of the day
    ... was almost, but not quite, entirely unlike tea: ... You mean you've never been exposed to COBOL or FORTRAN? ... them, using modern constructs. ...
    (alt.sysadmin.recovery)