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

Barry Smith bsmith at mcs.anl.gov
Wed Dec 4 21:54:08 CST 2013


         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’:
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
/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





More information about the petsc-dev mailing list