Compiling petsc-dev with c++/boost/sieve

Matthew Knepley knepley at gmail.com
Tue Aug 4 19:03:58 CDT 2009


On Thu, Jul 30, 2009 at 10:08 AM, <darach at tchpc.tcd.ie> wrote:

> Hi,
>
> I'm trying to run examples from the
> $PETSC_DIR/src/dm/mesh/examples/tutorials directory.  I'm interested
> in the mixedpoisson example, but I've tried compiling the ex[1-3]
> examples, with results that I give below.  I've also compiled some
> files in the $PETSC_DIR/src/dm/mesh/examples/tests directory with
> mostly failures as well.  Details of the petsc compilation are at the
> bottom of the email


I really apologize for taking so long to answer. I have been traveling, and
have
been up against several deadlines. The short answer is that this is my
fault. The
package is moving very fast because we have few users, and thus are willing
to
make lots of changes for them (which are hard to keep up to date in the
examples).
So

  1) If you look on the website at
http://www.mcs.anl.gov/petsc/petsc-as/documentation/tutorials/index.html
      and get the slides from the Short Course in China (at the top), this
has a very detailed, step-by- step
      construction of the Bratu equation for general elements. The
repository that goes with the slides is

        http://petsc.cs.iit.edu/petsc/GUCAS09TutorialCode/

     Each checkin adds a little more functionality, until you have a full
simulation. Your comments would be
     appreciated.

  2) I know you mentioned the mixed-poisson demo. I will get one working as
soon as I can. If
      you start before me and have questions or need help, don't hesitate to
ask.

  3) There is a specific list for these questions, sieve-dev at mcs.anl.gov.

  Thanks,

     Matt


