[petsc-dev] PETSc developers who use weird MPI

Peter Brune prbrune at gmail.com
Fri Nov 1 18:35:41 CDT 2013


Cool.  I added things to the header and there doesn't appear to be any
MPI_OP-specific code in mpiuni/mpi.c.  Am I missing something?

- Peter


On Fri, Nov 1, 2013 at 6:07 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On Nov 1, 2013, at 5:40 PM, Peter Brune <prbrune at gmail.com> wrote:
>
> > So what's the fix?
> >
>
>    Anyone who uses functionality in MPI that was not previously used in
> PETSc needs to add any support that is needed to include/mpiuni/mpi.h and
> or src/sys/mpiuni/mpi.c Usually it is very easy
>
>    Barry
>
> > - Peter
> >
> >
> > On Fri, Nov 1, 2013 at 5:03 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >
> >    please always test with mpiuni before pushing when you use weird MPI
> >
> > src/vec/is/sf/impls/basic/sfbasic.c: In function
> ‘PetscSFBasicPackGetUnpackOp’:
> > src/vec/is/sf/impls/basic/sfbasic.c:594:18: error: ‘MPI_PROD’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:594:18: note: each undeclared
> identifier is reported only once for each function it appears in
> > src/vec/is/sf/impls/basic/sfbasic.c:597:18: error: ‘MPI_LAND’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:598:18: error: ‘MPI_BAND’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:599:18: error: ‘MPI_LOR’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:600:18: error: ‘MPI_BOR’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:601:18: error: ‘MPI_LXOR’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c:602:18: error: ‘MPI_BXOR’ undeclared
> (first use in this function)
> > src/vec/is/sf/impls/basic/sfbasic.c: In function
> ‘PetscSFBasicPackGetFetchAndOp’:
> >
> >
> >    It is frustrating to get this kind of crap all the time after pulling.
> >
> >    Thanks
> >
> >     Barry
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131101/8223ac52/attachment.html>


More information about the petsc-dev mailing list