[petsc-dev] Investigation about 'unused direct shared library dependencies'
Antonio Trande
anto.trande at gmail.com
Fri Oct 7 05:12:32 CDT 2016
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
--
---
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161007/736b329a/attachment.sig>
More information about the petsc-dev
mailing list