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 should install LAPACK and then try 
to configure and then build deal.II again. At the end of the configuration step 
you should see a line similar to this in the summary printed to the console:

#DEAL_II_WITH_UMFPACK successfully set up with bundled packages.

or

#DEAL_II_WITH_UMFPACK set up with external dependencies

I hope that this helps you resolve your issue.

Best,
Jean-Paul

> On 13 Feb 2019, at 12:38, Darius Barreto  wrote:
> 
> Hi John,
> 
> I am exactly getting the same error message?. How were you able to rectify 
> it?.
> Could you please help?.
> 
> Thanks
> 
> 
> 
> On Thursday, August 31, 2017 at 9:28:52 PM UTC+5:30, John wrote:
> 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 
>  in function
> void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with Matrix = 
> dealii::SparseMatrix]
> The violated condition was: 
> false
> The name and call sequence of the exception was:
> ExcMessage("To call this function you need UMFPACK, but configured 
> deal.II without passing the necessary switch to 'cmake'. Please consult the 
> installation instructions in doc/readme.html.")
> Additional Information: 
> To call this function you need UMFPACK, but configured deal.II without 
> passing the necessary switch to 'cmake'. Please consult the installation 
> instructions in doc/readme.html.
> 
> Stacktrace:
> ---
> #0  /Downloads/deal.II/lib/libdeal_II.so.8.0.0: void 
> dealii::SparseDirectUMFPACK::factorize 
> >(dealii::SparseMatrix const&)
> #1  step-3: TmsProblem::solve()
> #2  step-3: TmsProblem::run()
> #3  step-3: main
> 
> 
> Aborting!
> 
> CMake Error at CMakeFiles/run_target.cmake:6 (MESSAGE):
>   
> 
>   Program terminated with exit code: 1
> 
> 
> CMakeFiles/run.dir/build.make:57: recipe for target 'CMakeFiles/run' failed
> make[3]: *** [CMakeFiles/run] Error 1
> CMakeFiles/Makefile2:264: recipe for target 'CMakeFiles/run.dir/all' failed
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/run.dir/rule' failed
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
> Makefile:196: recipe for target 'run' failed
> make: *** [run] Error 2
> 
> 
> 
> I have tried "cmake -DDEAL_II_WITH_UMFPACK=ON" and "cmake 
> -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack ." 
> and also  "cmake -DDEAL_II_WITH_UMFPACK=ON 
> -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack/UMFPACK ." and then 
> following each of these with "make" and "make run". However, all of these 
> still end up giving me the same error as above. Can anyone help me with 
> getting umfpack to work? Thank you in advance.
> 
> -- 
> 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 
> .

-- 
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.


[deal.II] Re: Need guildlines of tools that can be used to create and mesh, which can be imported in dealii codes

2019-02-13 Thread vamsiiitm9
 Sorry,My problem solved.

Thanks


best vamsi

-- 
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.


[deal.II] Need guildlines of tools that can be used to create and mesh, which can be imported in dealii codes

2019-02-13 Thread vamsiiitm9
Hello
I am new to dealii.I have gone through step-49,step - 46 and a few dealii 
codes. I used gmsh and imported a unstructured mesh into a dynamic problem 
code which I have.In that elements are getting distorted.So, I want to try 
cubit for creation of geometry and meshing.Can anyone send me any examples 
or any links or books that will help me to create and import geometries 
from cubit to dealii?





best regards
vamsi


-- 
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.


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

2019-02-13 Thread Darius Barreto
Hi John,

I am exactly getting the same error message?. How were you able to rectify 
it?.
Could you please help?.

Thanks



On Thursday, August 31, 2017 at 9:28:52 PM UTC+5:30, John wrote:
>
> 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 
>  
> in function
> void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with 
> Matrix = dealii::SparseMatrix]
> The violated condition was: 
> false
> The name and call sequence of the exception was:
> ExcMessage("To call this function you need UMFPACK, but configured 
> deal.II without passing the necessary switch to 'cmake'. Please consult the 
> installation instructions in doc/readme.html.")
> Additional Information: 
> To call this function you need UMFPACK, but configured deal.II without 
> passing the necessary switch to 'cmake'. Please consult the installation 
> instructions in doc/readme.html.
>
> Stacktrace:
> ---
> #0  /Downloads/deal.II/lib/libdeal_II.so.8.0.0: void 
> dealii::SparseDirectUMFPACK::factorize 
> >(dealii::SparseMatrix const&)
> #1  step-3: TmsProblem::solve()
> #2  step-3: TmsProblem::run()
> #3  step-3: main
> 
>
> Aborting!
> 
> CMake Error at CMakeFiles/run_target.cmake:6 (MESSAGE):
>   
>
>   Program terminated with exit code: 1
>
>
> CMakeFiles/run.dir/build.make:57: recipe for target 'CMakeFiles/run' failed
> make[3]: *** [CMakeFiles/run] Error 1
> CMakeFiles/Makefile2:264: recipe for target 'CMakeFiles/run.dir/all' failed
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/run.dir/rule' 
> failed
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
> Makefile:196: recipe for target 'run' failed
> make: *** [run] Error 2
>
>
>
> I have tried "*cmake -DDEAL_II_WITH_UMFPACK=ON*" and "*cmake 
> -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack 
> .*" and also  "*cmake -DDEAL_II_WITH_UMFPACK=ON 
> -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack/UMFPACK .*" and then 
> following each of these with "*make*" and "*make run*". However, all of 
> these still end up giving me the same error as above. Can anyone help me 
> with getting umfpack to work? Thank you in advance.
>

-- 
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.