I used the print, but the problem is that, it does not 'override' what has been
printed. The alternative is to use the write and have that in a logfile but the
users need to know the progress of the program. Any idea on how to print on just
the SAME line. ie say from when the program moves from 25% complete to 50%, i
need to only show 50%, from 50% to 75% i need to only show 75% done etc.
Thanks.
--- On Sat, 2/7/09, Khokho <khokho_solomi@...> wrote:
From: Khokho <khokho_solomi@...>
Subject: [Fortran] Re: Progress Indicator
To: Fortran@yahoogroups.com
Date: Saturday, February 7, 2009, 3:46 AM
I've always used progress indicators, nothing fancy though. I just
place a PRINT line within the main loop that would print out some
counters. For larger codes you can use the WRITE command to produce
useful information on the progress of your program.
In short, if you write a code that will take more than few seconds to
conclude then let the code report its progress using simple print and
write commands; this will save you a lot of time in the debugging process.
Salem
--- In Fortran@yahoogroups .com, "William Kasirye" <ms42000@... > wrote:
>
> Hi:
>
> I am working with Fortran90. Has anyone used a "progress indicator", or
> some one give me a website with an example. I am working with a program
> with lots of calculations and I need to know that the program is still
> working and where it is. What i need is eg 25% completed, 75%
> completed..100% .
>
> Thanks.
>
> DD
>
[Non-text portions of this message have been removed]