Hi Matt and Brad<br><br>First of all, thanks for the rapid replys.  The short story is that I followed your suggestions and I still have the same question.  More complete answers to your questions/suggestions are below.<br>
<br>Matt:<br>I built PETSc in the following manner. <br>1) I used &quot;hg pull&quot; then &quot;hg update&quot; in my petsc-dev folder<br>2) I cd&#39;ed into my config/BuildSystem folder and did &quot;hg pull&quot; and &quot;hg update&quot;<br>
3) I configured PETSc using the following script:<br><br>    ARCH_FLAGS=&quot;--PETSC_ARCH=linux_${TOOLS_FORMAT}_opt --with-debugging=0&quot;<br>    LANG_FLAGS=&quot;--with-clanguage=cxx&quot;<br>    BUILD_FLAGS=&quot;--with-mpi-compilers=0 --with-gnu-compilers=1 --with-shared-libraries=1 --with-dynamic-loading=1 --with-64-bit-points=1 --with-large-file-io=1 --cc=gcc --cxx=g++ --fc=gfortran&quot;<br>
    MPI_FLAGS=&quot;--with-mpi-dir=${TOOLS_DIR}/mpich-1.2.1/gcc-4.1.1_64 --with-mpi-shared=0&quot;<br>    OPTIONS=&quot;--with-lgrind=0 --with-c2html=0 &quot;<br>    PART_FLAGS=&quot;--with-chaco=1 --download-chaco=1 --with-parmetis=1 --with-parmetis-dir=~/tools/ParMetis-3.1.1/${TOOLS_FORMAT} --with-f-blas-lapack=1 --download-f-blas-lapack=1&quot;<br>
    SIEVE_FLAGS=&quot;--with-sieve=1 --download-sieve=1 --with-boost=1 --download-boost=1&quot;<br>    config/configure.py ${ARCH_FLAGS} ${LANG_FLAGS} ${BUILD_FLAGS} ${MPI_FLAGS} ${OPTIONS} ${PART_FLAGS} ${SIEVE_FLAGS} ${EXTRA_FLAGS}<br>
<br>4) Following the advice of Barry Smith, I cd&#39;ed into src/dm/impls/da/ftn-custom and ran &quot;make&quot; in this folder<br>5) I ran &quot;make fortranstubs&quot; in my petsc-dev folder<br>6) I ran &quot;make&quot; and then &quot;make test&quot; in my petsc-dev folder<br>
<br>Make test is successful.  As you can see, I do have my clanguage set to cxx.<br><br>Brad:<br>I&#39;ve reconfigured and rebuilt PETSc and Pylith, and I have run into the same error.  My configuration script for Pylith is:<br>
<br>./configure &gt; configure.log --enable-swig --enable-testing --enable-cubit --prefix=${CIG_DIR}  CPPFLAGS=&quot;-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR} -I${PYTHIA_INCDIR} -I${NETCDF_INCDIR}&quot;  LDFLAGS=&quot;-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} -L${NETCDF_LIBDIR}&quot;  LIBS=&quot;&quot;  CC=gcc CXX=g++ FC=gfortran F77=gfortran<br>
<br>Is there anything that I&#39;m missing from this configuration that may be causing my problem?<br><br>Thanks again,<br>Jeff Thompson<br>Seismolab<br>California Institute of Technology<br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 2:42 PM, Brad Aagaard <span dir="ltr">&lt;<a href="mailto:baagaard@usgs.gov">baagaard@usgs.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Jeff,<br>
<br>
Try reconfiguring and rebuilding Petsc and then pylith. There have been recent changes to the petsc build system that required changes to the pylith configure to keep them in sync.<br>
<br>
Brad<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Oct 20, 2010, at 2:12 PM, Jeffrey Thompson &lt;<a href="mailto:jeffremt@gmail.com">jeffremt@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello CIG-Short,<br>
&gt;<br>
&gt; I&#39;m trying to make and install the stable version of Pylith, and I ran into the error below after issuing the &quot;make&quot; command.  It seems to me that the main error is that Pylith cannot find the petscmesh.hh file.  I updated PETSc and spatialdata before Pylith, so I should have the most recent versions of these programs.  I also tried installing the version Pylith from the trunk directory, and the same error occured.  I&#39;ve attached my config.log file from the &#39;stable&#39; pylith install.<br>

