Hi Roy, thanks for your reply. The compiler error is:

Compiling C++ (in optimized mode) src/numerics/eigen_solver.C...
/home/dxu/libmesh/include/numerics/eigen_solver.h:72: error:
'SLEPC_SOLVERS' was not declared in this scope
src/numerics/eigen_solver.C: In static member function 'static
AutoPtr<EigenSolver<T> >
src/numerics/eigen_solver.C:45: error: 'SLEPC_SOLVERS' was not
declared in this scope
src/numerics/eigen_solver.C:47: error: expected type-specifier before
src/numerics/eigen_solver.C:47: error: expected `)' before 'SlepcEigenSolver'
src/numerics/eigen_solver.C: In static member function 'static
AutoPtr<EigenSolver<T> >
EigenSolver<T>::build(libMeshEnums::SolverPackage) [with T = Number]':
src/numerics/eigen_solver.C:68:   instantiated from here
src/numerics/eigen_solver.C:47: error: no matching function for call
to 'AutoPtr<EigenSolver<Number> >::AutoPtr(int*)'
/home/dxu/libmesh/include/base/auto_ptr.h:278: note: candidates are:
AutoPtr<T>::AutoPtr(AutoPtrRef<Tp>) [with Tp = EigenSolver<Number>]
/home/dxu/libmesh/include/base/auto_ptr.h:135: note:
AutoPtr<T>::AutoPtr(AutoPtr<T>&) [with Tp = EigenSolver<Number>]
/home/dxu/libmesh/include/base/auto_ptr.h:125: note:
AutoPtr<T>::AutoPtr(Tp*) [with Tp = EigenSolver<Number>]
make: *** [src/numerics/eigen_solver.i686-pc-linux-gnu.opt.o] Error 1

I'm using gcc 4.0.1 on kubuntu distro. PETSc and SLEPc are both version 2.3.0 and both
were compiled successfully with mpi option turned off. The problem
doesn't seem to be mpi related. Any help will be greatly appreciated.


On 2/15/06, Roy Stogner <roystgnr@ices.utexas.edu> wrote:
On Wed, 15 Feb 2006, Dong Xu wrote:

> I've been ot of  luck with libmesh compilation although I dod get
> petsc/slepc compiled. Can anyone tell me what Linux distro and gcc
> version were used to successfully compile libmesh?

A lot of the development now is being done on Fedora Core 4 (which
shouldn't make a difference - libmesh is tested on other Unix
versions, not just other Linux distributions) and gcc 4.0+ (which
might make a difference - I don't think we're supporting anything
before 3.0 now).

Could you post the compiler errors (as well as the libMesh version
number (or cvs snapshot) you're trying to compile?