[petsc-dev] changes to mpiaij.c broke next

Jed Brown jed at jedbrown.org
Thu Aug 21 12:40:19 CDT 2014


Thanks, fixed.  They should really fix this upstream.

Barry Smith <bsmith at mcs.anl.gov> writes:

>           CC arch-basic/obj/src/mat/impls/aij/mpi/mpimatmatmult.o
> /Users/barrysmith/Src/petsc/src/mat/impls/aij/mpi/mpiaij.c:793:45: warning: argument type 'const PetscInt *' (aka 'const int *') doesn't match specified 'MPI' type tag that requires 'int *' [-Wtype-safety]
>     ierr = PetscSFReduceBegin(sf, MPIU_INT, rows, lrows, MPI_LOR);CHKERRQ(ierr);
>                                   ~~~~~~~~  ^~~~
> /Users/barrysmith/Src/petsc/src/mat/impls/aij/mpi/mpiaij.c:794:43: warning: argument type 'const PetscInt *' (aka 'const int *') doesn't match specified 'MPI' type tag that requires 'int *' [-Wtype-safety]
>     ierr = PetscSFReduceEnd(sf, MPIU_INT, rows, lrows, MPI_LOR);CHKERRQ(ierr);
>                                 ~~~~~~~~  ^~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140821/98ab76da/attachment.sig>


More information about the petsc-dev mailing list