Build instructions for LAPACK vs Eigen are either wrong or confusing

Issue #111 resolved
Paul Wilson created an issue

For some time there has been an option to build with LAPACK/BLAS, but it appears to:

  1. only be used in Matrix3.hpp and,
  2. be skipped if Eigen3 is available on the system

Since some build configurations (HYPRE) require Eigen3, it seems like it has to be possible to build with both Eigen3 and LAPACK. This suggests that LAPACK should dominate Eigen3 in Matrix3.hpp rather than the other way around.

Can you confirm the desired behavior?

Comments (6)

  1. Vijay M

    Actually HYPRE should not require Eigen3. It does require LAPACK - since it is a required dependency for Hypre package.

    Yes, we can make LAPACK have a higher priority than Eigen3 in Matrix3.hpp.

  2. Paul Wilson reporter

    From HypreParMatrix.hpp:

    #ifdef MOAB_HAVE_EIGEN
    #include <Eigen/Core>
    #include <Eigen/Sparse>
    #else
    #error Configure with Eigen3 enabled
    #endif

  3. Paul Wilson reporter

    I think my concerns were addressed in PR#438. I am sure there is more that could be done, but I think it is now clearer.

  4. Log in to comment