[Carpet] Performance measurements

Erik Schnetter schnetter at cct.lsu.edu
Mon Sep 11 05:18:30 CEST 2006


In order to measure the performance of a mesh refinement simulation  
on multiple processors, I suggest to use parameters such as the  
following:

# Activate standard Cactus timer output
Cactus::cctk_timer_output = full

# Activate an additional clock based on MPI
# (important for runs on multiple processors)
ActiveThorns = "MPIClock" # This thorn is in AlphaThorns

# Produce timing information in regular intervals
# (important since runs may abort early)
ActiveThorns = "TimerReport" # This thorn is in CactusUtils
TimerReport::out_every    = 1024

# Activate Carpet timers
# (using additional timers for mesh refinement related activities)
Carpet::output_timers_every = 1024

# Activate CarpetLib timers
# (measuring inter-processor communication)
CarpetLib::print_timestats_every = 1024
CarpetLib::print_memstats_every  = 1024

You should replace the number 1024 with a number of iterations that  
corresponds to several coarse grid time steps; timing output every  
ten minutes or so would be reasonable.

Currently all timer output goes to stdout.  That will be improved soon.

-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 : /archives/developers/attachments/20060910/fce8af78/attachment.pgp 


More information about the developers mailing list