On Thu, Jul 30, 2009 at 10:08 AM,  <span dir="ltr">&lt;<a href="mailto:darach@tchpc.tcd.ie">darach@tchpc.tcd.ie</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I&#39;m trying to run examples from the<br>
$PETSC_DIR/src/dm/mesh/examples/tutorials directory.  I&#39;m interested<br>
in the mixedpoisson example, but I&#39;ve tried compiling the ex[1-3]<br>
examples, with results that I give below.  I&#39;ve also compiled some<br>
files in the $PETSC_DIR/src/dm/mesh/examples/tests directory with<br>
mostly failures as well.  Details of the petsc compilation are at the<br>
bottom of the email</blockquote><div><br>I really apologize for taking so long to answer. I have been traveling, and have<br>been up against several deadlines. The short answer is that this is my fault. The<br>package is moving very fast because we have few users, and thus are willing to<br>
make lots of changes for them (which are hard to keep up to date in the examples).<br>So<br><br>  1) If you look on the website at <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/tutorials/index.html">http://www.mcs.anl.gov/petsc/petsc-as/documentation/tutorials/index.html</a><br>
      and get the slides from the Short Course in China (at the top), this has a very detailed, step-by- step<br>      construction of the Bratu equation for general elements. The repository that goes with the slides is<br>
<br>        <a href="http://petsc.cs.iit.edu/petsc/GUCAS09TutorialCode/">http://petsc.cs.iit.edu/petsc/GUCAS09TutorialCode/</a><br><br>     Each checkin adds a little more functionality, until you have a full simulation. Your comments would be<br>
     appreciated.<br><br>  2) I know you mentioned the mixed-poisson demo. I will get one working as soon as I can. If<br>      you start before me and have questions or need help, don&#39;t hesitate to ask.<br><br>  3) There is a specific list for these questions, <a href="mailto:sieve-dev@mcs.anl.gov">sieve-dev@mcs.anl.gov</a>.<br>
<br>  Thanks,<br><br>     Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
These compilations take place with PETSC_DIR=&lt;compilation directory&gt;,<br>
and with PETSC_ARCH set, but I&#39;ve had similar problems after a &#39;make<br>
install&#39;<br>
<br>
Examples elsewhere in the petsc tree appear to compile and run<br>
correctly<br>
<br>
I don&#39;t want to waste anyones time wading through reams of output, so<br>
I&#39;m really asking whether this output indicates obviously that I have<br>
failed to configure/compile petsc correctly with c++/boost/sieve, and<br>
therefore have no hope of successfully compiling the examples?<br>
<br>
Darach<br>
<br>
petsc-dev:  HG revision: f9c1b044f127006244143f415f257bfbc93c7a6e HG Date: Tue Jul 28 16:59:48 2009 -0500<br>
<br>
%&gt; gcc --version<br>
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)<br>
.....<br>
<br>
%&gt;  make ex1<br>
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__=&quot;src/dm/mesh/examples/tutorials/&quot; ex1.c<br>

ex1.c: In function â  PetscErrorCode CreatePartition(_p_Mesh*, _p_SectionInt**)â  :<br>
ex1.c:170: error: invalid initialization of reference of type â  ALE::Obj&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt; &gt;&amp;â   from expression of type â  ALE::Obj&lt;ALE::Mesh, ALE::malloc_allocator&lt;ALE::Mesh&gt; &gt;â<br>

/home/user/Compile/petsc-dev/include/petscmesh.h:108: error: in passing argument 2 of â  PetscErrorCode MeshGetMesh(_p_Mesh*, ALE::Obj&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt; &gt;&amp;)â<br>

ex1.c:171: error: invalid conversion from â  intâ   to â  const char*â<br>
ex1.c:171: error: invalid conversion from â  _p_SectionInt**â   to â  PetscIntâ<br>
/home/user/Compile/petsc-dev/include/petscmesh.h:255: error: too few arguments to function â  PetscErrorCode MeshGetCellSectionInt(_p_Mesh*, const char*, PetscInt, _p_SectionInt**)â<br>
ex1.c:171: error: at this point in file<br>
ex1.c:173: error: invalid initialization of reference of type â  ALE::Obj&lt;ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;, ALE::malloc_allocator&lt;ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt; &gt; &gt;&amp;â   from expression of type â  ALE::Obj&lt;ALE::Section&lt;int, int, ALE::malloc_allocator&lt;int&gt;, ALE::UniformSection&lt;int, ALE::Point, 1, ALE::malloc_allocator&lt;ALE::Point&gt; &gt; &gt;, ALE::malloc_allocator&lt;ALE::Section&lt;int, int, ALE::malloc_allocator&lt;int&gt;, ALE::UniformSection&lt;int, ALE::Point, 1, ALE::malloc_allocator&lt;ALE::Point&gt; &gt; &gt; &gt; &gt;â<br>

