[petsc-dev] dmplex updates broke next

Matthew Knepley knepley at gmail.com
Mon Nov 25 15:22:53 CST 2013


On Mon, Nov 25, 2013 at 1:52 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Mon, Nov 25, 2013 at 1:47 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>>
>>    Merges yesterday into next from a dmplex branch introduced warnings
>> and errors that need fixing.
>>
>
> Will fix tonight when the baby goes to bed.
>

Done.

   Matt


>   Matt
>
>
>>    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
>>
>>                                              ^
>>
>>
>
>
> --
> 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
>



-- 
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/20131125/fcdb30a5/attachment.html>


More information about the petsc-dev mailing list