[petsc-dev] MPI_Attr_get test fails

Mark Adams mfadams at lbl.gov
Sat Feb 10 12:09:48 CST 2018


On Sat, Feb 10, 2018 at 12:54 PM, Jed Brown <jed at jedbrown.org> wrote:

> Mark Adams <mfadams at lbl.gov> writes:
>
> > On Fri, Feb 9, 2018 at 9:39 PM, Jeff Hammond <jeff.science at gmail.com>
> wrote:
> >
> >> https://msdn.microsoft.com/en-us/library/dn473234(v=vs.85).aspx
> >>
> >> This function name is archaic and removed in MPI-3. Use the new name.
> >>
> >>
> > OK, Jed did this a few months ago.
> >
> > It still fails because my code uses PETSC_COMM_WORLD. I guess I need to
> > change that.
>
> This runs cleanly with MPICH and Open MPI.  Mark, PETSC_COMM_WORLD is
> _usually_ equivalent to MPI_COMM_WORLD.  You should *never* use it in
> PETSc library code.


Now you tell me! 23 years later.


> It is not a "PETSc communicator" or "inner
> communicator" -- those terms refer to a dup'd communicator held by PETSc
> objects for PETSc's exclusive use.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180210/e83d06de/attachment.html>


More information about the petsc-dev mailing list