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

darach at tchpc.tcd.ie darach at tchpc.tcd.ie
Thu Jul 30 10:08:11 CDT 2009


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

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





More information about the petsc-users mailing list