<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Weird.  I am unable to reproduce the problem even when I specify clang as the compiler on my Macbook.  What if you force 64bit on C and C++?  Or can you tell which specific object files (rather than libraries) have the wrong architecture?<div><br></div><div>Bill</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-size: 12px; ">William Gropp</div><div style="font-size: 12px; ">Director, Parallel Computing Institute</div><div style="font-size: 12px; ">Deputy Director for Research</div><div style="font-size: 12px; ">Institute for Advanced Computing Applications and Technologies</div></div></div></span><span class="Apple-style-span" style="font-size: 12px; ">Thomas M. Siebel Chair in Computer Science</span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-size: 12px; ">University of Illinois Urbana-Champaign</div></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 18, 2013, at 5:54 PM, Jeff Hammond wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr">Hi Bill,<div><br></div><div>Complete details can be found here:</div><div><br></div><div>$ ls -alrt >& ls.out ; ../configure CC=clang CXX=clang++ FC=false F77=false --disable-fc --disable-f77 --enable-threads --with-device=ch3:nemesis --prefix=/Users/jhammond/eclipse/MPICH2/git/install-clang >& config.out ; make V=1 >& make.log <br>

<div><br></div><div><a href="https://dl.dropboxusercontent.com/u/58983082/ls.out">https://dl.dropboxusercontent.com/u/58983082/ls.out</a> (trivial - just to show I start from scratch)<br></div><div><a href="https://dl.dropboxusercontent.com/u/58983082/config.log">https://dl.dropboxusercontent.com/u/58983082/config.log</a></div>

<div><a href="https://dl.dropboxusercontent.com/u/58983082/config.out">https://dl.dropboxusercontent.com/u/58983082/config.out</a><br></div><div><a href="https://dl.dropboxusercontent.com/u/58983082/make.log">https://dl.dropboxusercontent.com/u/58983082/make.log</a><br>

</div></div><div><br></div><div>Thanks,</div><div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 18, 2013 at 11:28 AM, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Did config.log not show up? I see the attachment in my outbox. </div><div><br></div><div>This is the output of make the second time. Everything is fine until this step but I can attach the whole thing if necessary. </div>


<div><br></div><div>I tried a dozen or so attempts, all from a completely empty directory (including deleting .libs and such). </div><div><br></div><div>Also, I ran autogen.sh after my clean pull yesterday. </div><div><br>


</div><div>Best, </div><div><br></div><div>Jeff</div><div><br>Sent from my iPhone</div><div><div class="h5"><div><br>On Aug 18, 2013, at 9:37 AM, William Gropp <<a href="mailto:wgropp@illinois.edu" target="_blank">wgropp@illinois.edu</a>> wrote:<br>

<br>
</div><blockquote type="cite"><div>Jeff,<div><br></div><div>Can you send the configure output as well?  It is strange that no files were built.  Does this happen if you do a make clean first?</div><div><br></div><div>Bill</div>


<div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<div><div style="font-size:12px">William Gropp</div><div style="font-size:12px">Director, Parallel Computing Institute</div><div style="font-size:12px">Deputy Director for Research</div><div style="font-size:12px">Institute for Advanced Computing Applications and Technologies</div>


</div></div></span><span style="font-size:12px">Thomas M. Siebel Chair in Computer Science</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<div><div style="font-size:12px">University of Illinois Urbana-Champaign</div></div><div><br></div></div></span><br></span><br>
</div>
<br><div><div>On Aug 17, 2013, at 10:26 PM, Jeff Hammond wrote:</div><br><blockquote type="cite"><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>
<span><config.log></span>_______________________________________________<br>discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br>

<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote>
</div><br></div></div></blockquote></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>
</div>
</blockquote></div><br></div></body></html>