Re: [deal.II] Trouble getting UMFPACK to work

2019-02-20 Thread Darius Barreto
Dear Jean-Paul, Yes, I was able to solve that problem. I installed LAPACK using the command and later I compiled the entire deal.II library. Thanks for the help. Regards, Darius Barreto. On Wed, Feb 20, 2019 at 2:58 PM Jean-Paul Pelteret wrote: > Dear Darius, > > I just thought I’d ask

Re: [deal.II] Trouble getting UMFPACK to work

2019-02-20 Thread Jean-Paul Pelteret
Dear Darius, I just thought I’d ask whether you were able to solve your problem? Best, Jean-Paul > On 16 Feb 2019, at 05:22, Darius Barreto wrote: > > Dear Jean-Paul, > > Thanks for the reply. > > > > On Thursday, February 14, 2019 at 9:20:39 PM UTC+5:30, Jean-Paul Pelteret > wrote: >

Re: [deal.II] Trouble getting UMFPACK to work

2019-02-15 Thread Darius Barreto
Dear Jean-Paul, Thanks for the reply. On Thursday, February 14, 2019 at 9:20:39 PM UTC+5:30, Jean-Paul Pelteret wrote: > > Dear Darius, > > template > void elastic_rod::solve(){ > SparseDirectUMFPACK A_direct; > A_direct.initialize(system_matrix) ; > A_direct.vmult(solution,

Re: [deal.II] Trouble getting UMFPACK to work

2019-02-14 Thread Jean-Paul Pelteret
Dear Darius, > template > void elastic_rod::solve(){ > SparseDirectUMFPACK A_direct; > A_direct.initialize(system_matrix) ; > A_direct.vmult(solution, system_rhs); > } > Since I am new to dealii, so instead of creating a new CMakeLists.txt file I > have just copied my

Re: [deal.II] Trouble getting UMFPACK to work

2019-02-13 Thread Jean-Paul Pelteret
Dear Darius, Your installation of deal.II has not been compiled with UMFPACK supplied as an external library. The bundled version has also not been built, likely because you do not have the required dependencies installed. I believe that you need to have LAPACK installed for it to work, so you

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-12 Thread Bruno Turcksin
2017-09-12 9:49 GMT-04:00 曾元圆 <2012zg...@gmail.com>: > If I want to run all the 57 steps, should I install all the mentioned > libraries? How can I know in advance which library I may need? Perhaps now > I don't need PETSc, but maybe someday in the future I will need. > No you don't. You can use

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-12 Thread 曾元圆
If I want to run all the 57 steps, should I install all the mentioned libraries? How can I know in advance which library I may need? Perhaps now I don't need PETSc, but maybe someday in the future I will need. 在 2017年9月12日星期二 UTC+8下午8:08:14,Bruno Turcksin写道: > > 2017-09-11 23:45 GMT-04:00 曾元圆

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-12 Thread Bruno Turcksin
2017-09-11 23:45 GMT-04:00 曾元圆 <2012zg...@gmail.com>: > Thank you very much! So you mean every time I want to use another library, > I have to recompile and reinstall dealii again? Every time you add a new library you need to *reconfigure* and recompile deal. Now if you want to use PETSc and

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread 曾元圆
Thank you very much! So you mean every time I want to use another library, I have to recompile and reinstall dealii again? 在 2017年9月12日星期二 UTC+8上午1:25:25,Bruno Turcksin写道: > > 2017-09-11 13:11 GMT-04:00 曾元圆 <2012...@gmail.com >: > > Because I have already installed dealii, I don't quite

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread Bruno Turcksin
2017-09-11 13:11 GMT-04:00 曾元圆 <2012zg...@gmail.com>: > Because I have already installed dealii, I don't quite understand what you > mean by saying "configuring". Do you mean I need to recompile the whole > dealii then it can know where to find lapack? LAPACK is a third party > library right? so

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread 曾元圆
Because I have already installed dealii, I don't quite understand what you mean by saying "configuring". Do you mean I need to recompile the whole dealii then it can know where to find lapack? LAPACK is a third party library right? so all I need to do is to tell the compiler where is the

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread 曾元圆
Now suppose I have installed blas and lapack by execute command in terminal. Then the remaining part is UMPACK. Since "DEAL_II_WITH_UMFPACK = OFF" is apparently not expected. What I want to know is what I should do to change it to " DEAL_II_WITH_UMFPACK set up with bundled packages", which is

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread Wolfgang Bangerth
On 09/11/2017 10:40 AM, 曾元圆 wrote: thank you but, nothing need to do with UMFPACK? No -- deal.II has its own copy of UMFPACK. So, whenever deal.II can find BLAS and LAPACK, it uses its own copy of UMFPACK. (It uses a copy of UMFPACK if one is found on your system, but because it has its own

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread 曾元圆
more specifically? 在 2017年9月11日星期一 UTC+8下午8:22:11,Bruno Turcksin写道: > > 2017-09-11 0:30 GMT-04:00 曾元圆 <2012...@gmail.com >: > > So UMFPACK is not installed, right? But what to do next? How can I know > > whether my Ubuntu OS already installed the lapack and blas package? > No UMFPACK has not

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-11 Thread Bruno Turcksin
2017-09-11 0:30 GMT-04:00 曾元圆 <2012zg...@gmail.com>: > So UMFPACK is not installed, right? But what to do next? How can I know > whether my Ubuntu OS already installed the lapack and blas package? No UMFPACK has not been installed and lapack has not been found. You need to install the dev version

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-05 Thread John
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

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-05 Thread John
I've actually deleted deal.II version 8.0.0 since last writing. I got UMFPACK to work by installing BLAS and LAPACK, but then I kept getting an error that it was unable to find the MPI library even though I had just installed openmpi. Since I could not find a way around this, I ended up

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-04 Thread Wolfgang Bangerth
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

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-04 Thread Bruno Turcksin
John, 2017-09-02 11:07 GMT-04:00 John : > I still have yet to resolve the issue. As suggested, I have been trying to > delete deal.II and then reinstalling and configuring with > -DDEAL_II_WITH_UMFPACK=ON, but am still having trouble with it. I will write > back to you

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-02 Thread John
I still have yet to resolve the issue. As suggested, I have been trying to delete deal.II and then reinstalling and configuring with -DDEAL_II_WITH_UMFPACK=ON, but am still having trouble with it. I will write back to you if/when I figure it out! On Saturday, September 2, 2017 at 10:54:26 AM

Re: [deal.II] Trouble getting UMFPACK to work

2017-09-02 Thread 曾元圆
hi John, 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

Re: [deal.II] Trouble getting UMFPACK to work

2017-08-31 Thread 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

Re: [deal.II] Trouble getting UMFPACK to work

2017-08-31 Thread Timo Heister
John, > I am currently using Deal II version 8.0.0. I would like to encourage you to update to the latest release. Many things have changed and improved over the years. That probably also includes handling of dependencies like UMFPACK. > I have tried "cmake -DDEAL_II_WITH_UMFPACK=ON" and "cmake

[deal.II] Trouble getting UMFPACK to work

2017-08-31 Thread John
Hello everyone, I am currently using Deal II version 8.0.0. When I try to run a project I am getting the following: Exception on processing: An error occurred in line <379> of file