[petsc-dev] Simplifying PETSc Debugging in Totalview

Jed Brown jed at 59A2.org
Thu Jul 1 17:01:32 CDT 2010

On Thu, Jul 1, 2010 at 15:56, Barry Smith <bsmith at mcs.anl.gov> wrote:

>  Don't have a good cure for this.

Not sure if this counts as "good", but

#ifdef __GNUC__
#  define PETSC_UNUSED __attribute((unused))
#  define PETSC_UNUSED

PETSC_UNUSED static int TV_display_type(const struct _p_Vec *v)
{ ... }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100701/2405327f/attachment.html>

More information about the petsc-dev mailing list