On 23 Oct 2022, at 12:34 PM, Matthew Knepley <knepley@gmail.com> wrote:

On Sun, Oct 23, 2022 at 12:48 AM 赵刚 <zhaog6@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
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