<div dir="ltr">To whom it may concern,<div><br></div><div>I was wondering there are any easy ways to reproduce these warnings and errors. I did reconfigure my local branch according to the log files at <a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive</a>. I found some warnings and errors and fixed them, but there are still a few warnings and errors I could not reproduce so that I could not fix them.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Fande Kong</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 8:00 AM, PETSc checkBuilds <span dir="ltr"><<a href="mailto:petsc-checkbuilds@mcs.anl.gov" target="_blank">petsc-checkbuilds@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Dear PETSc developer,<br>
<br>
This email contains listings of contributions attributed to you by<br>
`git blame` that caused compiler errors or warnings in PETSc automated<br>
testing.  Follow the links to see the full log files. Please attempt to fix<br>
the issues promptly or let us know at <a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a> if you are unable<br>
to resolve the issues.<br>
<br>
Thanks,<br>
  The PETSc development team<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/086af2c" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/086af2c</a><br>
changed 'hierarchpart' to 'hierarchical'<br>
<br>
  src/mat/partition/impls/hierarchical/hierarchical.c:150<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-c89_thrash.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-c89_thrash.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/mat/partition/impls/hierarchical/hierarchical.c:150:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/5495542" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/5495542</a><br>
implemented MatGetSubMatrices_MPIAdj<br>
<br>
  src/mat/impls/adj/mpi/mpiadj.c:575<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log</a>]<br>
      /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:575:35: warning: 'rlocalindex' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/54b07c2" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/54b07c2</a><br>
implemented ISBuildTwoSided<br>
<br>
  src/vec/is/is/utils/iscoloring.c:416<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:416:11: error: no matching function for call to 'PetscCommBuildTwoSided'<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log</a>]<br>
      "/export/home/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c", line 416: warning: argument #7 is incompatible with prototype:<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log</a>]<br>
      /sandbox/petsc/petsc.clone-3/src/vec/is/is/utils/iscoloring.c:416:11: warning: passing argument 7 of 'PetscCommBuildTwoSided' from incompatible pointer type<br>
<br>
  src/vec/is/is/utils/iscoloring.c:444<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:444:41: warning: argument type 'PetscInt *' (aka 'long *') doesn't match specified 'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:444:54: warning: argument type 'PetscInt *' (aka 'long *') doesn't match specified 'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
<br>
  src/vec/is/is/utils/iscoloring.c:445<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:445:52: warning: argument type 'PetscInt *' (aka 'long *') doesn't match specified 'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:445:39: warning: argument type 'PetscInt *' (aka 'long *') doesn't match specified 'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/77fca31" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/77fca31</a><br>
add runex40_2<br>
<br>
  src/mat/examples/tests/ex40.c:22<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18: warning: unused variable 'rmap' [-Wunused-variable]<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-gcc-ifc-cmplx_crank.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-gcc-ifc-cmplx_crank.log</a>]<br>
      /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18: warning: unused variable 'rmap' [-Wunused-variable]<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/841d17a" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/841d17a</a><br>
implemented a MatGetSubMatrix_MPIAdj_Single<br>
<br>
  src/mat/impls/adj/mpi/mpiadj.c:574<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log</a>]<br>
      /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:574:29: warning: 'owner' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
<br>
----<br>
<br>
warnings attributed to commit <a href="https://bitbucket.org/petsc/petsc/commits/9d01615" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/9d01615</a><br>
Rewrite an implementation of matincreaseoverlap<br>
<br>
  src/mat/impls/aij/mpi/mpiov.c:134<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log</a>]<br>
      "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c", line 134: warning: argument #7 is incompatible with prototype:<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log</a>]<br>
      /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:134:10: warning: passing argument 7 of 'PetscCommBuildTwoSided' from incompatible pointer type<br>
<br>
  src/mat/impls/aij/mpi/mpiov.c:170<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log</a>]<br>
      "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c", line 170: warning: argument #7 is incompatible with prototype:<br>
    [<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log</a>]<br>
      /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:170:10: warning: passing argument 7 of 'PetscCommBuildTwoSided' from incompatible pointer type<br>
<br>
----<br>
To opt-out from receiving these messages - send a request to <a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>.<br>
</blockquote></div><br></div>