Hey- Sorry to bother everyone Friday night, but I've downloaded the latest version of libmesh to lonestar and compiled it using the petsc/2.3.3-cxx module. This seems to work fine. However, when I try to compile my source code I get errors such as:
Compiling C++ (in optimized mode) block_petsc_preconditioner.C... block_petsc_preconditioner.h(79): error: "NumericVector" is ambiguous virtual void apply(const NumericVector<T> & x, NumericVector<T> & y); block_petsc_preconditioner.C(409): error: "SparseMatrix" is ambiguous PetscMatrix<T> * zmatrix = libmesh_cast_ptr<PetscMatrix<T>*, SparseMatrix<T> >(z_system.matrix); block_petsc_preconditioner.C(409): error: type name is not allowed PetscMatrix<T> * zmatrix = libmesh_cast_ptr<PetscMatrix<T>*, SparseMatrix<T> >(z_system.matrix); block_petsc_preconditioner.C(410): error: cannot determine which instance of function template "libMesh::libmesh_cast_ptr" is intended PetscMatrix<T> * cmatrix = libmesh_cast_ptr<PetscMatrix<T>*, SparseMatrix<T> >(c_system.matrix); Is there something in the newer versions of libMesh that would conflict with stuff in PETSc? I've never seen these before. I configured with CXX=mpiCC CC=mpicc F77=mpif77 ./configure --enable-everything Any thoughts? Thank you! Andrea ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users