[MITgcm-cvs] MITgcm/eesupp/src CVS Commit

Constantinos Evangelinos ce107 at mitgcm.org
Wed Dec 21 20:03:29 EST 2005


Update of /u/gcmpack/MITgcm/eesupp/src
In directory forge:/tmp/cvs-serv12857

Modified Files:
	timers.F 
Log Message:
Added calls to use either the HPM Toolkit or the PAPI library to further
instrument for performance counter monitoring the sections timed with 
timer_start and timer_stop calls. The PAPI calls currently are not 
thread-safe and will not work with OpenMP. To use PAPI one needs to
have a file data.papi in the working directory with the following format:
n
PAPI_EVENT_1
PAPI_EVENT_2
...
PAPI_ENENT_n
where the available PAPI event names on a given platform can be found using
the "avail" PAPI utility. Please note that not all events can be monitored
at the same time and that each platform has a maximum number of event 
counters. One may use the papi_events.F utility in contrib to generate a
valid data.papi. The PAPI numbers are printed at the end of execution along
the standard timing numbers. PAPI and HPMT monitoring cannot co-exist. For 
more information about PAPI please look at:
http://icl.cs.utk.edu/papi/




More information about the MITgcm-cvs mailing list