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

Barry Smith bsmith at mcs.anl.gov
Thu Aug 21 11:21:01 CDT 2014



          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);
                                ~~~~~~~~  ^~~~





More information about the petsc-dev mailing list