[mpich-discuss] Build failed with Undefined symbols
junchao.zhang at gmail.com
Tue Jul 20 08:09:17 CDT 2021
Adding --with-hwloc=embedded fixed the problem. Yes, I have preinstalled
hwloc (it is common since I also found hwloc on another Linux cluster that
had the same kind of hw errors). I guess it was because mpich is not
compatible with the system's preinstalled hwloc.
Perhaps a better approach is for mpich to check the hwloc at configure time
(e.g., many petsc third party libraries are checked in this way), then
report any compatibility issue and give clear messages to users asking them
to either upgrade their hwloc or use the embedded one.
On Mon, Jul 19, 2021 at 6:16 PM Tony Curtis <anthony.curtis at stonybrook.edu>
> > On Jul 19, 2021, at 3:59 PM, Junchao Zhang via discuss <
> discuss at mpich.org> wrote:
> > Hello,
> > I configured mpich/main (or 4.0a2) with
> > ./configure CC=gcc CXX=g++ --enable-fortran=no
> > on Mac with Apple clang version 12.0.5 (clang-1126.96.36.199). The build
> failed with
> > ...
> > CCLD hydra_pmi_proxy
> > Undefined symbols for architecture x86_64:
> > "_hwloc_topology_set_io_types_filter", referenced from:
> > _HYDT_topo_hwloc_init in libhydra.a(topo_hwloc.o)
> Do you have hwloc installed (e.g. via brew)? Or if so, is it new enough?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss