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