Re: [petsc-dev] PETSc blame digest (next) 2015-09-08
Looks like sometimes when the main build fails - all the examples will fail - trigerring such e-mails.. http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/filtered-mak... ---- ERRORS ---- CC arch-linux-c89/obj/src/ksp/pc/impls/telescope/telescope_dmda.o /sandbox/petsc/petsc.clone-2/src/ksp/pc/impls/telescope/telescope.c: In function οΏ½PCTelescopeMatCreate_defaultοΏ½: /sandbox/petsc/petsc.clone-2/src/ksp/pc/impls/telescope/telescope.c:210:5: error: expected expression before οΏ½/οΏ½ token //ierr = MatCreateMPIMatConcatenateSeqMat(subcomm,Blocal,PETSC_DECIDE,reuse,&Bred);CHKERRQ(ierr); ^ Satish On Tue, 8 Sep 2015, Jed Brown wrote:
This code has been in PETSc for 6 years. Did it just become a problem or were these warnings suppressed? Is this a useful mode? Changing the code to initialize with a bunch of statements makes the code longer, more redundant, and harder to read, so I'm reluctant to change it unless someone cares.
PETSc checkBuilds <[email protected]> writes:
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 [email protected] if you are unable to resolve the issues.
Thanks, The PETSc development team
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/252c3e4 Add linear acoustics to FV solver
src/ts/examples/tutorials/ex9.c:1071 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:1071:10: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex9.c:1154 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:1154:10: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex9.c:768 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:768:5: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex9.c:769 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:769:17: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/26db4db Add prototype multiphysics example with analytic Jacobians
src/snes/examples/tutorials/ex28.c:143 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex28.c:143:5: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/28c2760 Add example multigrid solver for hydrostatic ice sheet flow
src/snes/examples/tutorials/ex48.c:1236 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:1236:15: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:1237 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:1237:46: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:1238 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:1238:46: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:1239 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:1239:46: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:188 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:188:87: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:188:148: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:188:117: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic]
src/snes/examples/tutorials/ex48.c:190 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:190:3: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:191 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:191:3: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:266 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:266:21: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/3b50ffb Flesh out 1-D high-resolution finite volume example
src/ts/examples/tutorials/ex9.c:770 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:770:5: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex9.c:906 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:906:10: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/7570185 Fix ex48 for complex, explicitly set the "component" field of MatStencil
src/snes/examples/tutorials/ex48.c:269 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:269:31: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:270 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:270:31: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:271 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:271:31: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/7d9bd58 snes ex48 updates
src/snes/examples/tutorials/ex48.c:272 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:272:31: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:273 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:273:31: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex48.c:727 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:727:55: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:727:216: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:727:122: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:727:247: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:727:91: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators [-Wpedantic]
src/snes/examples/tutorials/ex48.c:820 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex48.c:820:13: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/8213a6b snes ex28 (multi-physics assembly): fix scaling, use more interesting and stable "physics"
src/snes/examples/tutorials/ex28.c:150 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex28.c:150:7: warning: initializer element is not computable at load time
src/snes/examples/tutorials/ex28.c:168 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/snes/examples/tutorials/ex28.c:168:5: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/864d954 Make a Brusselator in 1D
src/ts/examples/tutorials/ex25.c:254 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex25.c:254:7: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex25.c:257 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex25.c:257:7: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex25.c:259 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex25.c:259:7: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex25.c:260 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex25.c:260:42: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/9406ea4 New features in 1D FV example
src/ts/examples/tutorials/ex9.c:771 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:771:17: warning: initializer element is not computable at load time
src/ts/examples/tutorials/ex9.c:977 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tutorials/ex9.c:977:10: warning: initializer element is not computable at load time
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/afcb2eb Make petscimpl.h private
include/petsc/private/petscimpl.h:346 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone/include/petsc/private/petscimpl.h:346:4: warning: statement has no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone-2/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone-3/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone-3/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone-2/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone-2/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone/include/petsc/private/petscimpl.h:346:3: warning: statement with no effect [-Wunused-value] [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/build_next_a...] /sandbox/petsc/petsc.clone/include/petsc/private/petscimpl.h:346:4: warning: statement has no effect [-Wunused-value]
----
warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/f1c9992 PetscInitialize/TS: test multiple calls in (bad) convergnce study
src/ts/examples/tests/ex25.c:278 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tests/ex25.c:278:7: warning: initializer element is not computable at load time
src/ts/examples/tests/ex25.c:281 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tests/ex25.c:281:7: warning: initializer element is not computable at load time
src/ts/examples/tests/ex25.c:283 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tests/ex25.c:283:7: warning: initializer element is not computable at load time
src/ts/examples/tests/ex25.c:284 [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/08/examples_nex...] /sandbox/petsc/petsc.clone-2/src/ts/examples/tests/ex25.c:284:42: warning: initializer element is not computable at load time
---- To opt-out from receiving these messages - send a request to [email protected].
participants (1)
-
Satish Balay