[petsc-dev] dmplex updates broke next

Barry Smith bsmith at mcs.anl.gov
Mon Nov 25 13:47:52 CST 2013


   Merges yesterday into next from a dmplex branch introduced warnings and errors that need fixing.

   Thanks

src/dm/impls/da/dageometry.c: In function ‘PetscErrorCode DMDAGetTransitiveClosure(DM, PetscInt, PetscBool, PetscInt*, PetscInt**)’:
src/dm/impls/da/dageometry.c:153:69: warning: unused variable ‘cz’ [-Wunused-variable]
       PetscInt c  = p - cStart, cx = c % (nVx-1), cy = c / (nVx-1), cz = c / ((nVx-1)*(nVy-1));
                                                                     ^
src/dm/impls/da/dageometry.c:154:16: warning: unused variable ‘v’ [-Wunused-variable]
       PetscInt v  = cy*nVx + cx +  vStart;
                ^
src/dm/impls/da/dageometry.c:155:16: warning: unused variable ‘xf’ [-Wunused-variable]
       PetscInt xf = cy*nxF + cx + xfStart;
                ^
src/dm/impls/da/dageometry.c:156:16: warning: unused variable ‘yf’ [-Wunused-variable]
       PetscInt yf = c + yfStart;
                ^
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/dapreallocatef.o
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/dadistf.o
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/gr1f.o
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/daghostf.o
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/fddaf.o
         CXX arch-linux-pkgs-cxx-mlib/obj/src/dm/impls/da/ftn-auto/daindexf.o
src/dm/impls/da/ftn-auto/dapreallocatef.c: In function ‘void dmdasetpreallocationcenterdimension_(DM, PetscInt*, int*)’:
src/dm/impls/da/ftn-auto/dapreallocatef.c:49:46: error: ‘DMDASetPreallocationCenterDimension’ was not declared in this scope
  (DM)PetscToPointer((dm) ),*preallocCenterDim);
                                              ^
src/dm/impls/da/ftn-auto/dapreallocatef.c: In function ‘void dmdagetpreallocationcenterdimension_(DM, PetscInt*, int*)’:
src/dm/impls/da/ftn-auto/dapreallocatef.c:53:45: error: ‘DMDAGetPreallocationCenterDimension’ was not declared in this scope
  (DM)PetscToPointer((dm) ),preallocCenterDim);

        CC arch-linux-gcc-ifc/obj/src/dm/impls/plex/ftn-auto/plexcgnsf.o
src/dm/impls/plex/ftn-auto/plexpreallocatef.c: In function ‘dmplexgetpreallocationcenterdimension_’:
src/dm/impls/plex/ftn-auto/plexpreallocatef.c:52:1: warning: implicit declaration of function ‘DMPlexGetPreallocationCenterDimension’ [-Wimplicit-function-declaration]
 *__ierr = DMPlexGetPreallocationCenterDimension(
 ^
          CC arch-linux-gcc-ifc/obj/src/dm/impls/plex/ftn-auto/plexpointf.o
          CC arch-linux-gcc-ifc/obj/src/dm/impls/plex/ftn-auto/plexlabelf.o
          CC arch-linux-gcc-ifc/obj/src/dm/impls/plex/ftn-auto/plexf.o
          CC arch-linux-gcc-ifc/obj/src/dm/impls/plex/ftn-auto/plexreorderf.o

                                             ^




More information about the petsc-dev mailing list