<p>
        Thank you, Pierre, I'll try to add it.
</p>
<p>
        <br>
</p>
<p>
        Best Regards,
</p>
<p>
        Gang
</p>
<br>
<br>
<blockquote name="replyContent" class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0;">
        -----原始邮件-----<br>
<b>发件人:</b><span id="rc_from">"Pierre Jolivet" <pierre@joliv.et></span><br>
<b>发送时间:</b><span id="rc_senttime">2022-10-23 18:55:12 (星期日)</span><br>
<b>收件人:</b> "Matthew Knepley" <knepley@gmail.com><br>
<b>抄送:</b> "赵刚" <zhaog6@lsec.cc.ac.cn>, petsc-users@mcs.anl.gov<br>
<b>主题:</b> Re: [petsc-users] Calling SuperLU_MT in PETSc<br>
<br>
        <div style="word-wrap:break-word;-webkit-nbsp-mode:space;line-break:after-white-space;" class="">
                <br class="">
                <div>
                        <br class="">
                        <blockquote type="cite" class="">
                                <div class="">
                                        On 23 Oct 2022, at 12:34 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com" class="">knepley@gmail.com</a>> wrote:
                                </div>
<br class="Apple-interchange-newline">
                                <div class="">
                                        <div dir="ltr" class="">
                                                <div dir="ltr" class="">
                                                        On Sun, Oct 23, 2022 at 12:48 AM 赵刚 <<a href="mailto:zhaog6@lsec.cc.ac.cn" class="">zhaog6@lsec.cc.ac.cn</a>> wrote:<br class="">
                                                </div>
                                                <div class="gmail_quote">
                                                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #CCCCCC;padding-left:1ex;">
                                                                Dear PETSc team,<br class="">
<br class="">
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.
                                                        </blockquote>
                                                        <div class="">
                                                                <br class="">
                                                        </div>
                                                        <div class="">
                                                                Is it a separate package,
                                                        </div>
                                                </div>
                                        </div>
                                </div>
                        </blockquote>
                        <div>
                                <br class="">
                        </div>
                        <div>
                                Yes, one would need to add it: <a href="https://github.com/xiaoyeli/superlu_mt" class="">https://github.com/xiaoyeli/superlu_mt</a> 
                        </div>
                        <div>
                                Gang, it would be a good exercise to make your first contribution to PETSc if you feel like it.
                        </div>
                        <div>
                                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
                        </div>
                        <div>
                                <br class="">
                        </div>
                        <div>
                                Thanks,
                        </div>
                        <div>
                                Pierre
                        </div>
<br class="">
                        <blockquote type="cite" class="">
                                <div class="">
                                        <div dir="ltr" class="">
                                                <div class="gmail_quote">
                                                        <div class="">
                                                                or only configure arguments to SuperLU?
                                                        </div>
                                                        <div class="">
                                                                <br class="">
                                                        </div>
                                                        <div class="">
                                                                  Thanks,
                                                        </div>
                                                        <div class="">
                                                                <br class="">
                                                        </div>
                                                        <div class="">
                                                                     Matt
                                                        </div>
                                                        <div class="">
                                                                 
                                                        </div>
                                                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #CCCCCC;padding-left:1ex;">
                                                                <br class="">
Best Regards,<br class="">
Gang
                                                        </blockquote>
                                                </div>
<br clear="all" class="">
                                                <div class="">
                                                        <br class="">
                                                </div>
-- <br class="">
                                                <div dir="ltr" class="gmail_signature">
                                                        <div dir="ltr" class="">
                                                                <div class="">
                                                                        <div dir="ltr" class="">
                                                                                <div class="">
                                                                                        <div dir="ltr" class="">
                                                                                                <div class="">
                                                                                                        What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br class="">
-- Norbert Wiener
                                                                                                </div>
                                                                                                <div class="">
                                                                                                        <br class="">
                                                                                                </div>
                                                                                                <div class="">
                                                                                                        <a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" class="">https://www.cse.buffalo.edu/~knepley/</a><br class="">
                                                                                                </div>
                                                                                        </div>
                                                                                </div>
                                                                        </div>
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                </div>
                        </blockquote>
                </div>
<br class="">
        </div>
</blockquote>