&gt;<br>
&gt; Thanks in advance,<br>
&gt; Jeff Thompson<br>
&gt; Seismolab<br>
&gt; California Institute of Technology<br>
&gt;<br>
&gt; make[3]: Entering directory `/home/jeffremt/tools/cig/v1.5-stable/libsrc&#39;<br>
&gt; if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.11-py2.5.egg -I/usr/include/python2.5  -DENABLE_CUBIT -I/home/jeffremt/tools/proj-4.7.0/gcc-4.1.1_64/include -I/home/jeffremt/tools/cppunit-1.12.1/gcc-4.1.1_64/include -I/home/jeffremt/tools/cig/gcc-4.1.1_64/include -I/home/jeffremt/tools/cig/gcc-4.1.1_64/include/pythia-0.8.1.10 -I/home/jeffremt/tools/netcdf-4.0.1/gcc-4.1.1_64/include  -g -O2 -MT BoundaryCondition.lo -MD -MP -MF &quot;.deps/BoundaryCondition.Tpo&quot; -c -o BoundaryCondition.lo `test -f &#39;bc/BoundaryCondition.cc&#39; || echo &#39;./&#39;`bc/BoundaryCondition.cc; \<br>

&gt; then mv -f &quot;.deps/BoundaryCondition.Tpo&quot; &quot;.deps/BoundaryCondition.Plo&quot;; else rm -f &quot;.deps/BoundaryCondition.Tpo&quot;; exit 1; fi<br>
&gt; mkdir .libs<br>
&gt;  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.11-py2.5.egg -I/usr/include/python2.5 -DENABLE_CUBIT -I/home/jeffremt/tools/proj-4.7.0/gcc-4.1.1_64/include -I/home/jeffremt/tools/cppunit-1.12.1/gcc-4.1.1_64/include -I/home/jeffremt/tools/cig/gcc-4.1.1_64/include -I/home/jeffremt/tools/cig/gcc-4.1.1_64/include/pythia-0.8.1.10 -I/home/jeffremt/tools/netcdf-4.0.1/gcc-4.1.1_64/include -g -O2 -MT BoundaryCondition.lo -MD -MP -MF .deps/BoundaryCondition.Tpo -c bc/BoundaryCondition.cc  -fPIC -DPIC -o .libs/BoundaryCondition.o<br>

