[petsc-users] Building Sieve examples

Stefan Kurzbach stefan.kurzbach at tuhh.de
Fri Apr 23 05:36:29 CDT 2010


Hello everybody,

when looking for examples using Sieve for unstructured meshes I found 
these 3 (in 
http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mesh/MeshCreate.html):

src/ksp/ksp/examples/tutorials/ex33.c.html 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex33.c.html>
src/ksp/ksp/examples/tutorials/ex35.c.html 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex35.c.html>
src/ksp/ksp/examples/tutorials/ex37.c.html 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/ksp/ksp/examples/tutorials/ex37.c.html>

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):

/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
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/
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
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
ex35.c(21): error: name followed by "::" must be a class or namespace name
   PetscErrorCode MeshView_Sieve_Newer(ALE::Obj<ALE::Two::Mesh>, 
PetscViewer);

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?

Thanks a lot,
Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100423/ded3766e/attachment.htm>


More information about the petsc-users mailing list