petsc-dev
Threads by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
September 2015
- 23 participants
- 134 discussions
Jed, as I said yesterday, don't worry about those C99 examples, you don't need to change them.
Barry
> On Sep 8, 2015, at 9:12 AM, Jed Brown <jed(a)jedbrown.org> 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 <petsc-checkbuilds(a)mcs.anl.gov> 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 petsc-dev(a)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/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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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_ne…]
>> /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 petsc-dev(a)mcs.anl.gov.
1
0
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-ma…
---- 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 <petsc-checkbuilds(a)mcs.anl.gov> 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 petsc-dev(a)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/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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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_ne…]
> > /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 petsc-dev(a)mcs.anl.gov.
>
1
0
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 <petsc-checkbuilds(a)mcs.anl.gov> 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 petsc-dev(a)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/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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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_ne…]
> /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 petsc-dev(a)mcs.anl.gov.
1
0
06 Sep '15
Don't worry about these. I'm going to make a new test rule _C99 for examples that require C99.
Barry
> On Sep 6, 2015, at 9:00 AM, PETSc checkBuilds <petsc-checkbuilds(a)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(a)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/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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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]
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/06/examples_ne…]
> /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]
>
> src/snes/examples/tutorials/ex48.c:190
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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]
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/06/examples_ne…]
> /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/06/examples_ne…]
> /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]
>
> src/snes/examples/tutorials/ex48.c:820
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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/06/examples_ne…]
> /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 petsc-dev(a)mcs.anl.gov.
1
0
Re: [petsc-dev] [Bitbucket] Pull request #363: cleaned up cheby eig estimates and gamg rand (petsc/petsc)
by Barry Smith 04 Sep '15
by Barry Smith 04 Sep '15
04 Sep '15
> On Sep 3, 2015, at 1:44 AM, Barry Smith <bsmith(a)mcs.anl.gov> wrote:
>
>
> I have cleaned up this branch a bit and merged in Matt's portable random number generator.
>
> It needs some work (updating output files etc) before being merged into next for general testing.
I have finished the cleanup of this branch mark/eigen-rand and merged into next for testing.
In theory this will fix all the test issues for random numbers since all tests now use Matt's portable code and have updated output files.
Barry
>
>> On Sep 2, 2015, at 6:26 PM, Mark Adams <pullrequests-reply(a)bitbucket.org> wrote:
>>
>>
>> Mark Adams updated pull request #363:
>> cleaned up cheby eig estimates and gamg rand
>> Author Commit Message Date
>> Mark Adams 361911d resolved conflicts
>> 2 Sep 2015
>> Mark Adams 936b047 small fix
>> 2 Sep 2015
>> View this pull request or add a comment by replying to this email.
>> Unsubscribe from pull request emails for this repository.
>
1
0
04 Sep '15
Whoops, It looks like I missed this. I think we are all straight now.
Mark
On Wed, Sep 2, 2015 at 3:25 PM, Satish Balay <balay(a)mcs.anl.gov> wrote:
> Mark,
>
> I've attempted to fix this [and pushed my fix to mark/eigen-rand]
>
> https://bitbucket.org/petsc/petsc/commits/c79fff28fb4795ea8489ed0791c7573ac…
>
> However I now see you've also attempted to fix this [but did not push
> to mark/eigen-rand - but merged/pushed to next]
>
> https://bitbucket.org/petsc/petsc/commits/936b047d7dbed95b2d3785e6262c178f8…
>
> For one - your fix won't compile. So I'll merge my fix to next.
>
> But you should do the following in branch 'mark/eigen-rand' to discard
> your fix - and use mine.
>
> git checkout mark/eigen-rand
> git fetch
> git reset --hard origin/mark/eigen-rand
>
> Satish
>
> -------------------
> C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\agg.c(1217) :
> error C2297: '%' : illegal, right operand has type 'const double'
>
> /Users/petsc/petsc.clone-3/src/ksp/pc/impls/gamg/agg.c:1217: error:
> invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
>
>
> On Wed, 2 Sep 2015, PETSc checkBuilds 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(a)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/3ceba57
> > cleaned up cheby eig estimates and gamg rand
> >
> > src/ksp/pc/impls/gamg/agg.c:1217
> > [
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/02/build_next_…
> ]
> > /Users/petsc/petsc.clone-3/src/ksp/pc/impls/gamg/agg.c:1217:
> error: no match for 'operator-' in 'std::complex<double>(#'float_expr' not
> supported by dump_expr#<expression error>, 0.0) - 350'
> > [
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/02/build_next_…
> ]
> >
> C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\agg.c(1217) :
> error C2676: binary '-' : 'class std::complex<double>' does not define this
> operator or a conversion to a type acceptable to the predefined operator
> > [
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/02/build_next_…
> ]
> > /home/balay/petsc.clone-3/src/ksp/pc/impls/gamg/agg.c:1217:75:
> error: no match for 'operator-' in 'std::complex<double>((double)(idx *
> 79943 % 751), 0.0) - 350'
> >
> > ----
> > To opt-out from receiving these messages - send a request to
> petsc-dev(a)mcs.anl.gov.
> >
>
1
0
Oh yes, I'm an idiot, as if searching for %d would be enough. Fixed now I hope.
Thanks!
> On Sep 4, 2015, at 12:19 AM, Satish Balay <balay(a)mcs.anl.gov> wrote:
>
> Barry - I see the 'offset' related line changes are not in your commit.
>
> [they are required for the clean diff on opensolaris]
>
> Satish
>
> On Thu, 3 Sep 2015, Barry Smith wrote:
>
>>
>> Satish,
>>
>> Thanks. I have put in master and next.
>>
>> I totally missed those, I was only looking at PetscSectionView(()
>>
>> Barry
>>
>>> On Sep 3, 2015, at 11:30 PM, Satish Balay <balay(a)mcs.anl.gov> wrote:
>>>
>>> Perhaps the following is the fix?
>>>
>>> Satish
>>>
>>> -------------
>>> diff --git a/src/vec/vec/utils/vsection.c b/src/vec/vec/utils/vsection.c
>>> index 4923238..444c8ac 100644
>>> --- a/src/vec/vec/utils/vsection.c
>>> +++ b/src/vec/vec/utils/vsection.c
>>> @@ -22,7 +22,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
>>> if ((s->bc) && (s->bc->atlasDof[p] > 0)) {
>>> PetscInt b;
>>>
>>> - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
>>> + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
>>> for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
>>> PetscScalar v = array[i];
>>> #if defined(PETSC_USE_COMPLEX)
>>> @@ -43,7 +43,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
>>> }
>>> ierr = PetscViewerASCIISynchronizedPrintf(viewer, "\n");CHKERRQ(ierr);
>>> } else {
>>> - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
>>> + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
>>> for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
>>> PetscScalar v = array[i];
>>> #if defined(PETSC_USE_COMPLEX)
>>> @@ -87,7 +87,7 @@ PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer)
>>> if (s->numFields) {
>>> ierr = PetscViewerASCIIPrintf(viewer, "%s with %d fields\n", name, s->numFields);CHKERRQ(ierr);
>>> for (f = 0; f < s->numFields; ++f) {
>>> - ierr = PetscViewerASCIIPrintf(viewer, " field %d with %d components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
>>> + ierr = PetscViewerASCIIPrintf(viewer, " field %D with %D components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
>>> ierr = PetscSectionVecView_ASCII(s->field[f], v, viewer);CHKERRQ(ierr);
>>> }
>>> } else {
>>> --------------------
>>>
>>> balay@n-gage:~/petsc.clone/src/dm/impls/plex/examples/tests$ make runex3_nonconforming_tensor_2
>>> 319,321c319,321
>>> < Null vector 0 is likely null vector|| A * v[0] || = 8.64582e-17
>>> < Null vector 1 is likely null vector|| A * v[1] || = 5.97914e-17
>>> < Null vector 2 is likely null vector|| A * v[2] || = 7.89038e-17
>>> ---
>>>> Null vector 0 is likely null vector|| A * v[0] || = 2.73185e-17
>>>> Null vector 1 is likely null vector|| A * v[1] || = 7.80433e-17
>>>> Null vector 2 is likely null vector|| A * v[2] || = 5.42673e-17
>>> /home/balay/petsc.clone/src/dm/impls/plex/examples/tests
>>> Possible problem with with runex3_nonconforming_tensor_2, diffs above
>>>
>>>
>>> On Thu, 3 Sep 2015, Barry Smith wrote:
>>>
>>>>
>>>> And just to annoy me I cannot get -start_in_debugger to work on that machine. Valgrind has no complaints on a Mac with the examples.
>>>>
>>>> I've found some miss-use of PetscViewerASCIIPushSynchronized() and %d in parts of plex, I don't see how they could cause this problem but I am fixing them and will push that. Maybe we'll get lucky.
>>>>
>>>> Barry
>>>>
>>>>> On Sep 3, 2015, at 10:06 AM, Tobin Isaac <tisaac(a)ices.utexas.edu> wrote:
>>>>>
>>>>>
>>>>> Here's a partial diff from http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/03/examples_ne…:
>>>>>
>>>>> 232c232
>>>>> < field 0 with 2 components
>>>>> ---
>>>>>> field 0 with 0 components
>>>>> 234,242c234,242
>>>>> < ( 2) dim 2 offset 0 0.5 0
>>>>> < ( 3) dim 2 offset 2 1 0
>>>>> < ( 4) dim 2 offset 4 0 0.5
>>>>> < ( 5) dim 2 offset 6 0.5 0.5
>>>>> < ( 6) dim 2 offset 8 1 0.5
>>>>> < ( 7) dim 2 offset 10 0 1
>>>>> < ( 8) dim 2 offset 12 0.5 1
>>>>> < ( 9) dim 2 offset 14 0.5 0.25
>>>>> < ( 10) dim 2 offset 16 0.25 0.5
>>>>> ---
>>>>>> ( 2) dim 0 offset 2 0.5 0
>>>>>> ( 3) dim 0 offset 2 1 0
>>>>>> ( 4) dim 0 offset 2 0 0.5
>>>>>> ( 5) dim 0 offset 2 0.5 0.5
>>>>>> ( 6) dim 0 offset 2 1 0.5
>>>>>> ( 7) dim 0 offset 2 0 1
>>>>>> ( 8) dim 0 offset 2 0.5 1
>>>>>> ( 9) dim 0 offset 2 0.5 0.25
>>>>>> ( 10) dim 0 offset 2 0.25 0.5
>>>>>
>>>>> The numbers that printf is making 0 (or 2) clearly aren't, because
>>>>> they are used to iterate over a section and display its contents. But
>>>>> other PetscInt's are printed fine elsewhere. Weird.
>>>>>
>>>>> Toby
>>>>>
>>>>
>>>>
>>>
>>
>>
>
1
0
Barry - I see the 'offset' related line changes are not in your commit.
[they are required for the clean diff on opensolaris]
Satish
On Thu, 3 Sep 2015, Barry Smith wrote:
>
> Satish,
>
> Thanks. I have put in master and next.
>
> I totally missed those, I was only looking at PetscSectionView(()
>
> Barry
>
> > On Sep 3, 2015, at 11:30 PM, Satish Balay <balay(a)mcs.anl.gov> wrote:
> >
> > Perhaps the following is the fix?
> >
> > Satish
> >
> > -------------
> > diff --git a/src/vec/vec/utils/vsection.c b/src/vec/vec/utils/vsection.c
> > index 4923238..444c8ac 100644
> > --- a/src/vec/vec/utils/vsection.c
> > +++ b/src/vec/vec/utils/vsection.c
> > @@ -22,7 +22,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
> > if ((s->bc) && (s->bc->atlasDof[p] > 0)) {
> > PetscInt b;
> >
> > - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> > + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> > for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
> > PetscScalar v = array[i];
> > #if defined(PETSC_USE_COMPLEX)
> > @@ -43,7 +43,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
> > }
> > ierr = PetscViewerASCIISynchronizedPrintf(viewer, "\n");CHKERRQ(ierr);
> > } else {
> > - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> > + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> > for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
> > PetscScalar v = array[i];
> > #if defined(PETSC_USE_COMPLEX)
> > @@ -87,7 +87,7 @@ PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer)
> > if (s->numFields) {
> > ierr = PetscViewerASCIIPrintf(viewer, "%s with %d fields\n", name, s->numFields);CHKERRQ(ierr);
> > for (f = 0; f < s->numFields; ++f) {
> > - ierr = PetscViewerASCIIPrintf(viewer, " field %d with %d components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
> > + ierr = PetscViewerASCIIPrintf(viewer, " field %D with %D components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
> > ierr = PetscSectionVecView_ASCII(s->field[f], v, viewer);CHKERRQ(ierr);
> > }
> > } else {
> > --------------------
> >
> > balay@n-gage:~/petsc.clone/src/dm/impls/plex/examples/tests$ make runex3_nonconforming_tensor_2
> > 319,321c319,321
> > < Null vector 0 is likely null vector|| A * v[0] || = 8.64582e-17
> > < Null vector 1 is likely null vector|| A * v[1] || = 5.97914e-17
> > < Null vector 2 is likely null vector|| A * v[2] || = 7.89038e-17
> > ---
> >> Null vector 0 is likely null vector|| A * v[0] || = 2.73185e-17
> >> Null vector 1 is likely null vector|| A * v[1] || = 7.80433e-17
> >> Null vector 2 is likely null vector|| A * v[2] || = 5.42673e-17
> > /home/balay/petsc.clone/src/dm/impls/plex/examples/tests
> > Possible problem with with runex3_nonconforming_tensor_2, diffs above
> >
> >
> > On Thu, 3 Sep 2015, Barry Smith wrote:
> >
> >>
> >> And just to annoy me I cannot get -start_in_debugger to work on that machine. Valgrind has no complaints on a Mac with the examples.
> >>
> >> I've found some miss-use of PetscViewerASCIIPushSynchronized() and %d in parts of plex, I don't see how they could cause this problem but I am fixing them and will push that. Maybe we'll get lucky.
> >>
> >> Barry
> >>
> >>> On Sep 3, 2015, at 10:06 AM, Tobin Isaac <tisaac(a)ices.utexas.edu> wrote:
> >>>
> >>>
> >>> Here's a partial diff from http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/03/examples_ne…:
> >>>
> >>> 232c232
> >>> < field 0 with 2 components
> >>> ---
> >>>> field 0 with 0 components
> >>> 234,242c234,242
> >>> < ( 2) dim 2 offset 0 0.5 0
> >>> < ( 3) dim 2 offset 2 1 0
> >>> < ( 4) dim 2 offset 4 0 0.5
> >>> < ( 5) dim 2 offset 6 0.5 0.5
> >>> < ( 6) dim 2 offset 8 1 0.5
> >>> < ( 7) dim 2 offset 10 0 1
> >>> < ( 8) dim 2 offset 12 0.5 1
> >>> < ( 9) dim 2 offset 14 0.5 0.25
> >>> < ( 10) dim 2 offset 16 0.25 0.5
> >>> ---
> >>>> ( 2) dim 0 offset 2 0.5 0
> >>>> ( 3) dim 0 offset 2 1 0
> >>>> ( 4) dim 0 offset 2 0 0.5
> >>>> ( 5) dim 0 offset 2 0.5 0.5
> >>>> ( 6) dim 0 offset 2 1 0.5
> >>>> ( 7) dim 0 offset 2 0 1
> >>>> ( 8) dim 0 offset 2 0.5 1
> >>>> ( 9) dim 0 offset 2 0.5 0.25
> >>>> ( 10) dim 0 offset 2 0.25 0.5
> >>>
> >>> The numbers that printf is making 0 (or 2) clearly aren't, because
> >>> they are used to iterate over a section and display its contents. But
> >>> other PetscInt's are printed fine elsewhere. Weird.
> >>>
> >>> Toby
> >>>
> >>
> >>
> >
>
>
1
0
Satish,
Thanks. I have put in master and next.
I totally missed those, I was only looking at PetscSectionView(()
Barry
> On Sep 3, 2015, at 11:30 PM, Satish Balay <balay(a)mcs.anl.gov> wrote:
>
> Perhaps the following is the fix?
>
> Satish
>
> -------------
> diff --git a/src/vec/vec/utils/vsection.c b/src/vec/vec/utils/vsection.c
> index 4923238..444c8ac 100644
> --- a/src/vec/vec/utils/vsection.c
> +++ b/src/vec/vec/utils/vsection.c
> @@ -22,7 +22,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
> if ((s->bc) && (s->bc->atlasDof[p] > 0)) {
> PetscInt b;
>
> - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
> PetscScalar v = array[i];
> #if defined(PETSC_USE_COMPLEX)
> @@ -43,7 +43,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
> }
> ierr = PetscViewerASCIISynchronizedPrintf(viewer, "\n");CHKERRQ(ierr);
> } else {
> - ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> + ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
> for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
> PetscScalar v = array[i];
> #if defined(PETSC_USE_COMPLEX)
> @@ -87,7 +87,7 @@ PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer)
> if (s->numFields) {
> ierr = PetscViewerASCIIPrintf(viewer, "%s with %d fields\n", name, s->numFields);CHKERRQ(ierr);
> for (f = 0; f < s->numFields; ++f) {
> - ierr = PetscViewerASCIIPrintf(viewer, " field %d with %d components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
> + ierr = PetscViewerASCIIPrintf(viewer, " field %D with %D components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
> ierr = PetscSectionVecView_ASCII(s->field[f], v, viewer);CHKERRQ(ierr);
> }
> } else {
> --------------------
>
> balay@n-gage:~/petsc.clone/src/dm/impls/plex/examples/tests$ make runex3_nonconforming_tensor_2
> 319,321c319,321
> < Null vector 0 is likely null vector|| A * v[0] || = 8.64582e-17
> < Null vector 1 is likely null vector|| A * v[1] || = 5.97914e-17
> < Null vector 2 is likely null vector|| A * v[2] || = 7.89038e-17
> ---
>> Null vector 0 is likely null vector|| A * v[0] || = 2.73185e-17
>> Null vector 1 is likely null vector|| A * v[1] || = 7.80433e-17
>> Null vector 2 is likely null vector|| A * v[2] || = 5.42673e-17
> /home/balay/petsc.clone/src/dm/impls/plex/examples/tests
> Possible problem with with runex3_nonconforming_tensor_2, diffs above
>
>
> On Thu, 3 Sep 2015, Barry Smith wrote:
>
>>
>> And just to annoy me I cannot get -start_in_debugger to work on that machine. Valgrind has no complaints on a Mac with the examples.
>>
>> I've found some miss-use of PetscViewerASCIIPushSynchronized() and %d in parts of plex, I don't see how they could cause this problem but I am fixing them and will push that. Maybe we'll get lucky.
>>
>> Barry
>>
>>> On Sep 3, 2015, at 10:06 AM, Tobin Isaac <tisaac(a)ices.utexas.edu> wrote:
>>>
>>>
>>> Here's a partial diff from http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/03/examples_ne…:
>>>
>>> 232c232
>>> < field 0 with 2 components
>>> ---
>>>> field 0 with 0 components
>>> 234,242c234,242
>>> < ( 2) dim 2 offset 0 0.5 0
>>> < ( 3) dim 2 offset 2 1 0
>>> < ( 4) dim 2 offset 4 0 0.5
>>> < ( 5) dim 2 offset 6 0.5 0.5
>>> < ( 6) dim 2 offset 8 1 0.5
>>> < ( 7) dim 2 offset 10 0 1
>>> < ( 8) dim 2 offset 12 0.5 1
>>> < ( 9) dim 2 offset 14 0.5 0.25
>>> < ( 10) dim 2 offset 16 0.25 0.5
>>> ---
>>>> ( 2) dim 0 offset 2 0.5 0
>>>> ( 3) dim 0 offset 2 1 0
>>>> ( 4) dim 0 offset 2 0 0.5
>>>> ( 5) dim 0 offset 2 0.5 0.5
>>>> ( 6) dim 0 offset 2 1 0.5
>>>> ( 7) dim 0 offset 2 0 1
>>>> ( 8) dim 0 offset 2 0.5 1
>>>> ( 9) dim 0 offset 2 0.5 0.25
>>>> ( 10) dim 0 offset 2 0.25 0.5
>>>
>>> The numbers that printf is making 0 (or 2) clearly aren't, because
>>> they are used to iterate over a section and display its contents. But
>>> other PetscInt's are printed fine elsewhere. Weird.
>>>
>>> Toby
>>>
>>
>>
>
1
0
Perhaps the following is the fix?
Satish
-------------
diff --git a/src/vec/vec/utils/vsection.c b/src/vec/vec/utils/vsection.c
index 4923238..444c8ac 100644
--- a/src/vec/vec/utils/vsection.c
+++ b/src/vec/vec/utils/vsection.c
@@ -22,7 +22,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
if ((s->bc) && (s->bc->atlasDof[p] > 0)) {
PetscInt b;
- ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
+ ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
PetscScalar v = array[i];
#if defined(PETSC_USE_COMPLEX)
@@ -43,7 +43,7 @@ PetscErrorCode PetscSectionVecView_ASCII(PetscSection s, Vec v, PetscViewer view
}
ierr = PetscViewerASCIISynchronizedPrintf(viewer, "\n");CHKERRQ(ierr);
} else {
- ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4d) dim %2d offset %3d", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
+ ierr = PetscViewerASCIISynchronizedPrintf(viewer, " (%4D) dim %2D offset %3D", p+s->pStart, s->atlasDof[p], s->atlasOff[p]);CHKERRQ(ierr);
for (i = s->atlasOff[p]; i < s->atlasOff[p]+s->atlasDof[p]; ++i) {
PetscScalar v = array[i];
#if defined(PETSC_USE_COMPLEX)
@@ -87,7 +87,7 @@ PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer)
if (s->numFields) {
ierr = PetscViewerASCIIPrintf(viewer, "%s with %d fields\n", name, s->numFields);CHKERRQ(ierr);
for (f = 0; f < s->numFields; ++f) {
- ierr = PetscViewerASCIIPrintf(viewer, " field %d with %d components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
+ ierr = PetscViewerASCIIPrintf(viewer, " field %D with %D components\n", f, s->numFieldComponents[f]);CHKERRQ(ierr);
ierr = PetscSectionVecView_ASCII(s->field[f], v, viewer);CHKERRQ(ierr);
}
} else {
--------------------
balay@n-gage:~/petsc.clone/src/dm/impls/plex/examples/tests$ make runex3_nonconforming_tensor_2
319,321c319,321
< Null vector 0 is likely null vector|| A * v[0] || = 8.64582e-17
< Null vector 1 is likely null vector|| A * v[1] || = 5.97914e-17
< Null vector 2 is likely null vector|| A * v[2] || = 7.89038e-17
---
> Null vector 0 is likely null vector|| A * v[0] || = 2.73185e-17
> Null vector 1 is likely null vector|| A * v[1] || = 7.80433e-17
> Null vector 2 is likely null vector|| A * v[2] || = 5.42673e-17
/home/balay/petsc.clone/src/dm/impls/plex/examples/tests
Possible problem with with runex3_nonconforming_tensor_2, diffs above
On Thu, 3 Sep 2015, Barry Smith wrote:
>
> And just to annoy me I cannot get -start_in_debugger to work on that machine. Valgrind has no complaints on a Mac with the examples.
>
> I've found some miss-use of PetscViewerASCIIPushSynchronized() and %d in parts of plex, I don't see how they could cause this problem but I am fixing them and will push that. Maybe we'll get lucky.
>
> Barry
>
> > On Sep 3, 2015, at 10:06 AM, Tobin Isaac <tisaac(a)ices.utexas.edu> wrote:
> >
> >
> > Here's a partial diff from http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/09/03/examples_ne…:
> >
> > 232c232
> > < field 0 with 2 components
> > ---
> >> field 0 with 0 components
> > 234,242c234,242
> > < ( 2) dim 2 offset 0 0.5 0
> > < ( 3) dim 2 offset 2 1 0
> > < ( 4) dim 2 offset 4 0 0.5
> > < ( 5) dim 2 offset 6 0.5 0.5
> > < ( 6) dim 2 offset 8 1 0.5
> > < ( 7) dim 2 offset 10 0 1
> > < ( 8) dim 2 offset 12 0.5 1
> > < ( 9) dim 2 offset 14 0.5 0.25
> > < ( 10) dim 2 offset 16 0.25 0.5
> > ---
> >> ( 2) dim 0 offset 2 0.5 0
> >> ( 3) dim 0 offset 2 1 0
> >> ( 4) dim 0 offset 2 0 0.5
> >> ( 5) dim 0 offset 2 0.5 0.5
> >> ( 6) dim 0 offset 2 1 0.5
> >> ( 7) dim 0 offset 2 0 1
> >> ( 8) dim 0 offset 2 0.5 1
> >> ( 9) dim 0 offset 2 0.5 0.25
> >> ( 10) dim 0 offset 2 0.25 0.5
> >
> > The numbers that printf is making 0 (or 2) clearly aren't, because
> > they are used to iterate over a section and display its contents. But
> > other PetscInt's are printed fine elsewhere. Weird.
> >
> > Toby
> >
>
>
1
0