....<br>
<br>
<br>
%&gt; make ex2<br>
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__=&quot;src/dm/mesh/examples/tutorials/&quot; ex2.c<br>

ex2.c:22:38: error: ../src/dm/mesh/meshpcice.h: No such file or directory<br>
ex2.c: In function â  PetscErrorCode CreateSquareBoundary(const ALE::Obj&lt;ALE::Mesh, ALE::malloc_allocator&lt;ALE::Mesh&gt; &gt;&amp;)â  :<br>
ex2.c:148: error: â  class ALE::Mesh::topology_typeâ   has not been declared<br>
ex2.c:148: error: expected initializer before â  patchâ<br>
ex2.c:153: error: â  topology_typeâ   is not a member of â  ALE::Meshâ<br>
ex2.c:153: error: â  topology_typeâ   is not a member of â  ALE::Meshâ<br>
ex2.c:153: error: template argument 1 is invalid<br>
ex2.c:153: error: template argument 2 is invalid<br>
ex2.c:153: error: invalid type in declaration before â  =â   token<br>
ex2.c:153: error: expected type-specifier<br>
ex2.c:153: error: invalid conversion from â  int*â   to â  intâ<br>
ex2.c:153: error: expected â  ,â   or â  ;â<br>
ex2.c:182: error: base operand of â  -&gt;â   is not a pointer<br>
ex2.c:182: error: â  patchâ   was not declared in this scope<br>
ex2.c:183: error: base operand of â  -&gt;â   is not a pointer<br>
ex2.c:184: error: â  class ALE::Meshâ   has no member named â  setTopologyâ<br>
ex2.c:185: error: â  SieveBuilderâ   is not a member of â  ALE::Newâ<br>
ex2.c:185: error: expected primary-expression before â  &gt;â   token<br>
ex2.c:185: error: â  ::buildCoordinatesâ   has not been declared<br>
ex2.c:187: error: â  topology_typeâ   is not a member of â  ALE::Meshâ<br>
ex2.c:187: error: â  topology_typeâ   is not a member of â  ALE::Meshâ<br>
ex2.c:187: error: template argument 1 is invalid<br>
....<br>
<br>
%&gt; make ex3<br>
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__=&quot;src/dm/mesh/examples/tutorials/&quot; ex3.c<br>

