<div dir="ltr">Hi Mark,<div><br></div><div>I noticed that you are using the wrong compiler wrappers. Instead of 'mpicc', 'mpif90', and 'mpicxx' (which will invoke GNU compilers), you probably want 'mpiicc', 'mpiifort', and 'mpiicpc' (invoke the Intel compilers).</div><div><br></div><div>You will probably also want to unload the IMPI 5.x and load the IMPI 4.1.3 module right now because of a stupid bug in the compiler wrappers (for which I've filed a bug report--will be fixed in next IMPI release, sometime before SC14).</div><div><br></div><div>--Richard</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 12:59 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Victor,<div><br></div><div>I am getting cc error. Any ideas?</div><span class="HOEnZb"><font color="#888888"><div>Mark</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 12:38 PM, Victor Eijkhout <span dir="ltr"><<a href="mailto:eijkhout@tacc.utexas.edu" target="_blank">eijkhout@tacc.utexas.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> On Nov 4, 2014, at 11:32 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
><br>
> Has anyone built PETSc on KNC (Babbage at NERSC to be specific)?<br>
<br>
</span>At TACC under intel 14:<br>
<br>
CEE_OPTIONS="-mmic -mkl -fp-model precise"<br>
./configure --PETSC_ARCH=mic --with-fc=0 --with-debug=0 \<br>
--with-batch=1 --CPPFLAGS=-mmic \<br>
--CFLAGS="${CEE_OPTIONS}" --CXXFLAGS="${CEE_OPTIONS}" --FFLAGS="${CEE_OPTIONS}" \<br>
--with-mpi=1 --known-mpi-shared-libraries=1 \<br>
--with-mpi-include=${MPICH_HOME}/mic/include \<br>
--with-mpi-lib=${MPICH_HOME}/mic/lib \<br>
--with-mpicc=/opt/apps/intel13/impi/<a href="http://4.1.0.030/intel64/bin/mpicc" target="_blank">4.1.0.030/intel64/bin/mpicc</a> \<br>
--with-mpicxx=/opt/apps/intel13/impi/<a href="http://4.1.0.030/intel64/bin/mpicxx" target="_blank">4.1.0.030/intel64/bin/mpicxx</a> \<br>
--with-mpif90=/opt/apps/intel13/impi/<a href="http://4.1.0.030/intel64/bin/mpif90" target="_blank">4.1.0.030/intel64/bin/mpif90</a><br>
<br>
That first line is still giving me problems. Just nix the fp-model.<br>
<span><font color="#888888"><br>
Victor.<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>