From: <ed...@op...> - 2019-12-24 09:09:37
|
> Hmm... it seems to me that you should not hit exactly this error > because of > this logic: > > // check that we have the required solver: > std::string solver; > solver = input.next(solver); > if (solver == "mumps") > { > #ifndef LIBMESH_PETSC_HAVE_MUMPS > libmesh_example_requires(false, "PETSc compiled with MUMPS > support"); > #endif > } > else if (solver == "superlu") > { > #ifndef LIBMESH_PETSC_HAVE_SUPERLU_DIST > libmesh_example_requires(false, "PETSc compiled with SuperLU > support"); > #endif > } > else > { > libMesh::err << "Error: Solver " << solver << " is unknown." > << std::endl; > return 1; > } > > i.e. you should hit the "libmesh_example_requires" in the first > if-block. > But perhaps you are using an older version of libmesh which doesn't > have > this check. > > Either way, it's not fatal error with your libmesh build, just an > example > that requires a specific solver that you don't have in your build of > PETSc. Thank you for your answer, John. I am using v1.5.1 (as suggested on another e-mail). How do I set flags to configure with MUMPS? Does --enable-mumps work? Thank you! Have nice holidays :) . ------------------------------------------------- This free account was provided by VFEmail.net - report spam to ab...@vf... ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! |