Thanks for the help.  Is fortran supported?<br><br>John<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 7:01 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
You need to add -mmic to CFLAGS (and other appropriate language flags), and LIBS=-lscif<br>
<br>
You also need to force it to cross-compile by providing the --host=i686-linux-gnu option.<br>
<br>
Here's the configure line I typically use:<br>
<br>
./configure --host=i686-linux-gnu --disable-cxx --disable-f77 --disable-fc --disable-romio --disable-mpe --prefix=`pwd`/install CC=icc CFLAGS=-mmic LIBS=-lscif LDFLAGS=-L/usr/lib64 --with-device=ch3:nemesis:<u></u>scif,tcp<br>


<br>
I'll add it to the README.<br>
<br>
 -- Pavan<div><div class="h5"><br>
<br>
On 11/01/12 15:27, John Fettig wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I've searched the website, the documentation, and the mailing list but I<br>
cannot find any explanation of how to build mpich2-1.5 to support the<br>
Intel MIC.  Could somebody explain to me the correct way to build it?  I<br>
see the following configure execution in the fcrosscompile, but it<br>
doesn't work for me:  ./configure CC="icc -mmic" F77="ifort -mmic"<br>
FC="ifort -mmic"<br>
<br>
Thanks,<br>
John<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/<u></u>mailman/listinfo/mpich-discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</font></span></blockquote></div><br></div>