[petsc-dev] Simplifying PETSc Debugging in Totalview

Barry Smith bsmith at mcs.anl.gov
Thu Jul 1 16:56:33 CDT 2010


On Jul 1, 2010, at 4:42 PM, Lisandro Dalcin wrote:

> On 29 June 2010 16:44, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>>  PETSc users,
>> 
>>  Jeff Keasler has pointed out that TotalView 8.8 and later support a new feature where libraries can provide code that displays the contents of an object in any useful format (allowing for example, PETSc to provide code to nicely display entries of a sparse matrix in the debugger).  I have tried this out by including in petsc-dev a very simple viewer for Vec and Mat; these will just work if you use TotalView 8.8 or higher with PETSc-dev.
>> 
>>  If any users really love using Totalview with PETSc and would like to see this extended (or extend it themselves :-) the example source code is in src/vec/vec/interface/vector.c  called TV_display_type() and please get in touch with us.
>> 
> 
> vector.c:713: warning: ‘TV_display_type’ defined but not used
> 
> matrix.c:735: warning: ‘TV_display_type’ defined but not used

  Don't have a good cure for this.

   Barry

> 
> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169




More information about the petsc-dev mailing list