Re: [deal.II] Re: Problem about modifying CMakeList.txt to add library

2020-12-29 Thread Wolfgang Bangerth
My question is, I want to use the eigenvalue problem solving capability of armadillo in my code. However, my matrix type is of BlockSparseMatrix in dealii. How do I go about using my BlockSparseMatrix with the available armadillo functions that use sp_mat type matrices

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2020-12-24 Thread Animesh Rastogi IIT Gandhinagar
Hi Daniel, I was able to sort this issue out. What I did was removed everything related to armadillo in the cmakelists.txt and just linked armadillo to my target using the following line in the end of the file TARGET_LINK_LIBRARIES(${TARGET} armadillo) I am able to run small programs using

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2020-12-23 Thread Animesh Rastogi IIT Gandhinagar
Hi Daniel, I also want to use armadillo for one of my projects. I did exactly as you suggested in the link above. The cmake worked perfectly. However, on doing make run, I am getting the following error. I installed armadillo using the apt-get package manager - command was - *sudo apt-get

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2018-05-16 Thread Pai Liu
Dear David Wells, Thank you for your reply! Your explanation helps me to understand this process better. Yestoday I tried to use "FIND_PACKAGE" as following and it works: _ FIND_PACKAGE(Armadillo)

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2018-05-16 Thread Pai Liu
Dear Daniel Arndt, Thank you for your reply! The link is very helpful! Now my CMakeList.txt works! Best, Pai On Thursday, May 17, 2018 at 5:47:11 AM UTC+8, Daniel Arndt wrote: > > Pal, > > We also just updated the CMakeLists.txt file for an example in our > code-gallery that uses armadillo.

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2018-05-16 Thread Daniel Arndt
Pal, We also just updated the CMakeLists.txt file for an example in our code-gallery that uses armadillo. You might want to look at https://github.com/dealii/code-gallery/blob/master/CeresFE/CMakeLists.txt. Best, Daniel -- The deal.II project is located at http://www.dealii.org/ For mailing

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2018-05-16 Thread David Wells
Hi Pai, I think that there is an easier way to do this. More exactly: armadillo should not be a target since we don't have to compile anything: we should just be able to specify the library we need to link against and (possibly) a path to the headers and be done. Have you installed armadillo