[petsc-dev] PETSc developers who use weird MPI

Barry Smith bsmith at mcs.anl.gov
Fri Nov 1 18:07:42 CDT 2013


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
> 
> 




More information about the petsc-dev mailing list