show aggregated message

Print the specified aggregated messages.

Syntax

show aggregated message [ {all | msgs} ]

Parameters

msgs

A list of comma-separated, aggregated message IDs. The debugger assigns each aggregated message a unique integer ID when it first displays the ID.

Description

This command prints the specified aggregated messages, which is useful when debugging parallel applications.

The root debugger collects the outputs from the leaf debuggers and presents you with an aggregated output. In most cases, this aggregation works fine, but it can be an impediment if you want to know the exact output from certain leaf debuggers. To remedy this, the debugger assigns a unique number, called a message ID, to each aggregated message and saves the message in the message ID list.

If you specify a list of message IDs, the debugger displays the aggregated messages with these IDs.

If you specify all, IDB displays all the aggregated messages in the list.

If you specify nothing, the debugger shows the most recently added message.

Example

(idb) 
   [0:15] ------------------
   [0:15] object file name: /home/bin/mpich-1.2.4/examples/cpi
   [0:15] Reading symbolic information ...   [0:15] done
%1 [0:15] Attached to process id [9977;10093]  ....
   [1:15] stopped at [ __select(...) 0x4010e90e]
   [0] stopped at [void* MPIR_Breakpoint(void):113 0x806d4c7]
   [1:15]

(idb) 
   [0:15]      17     int  namelen, ind;
   [0:15]      18     char processor_name[MPI_MAX_PROCESSOR_NAME];
   [0:15]      19     int gate = 0;
   [0:15]      20
   [0:15] >    21     MPI_Init(&argc,&argv);
   [0:15]      22     MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
   [0:15]      23     MPI_Comm_rank(MPI_COMM_WORLD,&myid);
   [0:15]      24     MPI_Get_processor_name(processor_name,&namelen);
   [0:15]      25

(idb)  show aggregated message
%1 [0:15] Attached to process id [9977;10093]  ....
(idb)  expand aggregated message 1
%1 [0:15] Attached to process id [9977;10093]  ....
 [1] Attached to process id 9981  ....
 [2] Attached to process id 9989  ....
 [0] Attached to process id 9977  ....
 [3] Attached to process id 9997  ....
 [4] Attached to process id 10005  ....
 [5] Attached to process id 10013  ....
 [6] Attached to process id 10021  ....
 [7] Attached to process id 10029  ....
 [8] Attached to process id 10037  ....
 [9] Attached to process id 10045  ....
 [10] Attached to process id 10053  ....
 [11] Attached to process id 10061  ....
 [12] Attached to process id 10069  ....
 [14] Attached to process id 10085  ....
 [15] Attached to process id 10093  ....
 [13] Attached to process id 10077  ....

(idb) 

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.