&gt; In file included from bc/BoundaryCondition.cc:23:<br>
&gt; ../include/pylith/topology/Mesh.hh:33:43: petscmesh.hh: No such file or directory<br>
&gt; In file included from bc/BoundaryCondition.cc:23:<br>
&gt; ../include/pylith/topology/Mesh.hh:59: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:59: error: ISO C++ forbids declaration of `IMesh&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:59: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:60: error: `SieveMesh&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:60: error: ISO C++ forbids declaration of `real_section_type&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:60: error: expected `;&#39; before &quot;RealSection&quot;<br>
&gt; ../include/pylith/topology/Mesh.hh:61: error: `SieveMesh&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:61: error: ISO C++ forbids declaration of `int_section_type&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:61: error: expected `;&#39; before &quot;IntSection&quot;<br>
&gt; ../include/pylith/topology/Mesh.hh:62: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:62: error: ISO C++ forbids declaration of `IMesh&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:62: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:63: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:63: error: ISO C++ forbids declaration of `RestrictVisitor&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:63: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:64: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:64: error: ISO C++ forbids declaration of `UpdateAddVisitor&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:64: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:65: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:65: error: ISO C++ forbids declaration of `UpdateAllVisitor&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:65: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:66: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:66: error: ISO C++ forbids declaration of `IndicesVisitor&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:66: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:82: error: expected `,&#39; or `...&#39; before &#39;&amp;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:82: error: ISO C++ forbids declaration of `MPI_Comm&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:100: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:100: error: ISO C++ forbids declaration of `Obj&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:100: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:106: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:106: error: ISO C++ forbids declaration of `Obj&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:106: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:160: error: expected `,&#39; or `...&#39; before &quot;value&quot;<br>
&gt; ../include/pylith/topology/Mesh.hh:160: error: ISO C++ forbids declaration of `MPI_Comm&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:166: error: `MPI_Comm&#39; does not name a type<br>
&gt; ../include/pylith/topology/Mesh.hh:195: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.hh:195: error: ISO C++ forbids declaration of `Obj&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.hh:195: error: expected `;&#39; before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.hh:197: error: `MPI_Comm&#39; does not name a type<br>
&gt; In file included from ../include/pylith/topology/Mesh.hh:208,<br>
&gt;                  from bc/BoundaryCondition.cc:23:<br>
&gt; ../include/pylith/topology/Mesh.icc:25: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.icc:25: error: expected initializer before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.icc:32: error: `ALE&#39; has not been declared<br>
&gt; ../include/pylith/topology/Mesh.icc:32: error: expected initializer before &#39;&lt;&#39; token<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `void pylith::topology::Mesh::debug(bool)&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:49: error: `_mesh&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `int pylith::topology::Mesh::dimension() const&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:64: error: `_mesh&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `int pylith::topology::Mesh::coneSize() const&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:71: error: `_mesh&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `int pylith::topology::Mesh::numVertices() const&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:78: error: `_mesh&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `int pylith::topology::Mesh::numCells() const&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:85: error: `_mesh&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: At global scope:<br>
&gt; ../include/pylith/topology/Mesh.icc:91: error: expected `,&#39; or `...&#39; before &quot;value&quot;<br>
&gt; ../include/pylith/topology/Mesh.icc:91: error: ISO C++ forbids declaration of `MPI_Comm&#39; with no type<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `void pylith::topology::Mesh::comm(int)&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:92: error: `_comm&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc:92: error: `value&#39; was not declared in this scope<br>
&gt; ../include/pylith/topology/Mesh.icc: At global scope:<br>
&gt; ../include/pylith/topology/Mesh.icc:97: error: `MPI_Comm&#39; does not name a type<br>
&gt; ../include/pylith/topology/Mesh.icc: In member function `void pylith::topology::Mesh::view(const char*) const&#39;:<br>
&gt; ../include/pylith/topology/Mesh.icc:106: error: `_mesh&#39; was not declared in this scope<br>
&gt; bc/BoundaryCondition.cc: In member function `virtual void pylith::bc::BoundaryCondition::verifyConfiguration(const pylith::topology::Mesh&amp;) const&#39;:<br>
&gt; bc/BoundaryCondition.cc:53: error: `ALE&#39; has not been declared<br>
&gt; bc/BoundaryCondition.cc:53: error: expected initializer before &#39;&lt;&#39; token<br>
&gt; bc/BoundaryCondition.cc:54: error: `sieveMesh&#39; was not declared in this scope<br>
&gt; bc/BoundaryCondition.cc:57: error: aggregate `std::ostringstream msg&#39; has incomplete type and cannot be defined<br>
&gt; make[3]: *** [BoundaryCondition.lo] Error 1<br>
&gt; make[3]: Leaving directory `/home/jeffremt/tools/cig/v1.5-stable/libsrc&#39;<br>
&gt; make[2]: *** [all-recursive] Error 1<br>
&gt; make[2]: Leaving directory `/home/jeffremt/tools/cig/v1.5-stable/libsrc&#39;<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt; make[1]: Leaving directory `/home/jeffremt/tools/cig/v1.5-stable&#39;<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
</div></div>&gt; &lt;config.log&gt;<br>
<div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; CIG-SHORT mailing list<br>
&gt; <a href="mailto:CIG-SHORT@geodynamics.org">CIG-SHORT@geodynamics.org</a><br>
&gt; <a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short</a><br>
</div></div></blockquote></div><br>