Download Scalasca User's Guide
Transcript
Contents Contents 1. Introduction 1 1.1. How to read this document . . . . . . . . . . . . . . . . . . . . . . . . 1.2. Performance optimization cycle . . . . . . . . . . . . . . . . . . . . . 1.3. Scalasca overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Getting started 2.1. 2.2. 2.3. 2.4. Instrumentation . . . . . . . . . . . . . . . Runtime measurement collection & analysis Analysis report examination . . . . . . . . A full workflow example . . . . . . . . . . 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic compiler instrumentation . . . . . . . . Manual region instrumentation . . . . . . . . . . . Measurement control instrumentation . . . . . . . Semi-automatic instrumentation . . . . . . . . . . Automatic source-code instrumentation using PDT Selective instrumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. Application instrumentation 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. 8 8 10 12 19 4. Measurement collection & analysis 4.1. 4.2. 4.3. 4.4. 4.5. 1 2 3 Nexus configuration . . . . . . . . . . . . . . . . . . . Measurement configuration . . . . . . . . . . . . . . . Measurement and analysis of hardware counter metrics Automatic parallel event trace analysis . . . . . . . . . Automatic sequential event trace analysis . . . . . . . 21 23 24 25 27 28 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5. Analysis report examination 5.1. Examination options . . . . . . . . . . . . . . . . . . . . . . . . . . . 6. Additional utilities 6.1. Additional EPILOG event trace utilities . . . . . . . . . . . . . . . . . 6.2. Trace converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3. Recording user-specified virtual topologies . . . . . . . . . . . . . . . A. MPI wrapper affiliation A.1. Enabling and disabling wrappers at compile-time . . . . . . . . . . . . 31 33 36 37 40 43 43 47 47 47 48 51 51 iii