[Users] Output timer reports to a file instead of stdout
Erik Schnetter
schnetter at cct.lsu.edu
Fri Aug 24 21:43:35 CDT 2007
Thorn CactusUtils/TimerReport can output periodic timer reports of a
Cactus simulation. This lists all routines which are called from
schedule.ccl, plus information from all available timers for these
routines, which includes normally the amount of wall time and CPU
time spent in these routines. This information can be very useful to
determine where time is spent in a simulation.
Thorn TimerReport now understands a new parameter "out_filename",
allowing to redirect these reports into separate files. This is
convenient because it allows easily accessing timer reports from all
processors, not only the root processor. It also makes it easier to
find the timing information without having to look through all of
stdout.
You can use this thorn e.g. with the following settings:
ActiveThorns = "TimerReport"
TimerReport::out_every = 512
TimerReport::out_filename = "TimerReport"
This will create output files called "TimerReport.0000" etc., one
file for each processor.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/users/attachments/20070824/a004dd8e/attachment.bin
More information about the Users
mailing list