Hi,
I am trying to compile FreeFEM with PETSc. However, I run into the following error during the FreeFEM installation:
In file included from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_coarse_operator.hpp:41,
from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_coarse_operator_impl.hpp:27,
from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_preconditioner.hpp:46,
from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_schwarz.hpp:64,
from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM.hpp:638,
from common_hpddm.hpp:90,
from hpddm.cpp:15:
/home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_inexact_coarse_operator.hpp: In member function ‘HPDDM::InexactCoarseOperator<Solver, S, K>::return_type HPDDM::InexactCoarseOperator<Solver, S, K>::buildThree(HPDDM::CoarseOperator<Solver, S, K>* const&, const std::vector<std::vector<std::pair<short unsigned int, short unsigned int> > >&, const std::map<std::pair<short unsigned int, short unsigned int>, short unsigned int>&, const std::unordered_map<short unsigned int, std::tuple<short unsigned int, unsigned int, std::vector<short unsigned int, std::allocator > > >&)’:
/home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM_inexact_coarse_operator.hpp:1559:34: error: ‘EIGENSOLVER’ was not declared in this scope
1559 | s_->template solveGEVP(overlapNeumann, &weighted);
I am not sure what is the reason for this. I am attacking the configure and compilation log. Any help is appreciated!
make_build.log (381.4 KB)
config.log (157.2 KB)