SlideServe
Menu
Préférences
© SlideServe · v2026

Parallel Tools Platform Parallel Debugger

landis avatar
13 diapositives · 336 Views · Aug 24, 2014

Parallel Tools Platform Parallel Debugger. Greg Watson Project Leader. Design Considerations. Parallel applications range from 2 to 128K processes Combined mult-process and threaded model is possible Some debug operations are performed on All or a subset of processes Individual processes

Parallel Tools Platform Parallel Debugger - slide 1
01 / 13Parallel Tools Platform Parallel Debugger
1 / 17

Télécharger la présentation

Parallel Tools Platform Parallel Debugger
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Parallel Tools PlatformParallel Debugger Greg Watson Project Leader

  2. Design Considerations • Parallel applications range from 2 to 128K processes • Combined mult-process and threaded model is possible • Some debug operations are performed on • All or a subset of processes • Individual processes • Processes are typically dependent on each other • Mixed language (e.g. C and Fortran) typical

  3. Programming Models • Message passing model • Distinct processes exchange data using messages • Explicit send/receive and collective operations • Shared memory model • Data structures are shared • Locking or atomic operations required • Currently targeting message passing, shared memory later

  4. Debugging Methodology • Breakpoint across all processes to synchronize • In master/worker, breakpoint only workers • Step all processes until error • Stepping one process typically not possible due to dependencies • Examine snapshot of data across all (or subset) of processes • Compare data from one process to another

  5. Architecture Overview • Eclipse UI front end • Reuse Debug and CDI where possible • High level parallel debug API • Process sets used for efficiency • Asynchronous command/event model • Extension point to allow alternate backends • Backend (SDM) • Startup • Command broadcast • Event aggregation • MI only used for low level debug actions

  6. UI Architecture Platform Debug UI CDT Debug UI PTP Debug UI ICDI IPCDI IPDebugger IPDebugEvent Commands Events

  7. Debug API public interface IPDebugger { publicvoid stepOver(BitList set, int count) throws PCDIException; ... } publicinterface IPDebugEvent { public BitList getSet(); ... } 101011010111111101011111 000000000111111101011111

  8. SDM Architecture ParallelDebugger Command Broadcast 0 4 8 2 1 6 3 5 9 7

  9. SDM Architecture ParallelDebugger Event Aggregation 0 4 8 2 1 6 3 5 9 7

  10. AIF • Architecture Independent Format for data • Independent of endianness, word size, character size • Fully represents data type and value • Can be used to represent complex data structures, such as linked lists • Supports all C, C++ and Fortran types • C and Java (partial) implementations • Library operations: • Conversion to/from native format • Logical and arithmetic • Formatting and display

  11. User Interface • Parallel Debug View • Global view of processes and process sets • Tooltips for fast variable access • Regiser/unregister process to display in Debug View • Parallel Breakpoint • Global - applies to all processes regardless of job or job size • Set-based - applies to a set of processes for a particular job • Color used to distinguish current set • Current line markers • Multiple markers allowed • Different markers for registered/unregistered processes • Text highlighting colors

  12. User Interface (cont…) • Variable View • Supports AIF data • Only fetches complex data types when variables are expanded • Array View • Prototype using custom widget • Allows 2-D view (slice) of multi-dimensional arrays • Likely to move to memory view

  13. Demo