[petsc-users] duplicated libs

Runjian Wu wurunjian at gmail.com
Tue May 14 02:30:58 CDT 2024


Sounds reasonable. Thank you very much!

Runjian


On Tue, May 14, 2024 at 10:34 AM Barry Smith <bsmith at petsc.dev> wrote:

>
>   It is not always safe to remove duplicate libraries listed in different
> places in the list. Hence we cannot simply always remove them.
>
>   Barry
>
> On May 13, 2024, at 10:00 PM, Runjian Wu <wurunjian at gmail.com> wrote:
>
> Thanks for your reply!  Since I can manually remove duplicates, how about
> adding a function to automatically remove duplicates at the end of
> "configure" in the next PETSc version?
>
> Runjian
>
>
> On 5/13/2024 9:31 PM, Barry Smith wrote:
>
>
>    Because the order of the libraries can be important, it is difficult
> for ./configure to remove unneeded duplicates automatically.
>
>    You can manually remove duplicates by editing
> $PETSC_ARCH/lib/petsc/conf/petscvariables after running ./configure
>
>    Barry
>
>
>
> On May 13, 2024, at 7:47 AM, Runjian Wu <wurunjian at gmail.com>
> <wurunjian at gmail.com> wrote:
>
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi all,
>
> After I compiled PETSc, I found some duplicated libs in the variable
> PETSC_EXTERNAL_LIB_BASIC, e.g., -lm, -lgfortran -lstdc++.  I am curious how
> it happened and how to remove the duplicates?
>
> Thanks,
>
> Runjian Wu
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240514/d77dbd50/attachment.html>


More information about the petsc-users mailing list