[petsc-dev] Investigation about 'unused direct shared library dependencies'
Satish Balay
balay at mcs.anl.gov
Fri Oct 7 08:55:56 CDT 2016
On Fri, 7 Oct 2016, Antonio Trande wrote:
> Thanks for your replies.
> I have fixed almost entirely all unused dependencies.
>
>
> petsc.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/libpetsc.so.3.7.3 /lib64/libhdf5.so.10
>
> petsc64.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/libpetsc64.so.3.7.3 /lib64/libhdf5.so.10
>
> As Satish said, 'hdf5' is required by 'cgns' at building time.
> Like libptscotcherr/libscotcherror, i guess, are required for Scotch.
> Remain an unused link of 'scalapack' in the MPI builds:
>
> petsc-mpich.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/mpich/lib/libpetsc.so.3.7.3
> /usr/lib64/mpich/lib/libscalapack.so.2
> petsc-mpich.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/mpich/lib/libpetsc.so.3.7.3
> /usr/lib64/mpich/lib/libptscotcherr.so.0
> petsc-mpich.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/mpich/lib/libpetsc.so.3.7.3
> /usr/lib64/mpich/lib/libscotcherr.so.0
>
> petsc-openmpi.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/openmpi/lib/libpetsc.so.3.7.3
> /usr/lib64/openmpi/lib/libscalapack.so.2
> petsc-openmpi.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/openmpi/lib/libpetsc.so.3.7.3
> /usr/lib64/openmpi/lib/libptscotcherr.so.0
> petsc-openmpi.x86_64: W: unused-direct-shlib-dependency
> /usr/lib64/openmpi/lib/libpetsc.so.3.7.3
> /usr/lib64/openmpi/lib/libscotcherr.so.0
>
> 'scalapck' is configured with:
>
> --with-scalapack=1 \
> --with-scalapack-lib="-L/usr/lib(64)/openmpi/lib -lscalapack" \
> --with-scalapck-include=/usr/include/openmpi-%_arch \
>
> see
> http://copr-dist-git.fedorainfracloud.org/cgit/sagitter/petsc/petsc.git/tree/petsc.spec?id=9ca08a9a53b74534e0fcfdbc5973f2f006964387#n703
scalapack is a dependency of mumps
Satish
More information about the petsc-dev
mailing list