If you are using PETScWrappers for MPI parallelization, there's a 
PETScWrappers::SparseDirectMUMPS that works with PETScWrappers out of the 
box.

If you are familiar with PETSc or Trilinos, you can also manually choose 
MUMPS or SuperLU_DIST by tuning ksp/pc or amesos/amesos2 package.
在2024年7月19日星期五 UTC+8 03:07:44<[email protected]> 写道:

> I am using UMFPACK and the code is parallelized based on MPI. Do you have 
> a code example or tutorial to use MUMPS or SuperLU_DIST in deal.ii as you 
> mentioned?
> Thank you so much for your help.
>
> Best,
> Giang
>
> On Thursday, July 18, 2024 at 10:22:16 AM UTC-4 [email protected] wrote:
>
>> Are you using multi-threading or multi-processing? The bundled UMFPACK 
>> solver is single threaded, the theoretical speedup is about 1.
>>
>> I see 2 choices: (a) Use external multi-threaded direct solver like 
>> PARDISO, you can pass the reordered CSR data to it and (b) use MPI 
>> multi-processing and distributed parallel direct solver MUMPS or 
>> SuperLU_DIST from PETSc or Trilinos.
>> 在2024年7月18日星期四 UTC+8 21:10:43<[email protected]> 写道:
>>
>>> Hi all,
>>>
>>> I am writing a parallel code for the Newton-Raphson scheme and testing 
>>> the speedup for different parts of the scheme. The performance is attached 
>>> in the figure below. It shows that the speed up of the direct solver is 1, 
>>> degrading the performance of the whole scheme. Other parts including 
>>> assembling the global system, updating internal variables exhibit linear 
>>> speedup.
>>>
>>> Has anyone met the same issue with the linear solver? are there any 
>>> solutions to gain better performance for using a linear solver?
>>>
>>> Thank you,
>>> Giang
>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/a3dc4b05-0fb8-4ed4-9d3a-8ba445826e69n%40googlegroups.com.

Reply via email to