ex3.c:26: error: â  Twoâ   is not a member of â  ALEâ<br>
ex3.c:26: error: â  Twoâ   is not a member of â  ALEâ<br>
ex3.c:26: error: template argument 1 is invalid<br>
ex3.c:26: error: template argument 2 is invalid<br>
ex3.c:27: error: â  Twoâ   is not a member of â  ALEâ<br>
ex3.c:27: error: â  Twoâ   is not a member of â  ALEâ<br>
....<br>
<br>
<br>
Compilation Details:<br>
---------------------<br>
[user@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<br>

=================================================================================<br>
             Configuring PETSc to compile on your system<br>
=================================================================================<br>
TESTING: alternateConfigureLibrary from PETSc.packages.mpi4py(config/PETSc/packages/mpi4py.py:54)                                                                             Compilers:<br>
  C Compiler:         mpicc  -Wall -Wwrite-strings -Wno-strict-aliasing -g3<br>
  C++ Compiler:       mpicxx  -Wall -Wwrite-strings -Wno-strict-aliasing -g<br>
  Fortran Compiler:   mpif90  -Wall -Wno-unused-variable -g<br>
Linkers:<br>
  Static linker:   /usr/bin/ar cr<br>
PETSc:<br>
  PETSC_ARCH: linux-gnu-cxx-debug<br>
  PETSC_DIR: /home/user/Compile/petsc-dev<br>
  **<br>
  ** Now build the libraries with &quot;make all&quot;<br>
  **<br>
  Clanguage: Cxx<br>
  Scalar type:complex<br>
MPI:<br>
  Includes: -I/misc/shared/apps/openmpi/gcc/64/1.2.8/include -I/misc/shared/apps/openmpi/gcc/64/1.2.8/lib<br>
X11:<br>
  Includes: [&#39;&#39;]<br>
  Library: [&#39;-lX11&#39;]<br>
  PETSc shared libraries: disabled<br>
  PETSc dynamic libraries: disabled<br>
BLAS/LAPACK: -llapack -lblas<br>
Sieve:<br>
  Includes: -I/home/user/Compile/petsc-dev/include/sieve<br>
Boost:<br>
  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<br>
c2html:<br>
sowing:<br>
<br>
<br>
<br>
Using mpiexec: /misc/shared/apps/openmpi/gcc/64/1.2.8/bin/mpiexec<br>
==========================================<br>
/bin/rm -f -f /home/user/Compile/petsc-dev/linux-gnu-cxx-debug/lib/libpetsc*.*<br>
/bin/rm -f -f /home/user/Compile/petsc-dev/linux-gnu-cxx-debug/include/petsc*.mod<br>
BEGINNING TO COMPILE LIBRARIES IN ALL DIRECTORIES<br>
=========================================<br>
....<br>
libfast in: /home/user/Compile/petsc-dev/src/snes/examples/tutorials<br>
libfast in: /home/user/Compile/petsc-dev/src/snes/examples/tutorials/ex10d<br>
libfast in: /home/user/Compile/petsc-dev/src/snes/utils<br>
libfast in: /home/user/Compile/petsc-dev/src/snes/utils/sieve<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::~IFSieve() [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated from â  ALE::IBundle&lt;Sieve_, RealSection_, IntSection_, Label_, ArrowSection_&gt;::~IBundle() [with Sieve_ = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, RealSection_ = ALE::IGeneralSection&lt;int, double, ALE::malloc_allocator&lt;double&gt; &gt;, IntSection_ = ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;, Label_ = ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt;, ArrowSection_ = ALE::UniformSection&lt;ALE::MinimalArrow&lt;int, int&gt;, int, 1, ALE::malloc_allocator&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

meshmgsnes.c:63:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

meshmgsnes.c:349:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
....<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/da/utils/f90-custom<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1148:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::IFSieve(ompi_communicator_t*, int) [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>

mesh.c:1642:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

mesh.c:2846:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
meshpcice.c:387:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
meshpcice.c:388:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::~IFSieve() [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated from â  ALE::IBundle&lt;Sieve_, RealSection_, IntSection_, Label_, ArrowSection_&gt;::~IBundle() [with Sieve_ = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, RealSection_ = ALE::IGeneralSection&lt;int, double, ALE::malloc_allocator&lt;double&gt; &gt;, IntSection_ = ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;, Label_ = ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt;, ArrowSection_ = ALE::UniformSection&lt;ALE::MinimalArrow&lt;int, int&gt;, int, 1, ALE::malloc_allocator&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

meshpflotran.c:235:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

meshpflotran.c:903:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::~IFSieve() [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1332:   instantiated from â  ALE::IBundle&lt;Sieve_, RealSection_, IntSection_, Label_, ArrowSection_&gt;::IBundle(ompi_communicator_t*, int) [with Sieve_ = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, RealSection_ = ALE::IGeneralSection&lt;int, double, ALE::malloc_allocator&lt;double&gt; &gt;, IntSection_ = ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;, Label_ = ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt;, ArrowSection_ = ALE::UniformSection&lt;ALE::MinimalArrow&lt;int, int&gt;, int, 1, ALE::malloc_allocator&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1602:   instantiated from â  ALE::IMesh&lt;Label_&gt;::IMesh(ompi_communicator_t*, int, int) [with Label_ = ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt;]â<br>

meshexodus.c:183:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

meshexodus.c:364:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
section.c: In function â  PetscErrorCode SectionRealCreateLocalVector(_p_SectionReal*, _p_Vec**)â  :<br>
section.c:582: warning: unused variable â  ierrâ<br>
/home/user/Compile/petsc-dev/include/sieve/Field.hh: In member function â  void ALE::GeneralSection&lt;Point_, Value_, Alloc_, Atlas_, BCAtlas_&gt;::zero() [with Point_ = int, Value_ = int, Alloc_ = ALE::malloc_allocator&lt;int&gt;, Atlas_ = ALE::IUniformSection&lt;int, ALE::Point, 1, ALE::malloc_allocator&lt;ALE::Point&gt; &gt;, BCAtlas_ = ALE::ISection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;]â  :<br>

section.c:1354:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/Field.hh:1740: warning: passing â  doubleâ   for argument 1 to â  void ALE::GeneralSection&lt;Point_, Value_, Alloc_, Atlas_, BCAtlas_&gt;::set(Value_) [with Point_ = int, Value_ = int, Alloc_ = ALE::malloc_allocator&lt;int&gt;, Atlas_ = ALE::IUniformSection&lt;int, ALE::Point, 1, ALE::malloc_allocator&lt;ALE::Point&gt; &gt;, BCAtlas_ = ALE::ISection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: At global scope:<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::~IFSieve() [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/petscmesh_viewers.hh:490:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

section.c:1532:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/sieve<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/impls<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/impls/cartesian<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;â  :<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieveDef::Sequence&lt;int&gt;, A = ALE::malloc_allocator&lt;ALE::IFSieveDef::Sequence&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:1159:   instantiated from â  ALE::IFSieve&lt;Point_, Allocator_&gt;::~IFSieve() [with Point_ = int, Allocator_ = ALE::malloc_allocator&lt;int&gt;]â<br>
/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:799:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1348:   instantiated from â  ALE::IBundle&lt;Sieve_, RealSection_, IntSection_, Label_, ArrowSection_&gt;::~IBundle() [with Sieve_ = ALE::IFSieve&lt;int, ALE::malloc_allocator&lt;int&gt; &gt;, RealSection_ = ALE::IGeneralSection&lt;int, double, ALE::malloc_allocator&lt;double&gt; &gt;, IntSection_ = ALE::IGeneralSection&lt;int, int, ALE::malloc_allocator&lt;int&gt; &gt;, Label_ = ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt;, ArrowSection_ = ALE::UniformSection&lt;ALE::MinimalArrow&lt;int, int&gt;, int, 1, ALE::malloc_allocator&lt;int&gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/Mesh.hh:1576:   instantiated from â  void ALE::Obj&lt;X, A&gt;::destroy() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

/home/user/Compile/petsc-dev/include/sieve/ALE_mem.hh:745:   instantiated from â  ALE::Obj&lt;X, A&gt;::~Obj() [with X = ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, A = ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt;]â<br>

cartesian.c:263:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:957: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;â   has virtual functions but non-virtual destructor<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh: In instantiation of â  ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ  :<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:994:   instantiated from â  ALE::IFSieveDef::Sequence&lt;PointType_&gt;::const_iterator ALE::IFSieveDef::Sequence&lt;PointType_&gt;::begin() const [with PointType_ = int]â<br>

cartesian.c:269:   instantiated from here<br>
/home/user/Compile/petsc-dev/include/sieve/ISieve.hh:960: warning: â  class ALE::IFSieveDef::Sequence&lt;int&gt;::const_iteratorâ   has virtual functions but non-virtual destructor<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/ftn-auto<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/ftn-custom<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/mesh/f90-custom<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/adda<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/adda/examples<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/adda/examples/tests<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/adda/ftn-auto<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/f90-mod<br>
libfast in: /home/user/Compile/petsc-dev/src/dm/ftn-custom<br>
libfast in: /home/user/Compile/petsc-dev/src/contrib<br>
libfast in: /home/user/Compile/petsc-dev/src/contrib/fun3d<br>
libfast in: /home/user/Compile/petsc-dev/src/benchmarks<br>
libfast in: /home/user/Compile/petsc-dev/src/docs<br>
libfast in: /home/user/Compile/petsc-dev/include<br>
libfast in: /home/user/Compile/petsc-dev/include/finclude<br>
libfast in: /home/user/Compile/petsc-dev/include/finclude/ftn-auto<br>
libfast in: /home/user/Compile/petsc-dev/include/finclude/ftn-custom<br>
libfast in: /home/user/Compile/petsc-dev/include/private<br>
libfast in: /home/user/Compile/petsc-dev/include/sieve<br>
libfast in: /home/user/Compile/petsc-dev/include/ftn-auto<br>
petschf.c: In function â  PetscErrorCode petscmemcpy_(void*, void*, size_t*, int*)â  :<br>
petschf.c:42: warning: no return statement in function returning non-void<br>
libfast in: /home/user/Compile/petsc-dev/tutorials<br>
libfast in: /home/user/Compile/petsc-dev/tutorials/multiphysics<br>
Completed building libraries<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>