<div dir="ltr">Hi Satish,<div><br></div><div>I used the configure at <a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log</a>, and the code looks fine and do not have any warnings and errors.</div><div><br></div><div>Fande Kong,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 9:28 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@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">Which ones are you trying to reproduce? Some of the solaris warnings<br>
might not show up on linux..<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
/On Tue, 16 Jun 2015, Fande Kong wrote:<br>
<br>
> Hi Karl,<br>
><br>
> Thanks for your suggestions. I am using GCC-4.8.1. I will try GCC 4.6.x to<br>
> see if I get anythings.<br>
><br>
> Fande Kong,<br>
><br>
> On Tue, Jun 16, 2015 at 4:04 PM, Karl Rupp <<a href="mailto:rupp@iue.tuwien.ac.at">rupp@iue.tuwien.ac.at</a>> wrote:<br>
><br>
> > Hi Fande,<br>
> ><br>
> > the respective configure log states that GCC 4.6.3 was used. Have you<br>
> > tried to compile using GCC 4.6.x? You might have it available as an<br>
> > alternative in your package manager.<br>
> ><br>
> > Did you check whether the flags<br>
> > -std=c89 -pedantic -Wno-long-long -Wno-overlength-strings -fPIC -g3 -O0<br>
> > show up in your build as well?<br>
> ><br>
> > Best regards,<br>
> > Karli<br>
> ><br>
> ><br>
> > On 06/16/2015 11:29 PM, Fande Kong wrote:<br>
> ><br>
> >> To whom it may concern,<br>
> >><br>
> >> I was wondering there are any easy ways to reproduce these warnings and<br>
> >> errors. I did reconfigure my local branch according to the log files at<br>
> >> <a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive" rel="noreferrer" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive</a>. I found some<br>
> >> warnings and errors and fixed them, but there are still a few warnings<br>
> >> and errors I could not reproduce so that I could not fix them.<br>
> >><br>
> >> Any suggestions?<br>
> >><br>
> >> Fande Kong<br>
> >><br>
> >> On Tue, Jun 16, 2015 at 8:00 AM, PETSc checkBuilds<br>
> >> <<a href="mailto:petsc-checkbuilds@mcs.anl.gov">petsc-checkbuilds@mcs.anl.gov</a> <mailto:<a href="mailto:petsc-checkbuilds@mcs.anl.gov">petsc-checkbuilds@mcs.anl.gov</a>>><br>
> >> wrote:<br>
> >><br>
> >><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<br>
> >>     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><br>
> >>     <mailto:<a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>> if you are unable<br>
> >><br>
> >>     to resolve the issues.<br>
> >><br>
> >>     Thanks,<br>
> >>        The PETSc development team<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >><br>
> >> /sandbox/petsc/petsc.clone-2/src/mat/partition/impls/hierarchical/hierarchical.c:150:3:<br>
> >>     warning: ISO C90 forbids mixed declarations and code [-Wpedantic]<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:575:35:<br>
> >>     warning: 'rlocalindex' may be used uninitialized in this function<br>
> >>     [-Wmaybe-uninitialized]<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:416:11:<br>
> >> error:<br>
> >>     no matching function for call to 'PetscCommBuildTwoSided'<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     "/export/home/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c",<br>
> >>     line 416: warning: argument #7 is incompatible with prototype:<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-3/src/vec/is/is/utils/iscoloring.c:416:11:<br>
> >> warning:<br>
> >>     passing argument 7 of 'PetscCommBuildTwoSided' from incompatible<br>
> >>     pointer type<br>
> >><br>
> >>        src/vec/is/is/utils/iscoloring.c:444<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:444:41:<br>
> >> warning:<br>
> >>     argument type 'PetscInt *' (aka 'long *') doesn't match specified<br>
> >>     'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:444:54:<br>
> >> warning:<br>
> >>     argument type 'PetscInt *' (aka 'long *') doesn't match specified<br>
> >>     'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
> >><br>
> >>        src/vec/is/is/utils/iscoloring.c:445<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:445:52:<br>
> >> warning:<br>
> >>     argument type 'PetscInt *' (aka 'long *') doesn't match specified<br>
> >>     'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:445:39:<br>
> >> warning:<br>
> >>     argument type 'PetscInt *' (aka 'long *') doesn't match specified<br>
> >>     'MPI' type tag that requires 'long long *' [-Wtype-safety]<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18:<br>
> >>     warning: unused variable 'rmap' [-Wunused-variable]<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18:<br>
> >>     warning: unused variable 'rmap' [-Wunused-variable]<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:574:29:<br>
> >>     warning: 'owner' may be used uninitialized in this function<br>
> >>     [-Wmaybe-uninitialized]<br>
> >><br>
> >>     ----<br>
> >><br>
> >>     warnings attributed to commit<br>
> >>     <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>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c",<br>
> >>     line 134: warning: argument #7 is incompatible with prototype:<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:134:10:<br>
> >>     warning: passing argument 7 of 'PetscCommBuildTwoSided' from<br>
> >>     incompatible pointer type<br>
> >><br>
> >>        src/mat/impls/aij/mpi/mpiov.c:170<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c",<br>
> >>     line 170: warning: argument #7 is incompatible with prototype:<br>
> >><br>
> >>     [<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>
> >> ]<br>
> >><br>
> >>     /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:170:10:<br>
> >>     warning: passing argument 7 of 'PetscCommBuildTwoSided' from<br>
> >>     incompatible pointer type<br>
> >><br>
> >>     ----<br>
> >>     To opt-out from receiving these messages - send a request to<br>
> >>     <a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a> <mailto:<a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>>.<br>
> >><br>
> >><br>
> >><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div>