Wolfgang, you are absolutely correct. My mistake was not having BLAS and 
LAPACK, so it was unable to use UMFPACK. Thank you for all of your help!






On Monday, September 4, 2017 at 7:29:01 PM UTC-4, Wolfgang Bangerth wrote:
>
> On 09/02/2017 08:54 AM, 曾元圆 wrote: 
> > have you solve this problem? I encountered the same problem as you. 
> Actually 
> > I'm following an FEM open course on coursera and I'm trying to compile 
> the 
> > source code in the homework. I have installed the dealii just a few days 
> ago 
> > so I don't think it has something to do with the version of dealii. 
> > 
> > 在 2017年9月1日星期五 UTC+8上午3:52:44,John写道: 
> > 
> >       Timo, 
> > 
> >     I do eventually plan on updating the code to the latest release. 
> >     I was doing the commands inside a folder in deal.II (similar to if I 
> was 
> >     in deal.II/examples/step-1). I already have deal.II installed and 
> >     compiled. I have been going through a few of the examples perfectly 
> fine. 
> >     Should I be trying to run the commands elsewhere? Everything else in 
> the 
> >     code has been running just fine until it reaches the point it needs 
> >     UMFPACK. Thank you for responding. 
>
> As a general rule, there is no need to compile deal.II and then try to run 
> any 
> programs with it if you want to find out whether your UMFPACK will work or 
> not. All you need to do is to run the 
>    cmake .... 
> command you run to configure deal.II. At the end, it prints out a summary 
> that 
> shows what packages it found. if UMFPACK is not listed as ON, then 
> compiling 
> deal.II to test it is not necessary -- UMFPACK has not been enabled. 
>
> Now, if you do find that UMFPACK has not been enabled, even though you 
> specificed 
>    -DDEAL_II_WITH_UMFPACK=ON 
> then you need to go higher up in the cmake output to find what precisely 
> it 
> was that cmake couldn't figure out. The usual cause is that UMFPACK 
> requires 
> BLAS and LAPACK, and if your system does not have these libraries 
> available, 
> or has them in places where cmake can't find them, then UMFPACK can not be 
> enabled. 
>
> What it is in your case that doesn't work, I don't know of course. But you 
> can 
> find out by looking through the cmake output. 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to