210 likes | 383 Vues
TAU Performance System http://tau.uoregon.edu. tau-team@cs.uoregon.edu. TAU Parallel Performance System. http://tau.uoregon.edu/ Multi-level performance instrumentation Multi-language automatic source instrumentation Flexible and configurable performance measurement
E N D
TAU Performance Systemhttp://tau.uoregon.edu tau-team@cs.uoregon.edu
TAU Parallel Performance System • http://tau.uoregon.edu/ • Multi-level performance instrumentation • Multi-language automatic source instrumentation • Flexible and configurable performance measurement • Widely-ported parallel performance profiling system • Computer system architectures and operating systems • Different programming languages and compilers • Support for multiple parallel programming paradigms • Multi-threading, message passing, mixed-mode, hybrid
TAU Port to IBM BG/P • Supports automatic instrumentation at: • Source level (PDT, tau_instrumentor; KOJAK, opari) • MPI • Flexible and configurable performance measurement • Support for profiling and tracing • Support for PAPI counters on BG/P • Uses bgxlC_r, bgxlc_r, bgxlf90_r as compilers • To configure TAU: • ./installtau -arch=bgp -mpi -pdt=<dir> -pdt_c++=xlC -papi=<dir> • ./tau_validate --html --build bgp >& results.html • Parallel Profile Analysis: • Paraprof profile browser • PerfDMF profile database • Perfexplorer cross-experiment data analysis toolkit
Using TAU on IBM BGP (surveyor.alcf.anl.gov) • Choose measurement configuration % ls /soft/apps/tau/tau_latest/bgp/lib/Makefile.* Makefile.tau-mpi-pdt Makefile.tau-mpi-pdt-trace Makefile.tau-callpath-mpi-pdt Makefile.tau-callpath-mpi-compensate-pdt Makefile.tau-depthlimit-mpi-pdt Makefile.tau-mpi-compensate-pdt Makefile.tau-multiplecounters-mpi-papi-pdt Makefile.tau-multiplecounters-mpi-papi-pdt-trace Makefile.tau-multiplecounters-papi-pdt Makefile.tau-multiplecounters-pthread-papi-pdt Makefile.tau-pdt Makefile.tau-phase-multiplecounters-mpi-compensate-papi-pdt Makefile.tau-phase-multiplecounters-mpi-papi-pdt Makefile.tau-pthread-pdt … % setenv TAU_MAKEFILE /soft/apps/tau/tau-2.17/bgp/lib/Makefile.tau-mpi-pdt % set path=(/soft/apps/tau/tau-2.17/ppc64/bin $path) # Front-end binaries • Replace mpixlf90_r with tau_f90.sh and compile your application • Use tau_cxx.sh and tau_cc.sh for C++ and C compilers respectively
Using TAU on IBM BGP (surveyor.alcf.anl.gov) • Choose measurement configuration % ls /soft/apps/tau/tau_latest/bgp/lib/Makefile.* Makefile.tau-mpi-pdt Makefile.tau-mpi-pdt-trace Makefile.tau-callpath-mpi-pdt Makefile.tau-callpath-mpi-compensate-pdt Makefile.tau-depthlimit-mpi-pdt Makefile.tau-mpi-compensate-pdt Makefile.tau-multiplecounters-mpi-papi-pdt Makefile.tau-multiplecounters-mpi-papi-pdt-trace Makefile.tau-multiplecounters-papi-pdt Makefile.tau-multiplecounters-pthread-papi-pdt Makefile.tau-pdt Makefile.tau-phase-multiplecounters-mpi-compensate-papi-pdt Makefile.tau-phase-multiplecounters-mpi-papi-pdt Makefile.tau-pthread-pdt … % setenv TAU_MAKEFILE /soft/apps/tau/tau-2.17/bgp/lib/Makefile.tau-mpi-pdt % set path=(/soft/apps/tau/tau-2.17/ppc64/bin $path) # Front-end binaries • Replace mpixlf90_r with tau_f90.sh and compile your application • Use tau_cxx.sh and tau_cc.sh for C++ and C compilers respectively • Visualize performance data with paraprof, pprof, vampir, jumpshot
Sedov 2D Auto • Initial test run did not include a load balanced problem • Small problem: too little work for 1024 processor • Proof of concept to validate porting of tools
TAU PerfExplorer: Runtime Breakdown MPI_Barrier IO_OUTPUT
TAU Portal • TAU portal supports the FLASH regression testing • Allows groups to share profiling data in a secure way • Allows users to launch TAU performance tools (paraprof, perfexplorer) • Nightly regression testcases uploaded to the database automatically • SVN checkout each night • TAU: http://www.cs.uoregon.edu/research/tau • TAU Portal: http://tau.nic.uoregon.edu
Support Acknowledgements • Department of Energy (DOE) • Office of Science • LLNL, LANL, ASC • Argonne National Laboratory • University of Chicago • Department of Defense • NSF