[petsc-users] Calling SuperLU_MT in PETSc

Pierre Jolivet pierre at joliv.et
Sun Oct 23 05:55:12 CDT 2022



> On 23 Oct 2022, at 12:34 PM, Matthew Knepley <knepley at gmail.com> wrote:
> 
> On Sun, Oct 23, 2022 at 12:48 AM 赵刚 <zhaog6 at lsec.cc.ac.cn <mailto:zhaog6 at lsec.cc.ac.cn>> wrote:
> Dear PETSc team,
> 
> I want to call the multithreading sparse direct solver SuperLU_MT in PETSc, Could I download by "--download-superlu-mt"? Or what is a good way to support calling SuperLU_MT interface in PETSc? Thank you.
> 
> Is it a separate package,

Yes, one would need to add it: https://github.com/xiaoyeli/superlu_mt <https://github.com/xiaoyeli/superlu_mt>
Gang, it would be a good exercise to make your first contribution to PETSc if you feel like it.
You should be able to copy/paste most of what is in config/BuildSystem/config/packages/SuperLU.py into a new file config/BuildSystem/config/packages/SuperLU_MT.py

Thanks,
Pierre

> or only configure arguments to SuperLU?
> 
>   Thanks,
> 
>      Matt
>  
> 
> Best Regards,
> Gang
> 
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
> 
> https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221023/addcef0f/attachment-0001.html>


More information about the petsc-users mailing list