[petsc-dev] Removed functions in MPI 3

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 22 16:48:44 CST 2013


On Tue, Jan 22, 2013 at 4:39 PM, Karl Rupp <rupp at mcs.anl.gov> wrote:

> Carefully fiddling with my local sources prior to the commit... I don't
> know of a way to test the backwards-macros other than inspecting the
> preprocessed code...
>
> Oh, and Barry's macro proposal was right (I forgot that this assumed an
> update of sources already)
>

Use your Open MPI build and put

#define OMPI_WANT_MPI_INTERFACE_WARNING

before including mpi.h. They put in __attribute((deprecated)) so you'll get
warnings for all the old usage. Test that the new version still works with
MPI-1 by building with --with-mpi=0 (or download an illicit copy of MPICH1).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130122/a55269fc/attachment.html>


More information about the petsc-dev mailing list