<div dir="ltr"><div>I'm very happy to accept that this is user error, either due to direct stupidity or indirectly by virtue of something I've done with macports (or using macports in the first place), but I can't figure out how to solve it. I've made a number of queries to the google oracle to no avail.</div>
<div><br></div><div>I tried the stackoverflow suggestion of -m64 as well as -arch x86_64, but neither worked.</div><div><br></div><div>Any suggestions?</div><div><br>Thanks,<br><br>Jeff</div><div><br></div><div>Jeffs-MacBook-Pro:build-clang jhammond$ make</div>
<div>make all-recursive</div><div>Making all in /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/src/mpl</div><div>make[2]: Nothing to be done for `all'.</div><div>Making all in /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/src/openpa</div>
<div>Making all in src</div><div>make all-am</div><div>Making all in test</div><div>make[3]: Nothing to be done for `all'.</div><div>make[3]: Nothing to be done for `all-am'.</div><div>Making all in src/mpi/romio</div>
<div>Making all in src/pm/hydra</div><div>Making all in ../../mpl</div><div>make[3]: Nothing to be done for `all'.</div><div>Making all in tools/topo/hwloc/hwloc</div><div>Making all in src</div><div>make[4]: Nothing to be done for `all'.</div>
<div>Making all in include</div><div>make[4]: Nothing to be done for `all'.</div><div>make[4]: Nothing to be done for `all-am'.</div><div>Making all in .</div><div>Making all in .</div><div> CCLD src/env/mpichversion</div>
<div>ld: warning: ld: warning: ignoring file /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/src/mpl/.libs/libmpl.a, file was built for archive which is not the architecture being linked (x86_64): /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/src/mpl/.libs/libmpl.aignoring file lib/.libs/libpmpich.a, file was built for archive which is not the architecture being linked (x86_64): lib/.libs/libpmpich.a</div>
<div><br></div><div>ld: warning: ignoring file lib/.libs/libmpich.a, file was built for archive which is not the architecture being linked (x86_64): lib/.libs/libmpich.a</div><div>ld: warning: ignoring file /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/lib/.libs/libmpich.a, file was built for archive which is not the architecture being linked (x86_64): /Users/jhammond/eclipse/MPICH2/mpich.git/build-clang/lib/.libs/libmpich.a</div>
<div>Undefined symbols for architecture x86_64:</div><div> "_MPIR_Version_CC", referenced from:</div><div> _main in mpichversion.o</div><div> "_MPIR_Version_CXX", referenced from:</div><div> _main in mpichversion.o</div>
<div> "_MPIR_Version_F77", referenced from:</div><div> _main in mpichversion.o</div><div> "_MPIR_Version_FC", referenced from:</div><div> _main in mpichversion.o</div><div> "_MPIR_Version_configure", referenced from:</div>
<div> _main in mpichversion.o</div><div> "_MPIR_Version_date", referenced from:</div><div> _main in mpichversion.o</div><div> "_MPIR_Version_device", referenced from:</div><div> _main in mpichversion.o</div>
<div> "_MPIR_Version_string", referenced from:</div><div> _main in mpichversion.o</div><div>ld: symbol(s) not found for architecture x86_64</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
<div>make[2]: *** [src/env/mpichversion] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div><div><br></div>-- <br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>
</div>