Suggestion for monitoring a calculation
Posted: Wed Jul 07, 2010 1:53 pm
I was wondering if the CS developers had anything planned for monitoring a running calculation within the GUI?
I think a tab under 'prepare batch calculation' or similar would be much much more manageable than what I currently do, which is to
1) Have the listing file open in an editor (kate) and refresh once in awhile.
2) Running 'tail -f listing' in a terminal.
3) Running several terminals with instances of tail + grep to follow values of interest.
4) Plotting probes in 'grace' manually once in awhile.
5) Insert your own fav. method here
The listing file layout makes it very convenient to tail + grep for variables, and I think it would be relatively easy (I have to be careful now :) ) to implement a tab with check buttons as to which value to monitor and display them in said tab.
In this particular calculation it is important to monitor the 'derive' of TempC because it is a very good indication of when the calculation is about to go haywire. So tail'ing and grep'ing for "c TempC" gives a nice output to the terminal:
tail -f listing |grep "c TempC"
c TempC 0.38462E+00 6 0.56370E-06 0.33516E+00
c TempC 0.38467E+00 6 0.67851E-06 0.33398E+00
c TempC 0.38472E+00 6 0.63438E-06 0.32037E+00
c TempC 0.38477E+00 6 0.74836E-06 0.31588E+00
c TempC 0.38483E+00 6 0.73776E-06 0.33650E+00
c TempC 0.38488E+00 6 0.60145E-06 0.33999E+00
The same goes for monitoring the progression of the calculation:
tail -f listing |grep INSTANT
INSTANT 0.633000000E+00 TIME STEP NUMBER 633
INSTANT 0.634000000E+00 TIME STEP NUMBER 634
INSTANT 0.635000000E+00 TIME STEP NUMBER 635
INSTANT 0.636000000E+00 TIME STEP NUMBER 636
INSTANT 0.637000000E+00 TIME STEP NUMBER 637
INSTANT 0.638000000E+00 TIME STEP NUMBER 638
As far as I've read, 'grace' can monitor a file for changes, but I haven't had success with that yet.
So it's a feature request - NICE to have, not need to have :)
Regards,
Claus
I think a tab under 'prepare batch calculation' or similar would be much much more manageable than what I currently do, which is to
1) Have the listing file open in an editor (kate) and refresh once in awhile.
2) Running 'tail -f listing' in a terminal.
3) Running several terminals with instances of tail + grep to follow values of interest.
4) Plotting probes in 'grace' manually once in awhile.
5) Insert your own fav. method here
The listing file layout makes it very convenient to tail + grep for variables, and I think it would be relatively easy (I have to be careful now :) ) to implement a tab with check buttons as to which value to monitor and display them in said tab.
In this particular calculation it is important to monitor the 'derive' of TempC because it is a very good indication of when the calculation is about to go haywire. So tail'ing and grep'ing for "c TempC" gives a nice output to the terminal:
tail -f listing |grep "c TempC"
c TempC 0.38462E+00 6 0.56370E-06 0.33516E+00
c TempC 0.38467E+00 6 0.67851E-06 0.33398E+00
c TempC 0.38472E+00 6 0.63438E-06 0.32037E+00
c TempC 0.38477E+00 6 0.74836E-06 0.31588E+00
c TempC 0.38483E+00 6 0.73776E-06 0.33650E+00
c TempC 0.38488E+00 6 0.60145E-06 0.33999E+00
The same goes for monitoring the progression of the calculation:
tail -f listing |grep INSTANT
INSTANT 0.633000000E+00 TIME STEP NUMBER 633
INSTANT 0.634000000E+00 TIME STEP NUMBER 634
INSTANT 0.635000000E+00 TIME STEP NUMBER 635
INSTANT 0.636000000E+00 TIME STEP NUMBER 636
INSTANT 0.637000000E+00 TIME STEP NUMBER 637
INSTANT 0.638000000E+00 TIME STEP NUMBER 638
As far as I've read, 'grace' can monitor a file for changes, but I haven't had success with that yet.
So it's a feature request - NICE to have, not need to have :)
Regards,
Claus