>
> These compilations take place with PETSC_DIR=<compilation directory>,
> and with PETSC_ARCH set, but I've had similar problems after a 'make
> install'
>
> Examples elsewhere in the petsc tree appear to compile and run
> correctly
>
> I don't want to waste anyones time wading through reams of output, so
> I'm really asking whether this output indicates obviously that I have
> failed to configure/compile petsc correctly with c++/boost/sieve, and
> therefore have no hope of successfully compiling the examples?
>
> Darach
>
> petsc-dev:  HG revision: f9c1b044f127006244143f415f257bfbc93c7a6e HG Date:
> Tue Jul 28 16:59:48 2009 -0500
>
> %> gcc --version
> gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
> .....
>
> %>  make ex1
> mpicxx -o ex1.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g
> -I/home/user/Compile/petsc-dev/src/dm/mesh/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -I/home/user/Compile/petsc-dev/linux-gnu-cxx-debug/include
> -I/home/user/Compile/petsc-dev/include
> -I/home/user/Compile/petsc-dev/include/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -D__SDIR__="src/dm/mesh/examples/tutorials/" ex1.c
> ex1.c: In function â  PetscErrorCode CreatePartition(_p_Mesh*,
> _p_SectionInt**)â  :
> ex1.c:170: error: invalid initialization of reference of type â
>  ALE::Obj<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >,
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > > >&â   from
> expression of type â  ALE::Obj<ALE::Mesh, ALE::malloc_allocator<ALE::Mesh>
>> /home/user/Compile/petsc-dev/include/petscmesh.h:108: error: in passing
> argument 2 of â  PetscErrorCode MeshGetMesh(_p_Mesh*,
> ALE::Obj<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >,
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > > >&)â
> ex1.c:171: error: invalid conversion from â  intâ   to â  const char*â
> ex1.c:171: error: invalid conversion from â  _p_SectionInt**â   to â
>  PetscIntâ
> /home/user/Compile/petsc-dev/include/petscmesh.h:255: error: too few
> arguments to function â  PetscErrorCode MeshGetCellSectionInt(_p_Mesh*,
> const char*, PetscInt, _p_SectionInt**)â
> ex1.c:171: error: at this point in file
> ex1.c:173: error: invalid initialization of reference of type â
>  ALE::Obj<ALE::IGeneralSection<int, int, ALE::malloc_allocator<int> >,
> ALE::malloc_allocator<ALE::IGeneralSection<int, int,
> ALE::malloc_allocator<int> > > >&â   from expression of type â
>  ALE::Obj<ALE::Section<int, int, ALE::malloc_allocator<int>,
> ALE::UniformSection<int, ALE::Point, 1, ALE::malloc_allocator<ALE::Point> >
> >, ALE::malloc_allocator<ALE::Section<int, int, ALE::malloc_allocator<int>,
> ALE::UniformSection<int, ALE::Point, 1, ALE::malloc_allocator<ALE::Point> >
> > > >â
> ....
>
>
> %> make ex2
> mpicxx -o ex2.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g
> -I/home/user/Compile/petsc-dev/src/dm/mesh/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -I/home/user/Compile/petsc-dev/linux-gnu-cxx-debug/include
> -I/home/user/Compile/petsc-dev/include
> -I/home/user/Compile/petsc-dev/include/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -D__SDIR__="src/dm/mesh/examples/tutorials/" ex2.c
> ex2.c:22:38: error: ../src/dm/mesh/meshpcice.h: No such file or directory
> ex2.c: In function â  PetscErrorCode CreateSquareBoundary(const
> ALE::Obj<ALE::Mesh, ALE::malloc_allocator<ALE::Mesh> >&)â  :
> ex2.c:148: error: â  class ALE::Mesh::topology_typeâ   has not been
> declared
> ex2.c:148: error: expected initializer before â  patchâ
> ex2.c:153: error: â  topology_typeâ   is not a member of â  ALE::Meshâ
> ex2.c:153: error: â  topology_typeâ   is not a member of â  ALE::Meshâ
> ex2.c:153: error: template argument 1 is invalid
> ex2.c:153: error: template argument 2 is invalid
> ex2.c:153: error: invalid type in declaration before â  =â   token
> ex2.c:153: error: expected type-specifier
> ex2.c:153: error: invalid conversion from â  int*â   to â  intâ
> ex2.c:153: error: expected â  ,â   or â  ;â
> ex2.c:182: error: base operand of â  ->â   is not a pointer
> ex2.c:182: error: â  patchâ   was not declared in this scope
> ex2.c:183: error: base operand of â  ->â   is not a pointer
> ex2.c:184: error: â  class ALE::Meshâ   has no member named â  setTopologyâ
> ex2.c:185: error: â  SieveBuilderâ   is not a member of â  ALE::Newâ
> ex2.c:185: error: expected primary-expression before â  >â   token
> ex2.c:185: error: â  ::buildCoordinatesâ   has not been declared
> ex2.c:187: error: â  topology_typeâ   is not a member of â  ALE::Meshâ
> ex2.c:187: error: â  topology_typeâ   is not a member of â  ALE::Meshâ
> ex2.c:187: error: template argument 1 is invalid
> ....
>
> %> make ex3
> mpicxx -o ex3.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g
> -I/home/user/Compile/petsc-dev/src/dm/mesh/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -I/home/user/Compile/petsc-dev/linux-gnu-cxx-debug/include
> -I/home/user/Compile/petsc-dev/include
> -I/home/user/Compile/petsc-dev/include/sieve
> -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> -D__SDIR__="src/dm/mesh/examples/tutorials/" ex3.c
> ex3.c:26: error: â  Twoâ   is not a member of â  ALEâ
> ex3.c:26: error: â  Twoâ   is not a member of â  ALEâ
> ex3.c:26: error: template argument 1 is invalid
> ex3.c:26: error: template argument 2 is invalid
> ex3.c:27: error: â  Twoâ   is not a member of â  ALEâ
> ex3.c:27: error: â  Twoâ   is not a member of â  ALEâ
> ....
>
>
> Compilation Details:
> ---------------------
> [user at machine petsc-dev]$ ./config/configure.py
> --prefix=/home/user/install_home/petsc-dev-defaultboost-sieve-comp
> --with-scalar-type=complex  --with-clanguage=cxx  --with-boost=1
> --download-boost=/home/user/Compile/petsc-dev/externalpackages/boost.tar.gz
>  --with-sieve=1
>
> =================================================================================
>             Configuring PETSc to compile on your system
>
> =================================================================================
> TESTING: alternateConfigureLibrary from
> PETSc.packages.mpi4py(config/PETSc/packages/mpi4py.py:54)
>                                                           Compilers:
>  C Compiler:         mpicc  -Wall -Wwrite-strings -Wno-strict-aliasing -g3
>  C++ Compiler:       mpicxx  -Wall -Wwrite-strings -Wno-strict-aliasing -g
>  Fortran Compiler:   mpif90  -Wall -Wno-unused-variable -g
> Linkers:
>  Static linker:   /usr/bin/ar cr
> PETSc:
>  PETSC_ARCH: linux-gnu-cxx-debug
>  PETSC_DIR: /home/user/Compile/petsc-dev
>  **
>  ** Now build the libraries with "make all"
>  **
>  Clanguage: Cxx
>  Scalar type:complex
> MPI:
>  Includes: -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> X11:
>  Includes: ['']
>  Library: ['-lX11']
>  PETSc shared libraries: disabled
>  PETSc dynamic libraries: disabled
> BLAS/LAPACK: -llapack -lblas
> Sieve:
>  Includes: -I/home/user/Compile/petsc-dev/include/sieve
> Boost:
>  Includes: -I/home/user/Compile/petsc-dev/externalpackages/Boost/
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include
> -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib
> c2html:
> sowing:
>
>
>
> Using mpiexec: /misc/shared/apps/openmpi/gcc/64/1.2.8/bin/mpiexec
> ==========================================
> /bin/rm -f -f
> /home/user/Compile/petsc-dev/linux-gnu-cxx-debug/lib/libpetsc*.*
> /bin/rm -f -f
> /home/user/Compile/petsc-dev/linux-gnu-cxx-debug/include/petsc*.mod
> BEGINNING TO COMPILE LIBRARIES IN ALL DIRECTORIES
> =========================================
> ....
> libfast in: /home/user/Compile/petsc-dev/src/snes/examples/tutorials
> libfast in: /home/user/Compile/petsc-dev/src/snes/examples/tutorials/ex10d
> libfast in: /home/user/Compile/petsc-dev/src/snes/utils
> libfast in: /home/user/Compile/petsc-dev/src/snes/utils/sieve
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::~IFSieve() [with Point_ = int,
> Allocator_ = ALE::malloc_allocator<int>]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated
> from â  ALE::IBundle<Sieve_, RealSection_, IntSection_, Label_,
> ArrowSection_>::~IBundle() [with Sieve_ = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, RealSection_ = ALE::IGeneralSection<int,
> double, ALE::malloc_allocator<double> >, IntSection_ =
> ALE::IGeneralSection<int, int, ALE::malloc_allocator<int> >, Label_ =
> ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > >, ArrowSection_
> = ALE::UniformSection<ALE::MinimalArrow<int, int>, int, 1,
> ALE::malloc_allocator<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IMesh<ALE::LabelSifter<int,
> int, ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> meshmgsnes.c:63:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> meshmgsnes.c:349:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> ....
> libfast in: /home/user/Compile/petsc-dev/src/dm/da/utils/f90-custom
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1148:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::IFSieve(ompi_communicator_t*, int)
> [with Point_ = int, Allocator_ = ALE::malloc_allocator<int>]â
> mesh.c:1642:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> mesh.c:2846:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> meshpcice.c:387:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> meshpcice.c:388:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::~IFSieve() [with Point_ = int,
> Allocator_ = ALE::malloc_allocator<int>]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated
> from â  ALE::IBundle<Sieve_, RealSection_, IntSection_, Label_,
> ArrowSection_>::~IBundle() [with Sieve_ = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, RealSection_ = ALE::IGeneralSection<int,
> double, ALE::malloc_allocator<double> >, IntSection_ =
> ALE::IGeneralSection<int, int, ALE::malloc_allocator<int> >, Label_ =
> ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > >, ArrowSection_
> = ALE::UniformSection<ALE::MinimalArrow<int, int>, int, 1,
> ALE::malloc_allocator<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IMesh<ALE::LabelSifter<int,
> int, ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> meshpflotran.c:235:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> meshpflotran.c:903:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::~IFSieve() [with Point_ = int,
> Allocator_ = ALE::malloc_allocator<int>]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1332:   instantiated
> from â  ALE::IBundle<Sieve_, RealSection_, IntSection_, Label_,
> ArrowSection_>::IBundle(ompi_communicator_t*, int) [with Sieve_ =
> ALE::IFSieve<int, ALE::malloc_allocator<int> >, RealSection_ =
> ALE::IGeneralSection<int, double, ALE::malloc_allocator<double> >,
> IntSection_ = ALE::IGeneralSection<int, int, ALE::malloc_allocator<int> >,
> Label_ = ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > >, ArrowSection_
> = ALE::UniformSection<ALE::MinimalArrow<int, int>, int, 1,
> ALE::malloc_allocator<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1602:   instantiated
> from â  ALE::IMesh<Label_>::IMesh(ompi_communicator_t*, int, int) [with
> Label_ = ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > >]â
> meshexodus.c:183:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> meshexodus.c:364:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> section.c: In function â  PetscErrorCode
> SectionRealCreateLocalVector(_p_SectionReal*, _p_Vec**)â  :
> section.c:582: warning: unused variable â  ierrâ
> /home/user/Compile/petsc-dev/include/sieve/Field.hh: In member function â
>  void ALE::GeneralSection<Point_, Value_, Alloc_, Atlas_, BCAtlas_>::zero()
> [with Point_ = int, Value_ = int, Alloc_ = ALE::malloc_allocator<int>,
> Atlas_ = ALE::IUniformSection<int, ALE::Point, 1,
> ALE::malloc_allocator<ALE::Point> >, BCAtlas_ = ALE::ISection<int, int,
> ALE::malloc_allocator<int> >]â  :
> section.c:1354:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/Field.hh:1740: warning: passing
> â  doubleâ   for argument 1 to â  void ALE::GeneralSection<Point_, Value_,
> Alloc_, Atlas_, BCAtlas_>::set(Value_) [with Point_ = int, Value_ = int,
> Alloc_ = ALE::malloc_allocator<int>, Atlas_ = ALE::IUniformSection<int,
> ALE::Point, 1, ALE::malloc_allocator<ALE::Point> >, BCAtlas_ =
> ALE::ISection<int, int, ALE::malloc_allocator<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: At global scope:
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::~IFSieve() [with Point_ = int,
> Allocator_ = ALE::malloc_allocator<int>]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/petscmesh_viewers.hh:490:
> instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> section.c:1532:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/sieve
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/impls
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/impls/cartesian
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>â  :
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieveDef::Sequence<int>, A =
> ALE::malloc_allocator<ALE::IFSieveDef::Sequence<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated
> from â  ALE::IFSieve<Point_, Allocator_>::~IFSieve() [with Point_ = int,
> Allocator_ = ALE::malloc_allocator<int>]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, A = ALE::malloc_allocator<ALE::IFSieve<int,
> ALE::malloc_allocator<int> > >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated
> from â  ALE::IBundle<Sieve_, RealSection_, IntSection_, Label_,
> ArrowSection_>::~IBundle() [with Sieve_ = ALE::IFSieve<int,
> ALE::malloc_allocator<int> >, RealSection_ = ALE::IGeneralSection<int,
> double, ALE::malloc_allocator<double> >, IntSection_ =
> ALE::IGeneralSection<int, int, ALE::malloc_allocator<int> >, Label_ =
> ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > >, ArrowSection_
> = ALE::UniformSection<ALE::MinimalArrow<int, int>, int, 1,
> ALE::malloc_allocator<int> >]â
> /home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated
> from â  void ALE::Obj<X, A>::destroy() [with X =
> ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> /home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated
> from â  ALE::Obj<X, A>::~Obj() [with X = ALE::IMesh<ALE::LabelSifter<int,
> int, ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, A =
> ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int,
> ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > >]â
> cartesian.c:263:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class
> ALE::IFSieveDef::Sequence<int>â   has virtual functions but non-virtual
> destructor
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â
>  ALE::IFSieveDef::Sequence<int>::const_iteratorâ  :
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated
> from â  ALE::IFSieveDef::Sequence<PointType_>::const_iterator
> ALE::IFSieveDef::Sequence<PointType_>::begin() const [with PointType_ =
> int]â
> cartesian.c:269:   instantiated from here
> /home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class
> ALE::IFSieveDef::Sequence<int>::const_iteratorâ   has virtual functions but
> non-virtual destructor
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/ftn-auto
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/ftn-custom
> libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/f90-custom
> libfast in: /home/user/Compile/petsc-dev/src/dm/adda
> libfast in: /home/user/Compile/petsc-dev/src/dm/adda/examples
> libfast in: /home/user/Compile/petsc-dev/src/dm/adda/examples/tests
> libfast in: /home/user/Compile/petsc-dev/src/dm/adda/ftn-auto
> libfast in: /home/user/Compile/petsc-dev/src/dm/f90-mod
> libfast in: /home/user/Compile/petsc-dev/src/dm/ftn-custom
> libfast in: /home/user/Compile/petsc-dev/src/contrib
> libfast in: /home/user/Compile/petsc-dev/src/contrib/fun3d
> libfast in: /home/user/Compile/petsc-dev/src/benchmarks
> libfast in: /home/user/Compile/petsc-dev/src/docs
> libfast in: /home/user/Compile/petsc-dev/include
> libfast in: /home/user/Compile/petsc-dev/include/finclude
> libfast in: /home/user/Compile/petsc-dev/include/finclude/ftn-auto
> libfast in: /home/user/Compile/petsc-dev/include/finclude/ftn-custom
> libfast in: /home/user/Compile/petsc-dev/include/private
> libfast in: /home/user/Compile/petsc-dev/include/sieve
> libfast in: /home/user/Compile/petsc-dev/include/ftn-auto
> petschf.c: In function â  PetscErrorCode petscmemcpy_(void*, void*,
> size_t*, int*)â  :
> petschf.c:42: warning: no return statement in function returning non-void
> libfast in: /home/user/Compile/petsc-dev/tutorials
> libfast in: /home/user/Compile/petsc-dev/tutorials/multiphysics
> Completed building libraries
>
>
>
>


-- 
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-users/attachments/20090804/e41faffc/attachment-0001.htm>


More information about the petsc-users mailing list