[petsc-dev] errors galore related to Barry's change to PetscError

Jed Brown jed at 59A2.org
Sat May 8 14:37:05 CDT 2010


On Sat, 08 May 2010 12:18:58 -0700, Brad Aagaard <baagaard at usgs.gov> wrote:
> PetscTraceBackErrorHandlerCxx(ompi_communicator_t*, int, const char*, 
> const char*, const char*, PetscErrorCode, int, std::ostringstream&)'
> err.c:559: error: at this point in file

changeset:   15877:410bde412c61
tag:         tip
user:        Jed Brown <jed at 59A2.org>
date:        Sat May 08 21:34:19 2010 +0200
files:       src/sys/error/err.c src/sys/error/errtrace.c
description:
PetscTraceBackErrorHandlerCxx: Make implementation match declaration: MPI_Comm is first argument

This function accepts a stream, this implementation ignores the
communicator because the user may well have set a different stream for
every process.  Perhaps it should only write to the stream from rank 0?


Jed



More information about the petsc-dev mailing list