[MacPorts] #62768: mpich: port uses hwloc, but doesn't declare a dependency on it
MacPorts
noreply at macports.org
Tue Apr 27 22:25:56 UTC 2021
#62768: mpich: port uses hwloc, but doesn't declare a dependency on it
---------------------+----------------------
Reporter: mascguy | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mpich
---------------------+----------------------
This port explicitly links against hwloc, via configure argument `-with-
hwloc-prefix=${prefix}`. But the port file doesn't declare a lib
dependency on hwloc.
Output from `otool`, showing that mpich binaries are linked against hwloc:
{{{
$ otool -L /opt/local/bin/*mpich*
/opt/local/bin/hydra_nameserver-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/hydra_persist-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/hydra_pmi_proxy-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/mpichversion-mpich-mp:
/opt/local/lib/mpich-mp/libmpi.12.dylib (compatibility version
14.0.0, current version 14.10.0)
/opt/local/lib/mpich-mp/libpmpi.12.dylib (compatibility version
14.0.0, current version 14.10.0)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/bin/mpiexec-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/mpiexec.hydra-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/mpirun-mpich-mp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/opt/local/bin/mpivars-mpich-mp:
/opt/local/lib/mpich-mp/libmpi.12.dylib (compatibility version
14.0.0, current version 14.10.0)
/opt/local/lib/mpich-mp/libpmpi.12.dylib (compatibility version
14.0.0, current version 14.10.0)
/opt/local/lib/libhwloc.15.dylib (compatibility version 20.0.0,
current version 20.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.50.4)
}}}
Also confirmed that mpich dylibs load hwloc, as well.
--
Ticket URL: <https://trac.macports.org/ticket/62768>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list