<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everybody,<br>
<br>
when looking for examples using Sieve for unstructured meshes I found
these 3 (in
<a class="moz-txt-link-freetext"
 href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mesh/MeshCreate.html">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mesh/MeshCreate.html</a>):<br>
<br>
<a
 href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex33.c.html">src/ksp/ksp/examples/tutorials/ex33.c.html</a><br>
<a
 href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex35.c.html">src/ksp/ksp/examples/tutorials/ex35.c.html</a><br>
<a
 href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex37.c.html">src/ksp/ksp/examples/tutorials/ex37.c.html</a><br>
<br>
I have built PETSc configuring --with-sieve successfully. Unfortunately
trying to build these examples ("make ex35") fails with error messages
similar to the one below (and many more):<br>
<br>
/home/software/mpi/intel/openmpi-1.2.4/bin/mpicxx -o ex35.o -c -O
-I/home/uhgd0053/petsc-3.1-p0//src/dm/mesh/sieve
-I/home/uhgd0053/petsc-3.1-p0/externalpacka<br>
ges/Boost/ -I/opt/software/mpi/intel/openmpi-1.2.4/lib64
-I/home/uhgd0053/petsc-3.1-p0//withsieve/include
-I/home/uhgd0053/petsc-3.1-p0//include -I/usr/X11R6/<br>
include -I/home/uhgd0053/petsc-3.1-p0/withsieve/include
-I/opt/software/mpi/intel/openmpi-1.2.4/lib64
-I/home/uhgd0053/petsc-3.1-p0/include/sieve -I/home/uhgd<br>
0053/petsc-3.1-p0/externalpackages/Boost/
-I/home/software/mpi/intel/openmpi-1.2.4/include
-D__INSDIR__=src/ksp/ksp/examples/tutorials/ ex35.c<br>
ex35.c(21): error: name followed by "::" must be a class or namespace
name<br>
  PetscErrorCode MeshView_Sieve_Newer(ALE::Obj&lt;ALE::Two::Mesh&gt;,
PetscViewer);<br>
<br>
Without digging deeper into the code,  are these examples still working
with the current version of PETSc? What am I missing or where can I
find up-to-date information?<br>
<br>
Thanks a lot,<br>
Stefan<br>
<br>
</body>
</html>