Hello,

I'm a new linux user and I'm having difficulties getting libMesh properly
built on my system. The fatal error is occurring when I try to make
libMesh, specifically the problem is that its looking for  a file that
doesn't exist "unsupported/Eigen/IterativeSolvers: No such file or
directory". I followed the install documentation online to get libMesh
configured. The following excerpt below is from the report after libMesh
finished configuration. Notice the highlighted portion in green shows that
eigen is enabled:

Optional Packages:
  boost............................ : yes
  capnproto........................ : no
  cppunit.......................... : no
  curl............................. : no
  eigen............................ : yes
  exodus........................... : yes
     version....................... : v5.22
  fparser.......................... : yes
     build from version............ : release
  glpk............................. : no
  gmv.............................. : yes
  gzstream......................... : yes
  hdf5............................. : yes
  laspack.......................... : no
  libhilbert....................... : yes
  metis............................ : yes
  mpi.............................. : yes
  nanoflann........................ : yes
  nemesis.......................... : yes
     version....................... : v5.22
  netcdf........................... : yes
     version....................... : 4
  nlopt............................ : no
  parmetis......................... : yes
  petsc............................ : yes
     version....................... : 3.6.4
  qhull............................ : yes
  sfcurves......................... : no
  slepc............................ : yes
     version....................... : 3.6.1
  thread model..................... : pthread
  c++ rtti ........................ : yes
  tecio............................ : no
  tecplot...(vendor binaries)...... : no
  tetgen........................... : no
  triangle......................... : no
  trilinos......................... : no
  vtk.............................. : no

However, after running the make command, the following error message
results:

"src/solvers/eigen_sparse_linear_solver.C:34:46: fatal error:
unsupported/Eigen/IterativeSolvers: No such file or directory
compilation terminated.
Makefile:15986: recipe for target
'src/solvers/libmesh_dbg_la-eigen_sparse_linear_solver.lo'
failed
make[1]: *** [src/solvers/libmesh_dbg_la-eigen_sparse_linear_solver.lo]
Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/braden/Codes/libmesh'
Makefile:29154: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1"

I read in the eigen_sparse_linear_solver.C file that it calls the file
"IterativeSolvers" in the directory "unsupported/Eigen/". When I go to
libMesh_dir/contrib/eigen/3.2.9/unsupported/Eigen I see the file
"IterativeSolvers" and I can open it and see the following in a commented
section at the top:

/**
  * \defgroup IterativeSolvers_Module Iterative solvers module
  * This module aims to provide various iterative linear and non linear
solver algorithms.
  * It currently provides:
  *  - a constrained conjugate gradient
  *  - a Householder GMRES implementation
  * \code
  * #include <unsupported/Eigen/IterativeSolvers>
  * \endcode
  */

Several include statements follow with different header files for various
iterative solvers like Jacobi, GMRES, etc.

If this file exists then why is it saying that there is no such file or
directory? Any ideas on what the problem may be?

Thanks,
Braden Frigoletto
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to