How to fix the CMake Error: The library at ~/dealii-9.3.2/build was not configured with DEAL_II_WITH_UMFPACK = ON, thanks.

64 views
Skip to first unread message

Judy Lee

unread,
Feb 24, 2022, 4:50:21 PM2/24/22
to deal.II User Group
Hello everyone!

I have a CMake Error at CMakeLists.txt:27 (MESSAGE):
Error! The deal.II library found at
  /home/~/dealii-9.3.2/build was not configured
  with
      DEAL_II_WITH_UMFPACK = ON
  One or all of these are OFF in your installation but are required for this
  tutorial step.
-- Configuring incomplete, errors occurred!
See also "/home/debianlinux4dealii/Downloads/dealii-9.3.2/build/practise/mcmc-laplace/CMakeFiles/CMakeOutput.log".

I read one earlier conversation which referred to, the usual cause is that UMFPACK requires BLAS and LAPACK; how to use my CMakeOutput.log information to figure out?

I only put mcmc-laplace.cc + CMakeLists.txt in my build folder, when I compiled.

Thank you all!
Judy
CMakeOutput.log

Judy Lee

unread,
Feb 24, 2022, 6:42:29 PM2/24/22
to deal.II User Group
I just removed with /var/lib/apt/lists/lock, and installed two libraries BLAS and LAPACK. The CMake Error does not change, after the two libraries were installed.

Wolfgang Bangerth

unread,
Feb 28, 2022, 1:08:53 PM2/28/22
to dea...@googlegroups.com
On 2/24/22 16:42, Judy Lee wrote:
> I just removed with /var/lib/apt/lists/lock, and installed two libraries
> BLAS and LAPACK. The CMake Error does not change, after the two
> libraries were installed.

Judy -- you need to re-install deal.II for this to make a difference.

But, separately, if you download the code gallery again (or update the
repository if you cloned it), then the following two recently merged
pull requests have removed the dependency on UMFPACK:
https://github.com/dealii/code-gallery/pull/98
https://github.com/dealii/code-gallery/pull/99

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Judy Lee

unread,
Mar 2, 2022, 9:26:55 AM3/2/22
to deal.II User Group
Dr. Bangerth,

Thank you so much!

Best,
Judy
Reply all
Reply to author
Forward
0 new messages