<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I honestly don’t know how GCC is finding openmpi.   Yes, my Ubuntu ships with OpenMPI on it, but how is my mpich mpicc shell script removing mpich from the compile command?<div><br></div><div>hmmm, unless make is not taking my environment with it when sub make commands for some of my packages….. I get mpicc from mpich-3.1.1 through my modules, but openmpi is installed in the default /usr/local location….  I think I see the drift of the problem.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jul 2, 2014, at 5:33 PM, Dave Goodell (dgoodell) <<a href="mailto:dgoodell@cisco.com">dgoodell@cisco.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Jul 2, 2014, at 3:06 PM, Brian Van Straalen <<a href="mailto:bvstraalen@lbl.gov">bvstraalen@lbl.gov</a>> wrote:<br><br><blockquote type="cite"><br>an interesting error while using mpicc with mpich-3.1.1<br><br><blockquote type="cite">which mpicc<br></blockquote>/opt/pkg/mpich-3.1.1/bin/mpicc<br><blockquote type="cite">mpicc -compile-info<br></blockquote>gcc -I/opt/pkg/mpich-3.1.1/include -L/opt/pkg/mpich-3.1.1/lib -Wl,-rpath <br></blockquote>[...]<br><blockquote type="cite">'/usr/lib/openmpi/include' '-I' '/usr/lib/openmpi/include/openmpi' '-pthread' <br></blockquote><br>That line looks awfully suspicious to me.  You probably have a conflicting installation of Open MPI.  Maybe this is an older version of OS X that came with Open MPI installed in /usr?<br><br>-Dave<br><br>_______________________________________________<br>discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><div apple-content-edited="true">
<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: 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;  "><div><div><font class="Apple-style-span" face="'Courier New'">Brian Van Straalen         Lawrence Berkeley Lab</font></div><div><font class="Apple-style-span" face="'Courier New'"><a href="mailto:BVStraalen@lbl.gov">BVStraalen@lbl.gov</a>         Computational Research</font></div><div><font class="Apple-style-span" face="'Courier New'">(510) 486-4976             Division (<a href="http://crd.lbl.gov">crd.lbl.gov</a>)</font></div></div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>