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 <[email protected]> wrote: > > On Nov 1, 2013, at 5:40 PM, Peter Brune <[email protected]> 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 <[email protected]> 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 > > > > > >
