[petsc-users] duplicated libs
Satish Balay
balay at mcs.anl.gov
Mon May 13 08:34:33 CDT 2024
what version of PETSc? What configure command? What do you have for PETSC_EXTERNAL_LIB_BASIC?
You can send configure.log for your build to petsc-maint
Generally duplicates should not cause grief. [as one needs them to overcome circular dependencies].
What issues are you seeing? [send relevant logs]
If the duplicates are coming form "compiler library" detection part of configure - you can skip this part by listing the correct "compiler libraries"
for ex: with gcc/gfortran:
LIBS="-lgfortran -lstdc++"
However -lgfortran could be required for gcc - but a duplicate for gfortran.
Satish
On Mon, 13 May 2024, Runjian Wu wrote:
> 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
>
More information about the petsc-users
mailing list