Re: [deal.II] Parallelizing a code with Linear Operators and Packaged Operations

22 views
Skip to first unread message

Jean-Paul Pelteret

unread,
Jun 30, 2021, 12:06:45 PM6/30/21
to dea...@googlegroups.com
Hi Kubra,

Someone asked a similar question just a few day ago, so I have some information pre-prepared for you. 

LinearOperators do support Trilinos linear algebra classes, but there is no implementation for PETSc yet. The documentation is lacking a little bit in explaining how to use the parallelised version of LinearOperators, but I’d recorded this deficiency in this issue, along with a couple of examples. 
The key points are 
1. the use of the template parameter, e.g. linear_operator<TrilinosWrappers::MPI::Vector>(…), and,
2. the need for exemplars when wrapping preconditioners in LinearOperators.

As for PETSc support, if this is something that you’d be interested in adding to the library, then we’d very much appreciate the contribution and would be happy to help you along the way.

Best,
Jean-Paul


On 30. Jun 2021, at 00:12, Kubra Karayagiz (Alumni) <kkara...@alumni.sabanciuniv.edu> wrote:

Hello all,

I have a code in which I extensively use linear operators and packaged operations to make matrix inverses and solve the system of equations. I am wondering if such a code would be parallelized via PETSc and MPI, or any other way.

Thanks,
Kubra





--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CANnYN%2B1j6VsMWVzBs1KO2K1LH0Pg88JdcZXZ07ivLYhkoMk71w%40mail.gmail.com.

Kubra Karayagiz (Alumni)

unread,
Jun 30, 2021, 6:06:33 PM6/30/21
to dea...@googlegroups.com
Dear Jean-Paul,


On Wed, Jun 30, 2021 at 12:06 PM Jean-Paul Pelteret <jppel...@gmail.com> wrote:
Hi Kubra,

Someone asked a similar question just a few day ago, so I have some information pre-prepared for you. 

LinearOperators do support Trilinos linear algebra classes, but there is no implementation for PETSc yet. The documentation is lacking a little bit in explaining how to use the parallelised version of LinearOperators, but I’d recorded this deficiency in this issue, along with a couple of examples. 
The key points are 
1. the use of the template parameter, e.g. linear_operator<TrilinosWrappers::MPI::Vector>(…), and,
2. the need for exemplars when wrapping preconditioners in LinearOperators.

Many thanks for your response and for sharing the information. I asked about PETSc, just because I was following step-17 to make my code parallel. I will try using Trilinos, then.  

As for PETSc support, if this is something that you’d be interested in adding to the library, then we’d very much appreciate the contribution and would be happy to help you along the way.

Thanks for offering help. I am quite a new user of deal.ii. I hope that I can contribute to it in the future :)

Best Regards,
Kubra 

Best,
Jean-Paul


On 30. Jun 2021, at 00:12, Kubra Karayagiz (Alumni) <kkara...@alumni.sabanciuniv.edu> wrote:

Hello all,

I have a code in which I extensively use linear operators and packaged operations to make matrix inverses and solve the system of equations. I am wondering if such a code would be parallelized via PETSc and MPI, or any other way.

Thanks,
Kubra





--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CANnYN%2B1j6VsMWVzBs1KO2K1LH0Pg88JdcZXZ07ivLYhkoMk71w%40mail.gmail.com.

--
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+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages