[petsc-dev] PETSc blame digest (next) 2015-06-16

Karl Rupp rupp at iue.tuwien.ac.at
Tue Jun 16 17:04:48 CDT 2015


Hi Fande,

the respective configure log states that GCC 4.6.3 was used. Have you 
tried to compile using GCC 4.6.x? You might have it available as an 
alternative in your package manager.

Did you check whether the flags
-std=c89 -pedantic -Wno-long-long -Wno-overlength-strings -fPIC -g3 -O0
show up in your build as well?

Best regards,
Karli


On 06/16/2015 11:29 PM, Fande Kong wrote:
> To whom it may concern,
>
> 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
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive. 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.
>
> Any suggestions?
>
> Fande Kong
>
> On Tue, Jun 16, 2015 at 8:00 AM, PETSc checkBuilds
> <petsc-checkbuilds at mcs.anl.gov <mailto:petsc-checkbuilds at mcs.anl.gov>>
> wrote:
>
>
>
>     Dear PETSc developer,
>
>     This email contains listings of contributions attributed to you by
>     `git blame` that caused compiler errors or warnings in PETSc automated
>     testing.  Follow the links to see the full log files. Please attempt
>     to fix
>     the issues promptly or let us know at petsc-dev at mcs.anl.gov
>     <mailto:petsc-dev at mcs.anl.gov> if you are unable
>     to resolve the issues.
>
>     Thanks,
>        The PETSc development team
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/086af2c
>     changed 'hierarchpart' to 'hierarchical'
>
>        src/mat/partition/impls/hierarchical/hierarchical.c:150
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-c89_thrash.log]
>
>     /sandbox/petsc/petsc.clone-2/src/mat/partition/impls/hierarchical/hierarchical.c:150:3:
>     warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/5495542
>     implemented MatGetSubMatrices_MPIAdj
>
>        src/mat/impls/adj/mpi/mpiadj.c:575
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log]
>
>     /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:575:35:
>     warning: 'rlocalindex' may be used uninitialized in this function
>     [-Wmaybe-uninitialized]
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/54b07c2
>     implemented ISBuildTwoSided
>
>        src/vec/is/is/utils/iscoloring.c:416
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /sandbox/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c:416:11: error:
>     no matching function for call to 'PetscCommBuildTwoSided'
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log]
>
>     "/export/home/petsc/petsc.clone-2/src/vec/is/is/utils/iscoloring.c",
>     line 416: warning: argument #7 is incompatible with prototype:
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log]
>
>     /sandbox/petsc/petsc.clone-3/src/vec/is/is/utils/iscoloring.c:416:11: warning:
>     passing argument 7 of 'PetscCommBuildTwoSided' from incompatible
>     pointer type
>
>        src/vec/is/is/utils/iscoloring.c:444
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /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]
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /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]
>
>        src/vec/is/is/utils/iscoloring.c:445
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /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]
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /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]
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/77fca31
>     add runex40_2
>
>        src/mat/examples/tests/ex40.c:22
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>
>     /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18:
>     warning: unused variable 'rmap' [-Wunused-variable]
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/examples_next_arch-linux-gcc-ifc-cmplx_crank.log]
>
>     /sandbox/petsc/petsc.clone-2/src/mat/examples/tests/ex40.c:22:18:
>     warning: unused variable 'rmap' [-Wunused-variable]
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/841d17a
>     implemented a MatGetSubMatrix_MPIAdj_Single
>
>        src/mat/impls/adj/mpi/mpiadj.c:574
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-opt-cxx-quad_cg.log]
>
>     /sandbox/petsc/petsc.clone/src/mat/impls/adj/mpi/mpiadj.c:574:29:
>     warning: 'owner' may be used uninitialized in this function
>     [-Wmaybe-uninitialized]
>
>     ----
>
>     warnings attributed to commit
>     https://bitbucket.org/petsc/petsc/commits/9d01615
>     Rewrite an implementation of matincreaseoverlap
>
>        src/mat/impls/aij/mpi/mpiov.c:134
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log]
>
>     "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c",
>     line 134: warning: argument #7 is incompatible with prototype:
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log]
>
>     /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:134:10:
>     warning: passing argument 7 of 'PetscCommBuildTwoSided' from
>     incompatible pointer type
>
>        src/mat/impls/aij/mpi/mpiov.c:170
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-opensolaris-misc_n-gage.log]
>
>     "/export/home/petsc/petsc.clone-2/src/mat/impls/aij/mpi/mpiov.c",
>     line 170: warning: argument #7 is incompatible with prototype:
>
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/06/16/build_next_arch-linux-pkgs-64idx_thrash.log]
>
>     /sandbox/petsc/petsc.clone-3/src/mat/impls/aij/mpi/mpiov.c:170:10:
>     warning: passing argument 7 of 'PetscCommBuildTwoSided' from
>     incompatible pointer type
>
>     ----
>     To opt-out from receiving these messages - send a request to
>     petsc-dev at mcs.anl.gov <mailto:petsc-dev at mcs.anl.gov>.
>
>




More information about the petsc-dev mailing list