Steve<div><br></div><div>Looking at the output, it seems that Cactus uses mpicc, while icc reports and error. Does mpicc maybe use icc? What happens if you type &quot;mpicc --version&quot;?</div><div><br></div><div>Generally, I recommend against using mpicc, since it complicates the configuration stage (it may be difficult to run small test programs). With cross-compiling, this may not be so much of an issue since you can&#39;t run test programs anyway.</div>
<div><br></div><div>I assume that you are trying this with an empty thorn list?</div><div><br></div><div>Your option list looks strage. Is this really a Fedora system?</div><div><br></div><div>You are setting MPI_DIR = /opt/apps/intel13/impi/<a href="http://4.1.0.024/intel64">4.1.0.024/intel64</a>. Does this make sense, if you expect to not be using icc? What compiler should be used to generate the code, gcc or icc?</div>
<div><br></div><div>You are setting FPP_OPENMP_FLAGS = -D_OPENMP; this is only necessary for very old versions of GNU cpp. For modern versions, I recommend FPP_OPENMP_FLAGS = -fopenmp.</div><div><br></div><div>You are using -rdynamic in CFLAGS. This is a linker option; it should go to LDFLAGS instead.</div>
<div><br></div><div>-erik</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 10:12 AM, Steven R. Brandt <span dir="ltr">&lt;<a href="mailto:sbrandt@cct.lsu.edu" target="_blank">sbrandt@cct.lsu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to build on MIC. In order to do that, I have to cross compile. See attached cfg file.<br>
<br>
Anyhow, I build with simfactory and get this:<br>
<br>
End of options from &#39;/home1/00044/tg457049/Cactus/<u></u>configs/sim/OptionList&#39;.<br>
creating cache ./config.cache<br>
checking host system type... x86_64-unknown-linux-gnu<br>
checking whether make sets ${MAKE}... yes<br>
checking whether the C compiler (mpicc -g3 -m128bit-long-double -mmic -rdynamic -Wunused-variable ) works... yes<br>
checking whether the C compiler (mpicc -g3 -m128bit-long-double -mmic -rdynamic -Wunused-variable ) is a cross-compiler... yes<br>
checking whether we are using GNU C... yes<br>
checking whether the C++ compiler (mpicxx -g3 -m128bit-long-double -mmic -std=c++03 -rdynamic -Wunused-variable ) works... yes<br>
checking whether the C++ compiler (mpicxx -g3 -m128bit-long-double -mmic -std=c++03 -rdynamic -Wunused-variable ) is a cross-compiler... yes<br>
checking whether we are using GNU C++... yes<br>
<br>
So I expect the mpicc compiler to be used. It isn&#39;t. What am I doing wrong?<br>
<br>
Cheers,<br>
Steve<br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
<a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Erik Schnetter &lt;<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>&gt;<br><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>

</div>