Opened 4 years ago

Closed 4 years ago

#62768 closed defect (fixed)

mpich: port uses hwloc, but doesn't declare a dependency on it

Reported by: mascguy (Christopher Nielsen) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mpich

Description

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.

Change History (1)

comment:1 Changed 4 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.