[petsc-dev] lots of nightly build errors, fix your branches

Matthew Knepley knepley at gmail.com
Thu Dec 5 05:52:46 CST 2013


On Wed, Dec 4, 2013 at 9:54 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>          CXX arch-mswin-cxx-cmplx/obj/src/snes/impls/gs/ftn-auto/snesgsf.o
> gssecant.c
> C:\cygwin\home\sbalay\PETSC~2.CLO\src\snes\impls\gs\gssecant.c(120) :
> error C2784: 'class std::complex<_Ty> __cdecl std::sqrt(const class
> std::complex<_Ty> &)' : could not deduce template argument for 'const class
> std::complex<_Ty> &' from 'double'
> snesgsf.c
> gmakefile:135: recipe for target
> `arch-mswin-cxx-cmplx/obj/src/snes/impls/gs/gssecant.o' failed
> make[2]: *** [arch-mswin-cxx-cmplx/obj/src/snes/impls/gs/gssecant.o] Error
> 2
>
> /sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/src/core/dist_matrix/star_star.cpp:202:43:
> error: use of undeclared identifier 'alpha'
>     ( d, offset, []( T& alpha, T beta ) { alpha = beta; } );
>                                           ^
> /sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/src/core/dist_matrix/star_star.cpp:202:51:
> error: use of undeclared identifier 'beta'
>     ( d, offset, []( T& alpha, T beta ) { alpha = beta; } );
>                                                   ^
>
> make[1]: Leaving directory
> `/sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/arch-linux-pkgs-dbg-ftn-interfaces'/sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/external/pmrrr/src/pmrrr.c:429:6:
> warning: passing 'const char [2]' to parameter of type 'char *' discards
> qualifiers [-Wincompatible-pointer-types]
> /sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/external/pmrrr/src/pmrrr.c:429:11:
> warning: passing 'const char [2]' to parameter of type 'char *' discards
> qualifiers [-Wincompatible-pointer-types]
> /sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/external/pmrrr/src/pmrrr.c:500:27:
> warning: passing 'const char [2]' to parameter of type 'char *' discards
> qualifiers [-Wincompatible-pointer-types]
> /sandbox/petsc/petsc.clone/arch-linux-pkgs-dbg-ftn-interfaces/externalpackages/elemental/external/pmrrr/src/plarre.c:525:6:
> warning: passing 'const char [2]' to parameter of type 'char *' discards
> qualifiers [-Wincompatible-pointer-types]
> ……
>
> mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -g -O0
>  -I/home/balay/petsc.clone-3/arch-c-exodus-dbg-builder/include
> -I/home/balay/petsc.clone-3/include -I/usr/include/mpich2   -c -o ctetgen.o
> ctetgen.cctetgen.c: In function ‘TetGenMeshCreate’:
>

These errors are fixed. We might need the machine to wipe externalpackages.


> ctetgen.c:1637:33: error: macro "PetscNew" passed 2 arguments, but takes
> just 1
> ctetgen.c:1637:10: error: ‘PetscNew’ undeclared (first use in this
> function)
> ctetgen.c:1637:10: note: each undeclared identifier is reported only once
> for each function it appears in
> ctetgen.c: In function ‘PLCCreate’:
> ctetgen.c:2016:26: error: macro "PetscNew" passed 2 arguments, but takes
> just 1
> ctetgen.c:2016:10: error: ‘PetscNew’ undeclared (first use in this
> function)
> ctetgen.c: In function ‘TetGenMeshSplitTetEdge’:
> ctetgen.c:9364:73: error: macro "PetscMalloc2" passed 6 arguments, but
> takes just 4
> ctetgen.c:9364:10: error: ‘PetscMalloc2’ undeclared (first use in this
> function)
> make: *** [ctetgen.o] Error 1
>
> ******************************************************************************
>
> usr/home/balay/petsc.clone-2/src/dm/impls/plex/plexgmsh.c:34: warning:
> 'fpos' may be used uninitialized in this function
>

Fixed.

   Matt


> /usr/home/balay/petsc.clone-2/src/snes/impls/gs/gssecant.c:30: warning:
> 'ft1' may be used uninitialized in this function
>
>
>
> Error running make on Ctetgen: Could not execute "cd
> /home/balay/petsc.clone-3/arch-c-exodus-dbg-builder/externalpackages/ctetgen
> && make clean && make lib && make install":
> /bin/rm -f libctetgen.a ctetgen.o predicates.o core *.o *~
> mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -g -O0
>  -I/home/balay/petsc.clone-3/arch-c-exodus-dbg-builder/include
> -I/home/balay/petsc.clone-3/include -I/usr/include/mpich2   -c -o ctetgen.o
> ctetgen.cctetgen.c: In function ‘TetGenMeshCreate’:
> ctetgen.c:1637:33: error: macro "PetscNew" passed 2 arguments, but takes
> just 1
> ctetgen.c:1637:10: error: ‘PetscNew’ undeclared (first use in this
> function)
> ctetgen.c:1637:10: note: each undeclared identifier is reported only once
> for each function it appears in
> ctetgen.c: In function ‘PLCCreate’:
> ctetgen.c:2016:26: error: macro "PetscNew" passed 2 arguments, but takes
> just 1
> ctetgen.c:2016:10: error: ‘PetscNew’ undeclared (first use in this
> function)
> ctetgen.c: In function ‘TetGenMeshSplitTetEdge’:
> ctetgen.c:9364:73: error: macro "PetscMalloc2" passed 6 arguments, but
> takes just 4
> ctetgen.c:9364:10: error: ‘PetscMalloc2’ undeclared (first use in this
> function)
> make: *** [ctetgen.o] Error 1
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131205/ea5d8182/attachment.html>


More information about the petsc-dev mailing list