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

Constantinos Evangelinos ce107 at mitgcm.org
Wed Dec 21 19:56:49 EST 2005


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

Modified Files:
	eeboot_minimal.F eedie.F 
Log Message:
Added calls to initialize and finalize the HPM Toolkit for performance
counters (currently working under AIX and Linux/PPC). One sets the
environment variable HPM_EVENT_SET to a value 1(default)-4 for Power3 systems
and 0-60(default) for Power4. All sections timed by calls to timer_start
and timer_stop would also be monitored for the specified event set. If the
number of monitored sections is more than 100 then the environment variable
HPM_NUM_INST_PTS needs to be adjusted appropriately. In the case of multi-
threaded code there cannot be more than 99 timed sections and HPM_NUM_INST_PTS
should be adjusted to 100*(#_of_threads -1). At the end of the code's 
execution the HPM Toolkit generates a set of files hpm*.viz and perfhpm*.*
that can be further analyzed. For more information look at
http://www.research.ibm.com/actc/projects/hardwareperf2.shtml
Currently needs to have declared HPMTINC and HPMTLIB in the optfile for
the include and library linking strings needed to use HPMT.




More information about the MITgcm-cvs mailing list