<div dir="ltr">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.<div>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.<br><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--Junchao Zhang</div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 19, 2021 at 6:16 PM Tony Curtis <<a href="mailto:anthony.curtis@stonybrook.edu">anthony.curtis@stonybrook.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Jul 19, 2021, at 3:59 PM, Junchao Zhang via discuss <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> I configured mpich/main (or 4.0a2) with <br>
> ./configure CC=gcc CXX=g++ --enable-fortran=no<br>
> on Mac with Apple clang version 12.0.5 (clang-1205.0.22.11). The build failed with<br>
> <br>
> ...<br>
> CCLD hydra_pmi_proxy<br>
> Undefined symbols for architecture x86_64:<br>
> "_hwloc_topology_set_io_types_filter", referenced from:<br>
> _HYDT_topo_hwloc_init in libhydra.a(topo_hwloc.o)<br>
> <br>
<br>
Do you have hwloc installed (e.g. via brew)? Or if so, is it new enough?<br>
<br>
Tony<br>
<br>
</blockquote></div>