<div dir="ltr">Additionally I get this output:<div><br></div><div><div>===============================================================================                                                        </div><div>             Configuring PETSc to compile on your system                                                                               </div><div>===============================================================================                                                        </div><div>TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:534)                                        *** glibc detected *** icc: double free or corruption (top): 0x00000000021a2240 ***                                                    </div><div>======= Backtrace: =========                                                                                                           </div><div>/lib64/libc.so.6(+0x75e76)[0x2ae7076cce76]                                                                                             </div><div>/lib64/libc.so.6(+0x789b3)[0x2ae7076cf9b3]                                                                                             </div><div>/lib64/libc.so.6(fclose+0x14d)[0x2ae7076bd4dd]                                                                                         </div><div>icc[0x4fc06c]                                                                                                                          </div><div>icc[0x4f3177]                                                                                                                          </div><div>icc[0x4fc151]                                                                                                                          </div><div>icc[0x4fc05e]     </div></div><div>   .....</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 3: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>