Additionally I get this output: ===============================================================================
Configuring PETSc to compile on your system =============================================================================== TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:534) *** glibc detected *** icc: double free or corruption (top): 0x00000000021a2240 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75e76)[0x2ae7076cce76] /lib64/libc.so.6(+0x789b3)[0x2ae7076cf9b3] /lib64/libc.so.6(fclose+0x14d)[0x2ae7076bd4dd] icc[0x4fc06c] icc[0x4f3177] icc[0x4fc151] icc[0x4fc05e] ..... On Tue, Nov 4, 2014 at 3:59 PM, Mark Adams <mfad...@lbl.gov> wrote: > Thanks Victor, > > I am getting cc error. Any ideas? > Mark > > > On Tue, Nov 4, 2014 at 12:38 PM, Victor Eijkhout <eijkh...@tacc.utexas.edu > > wrote: > >> >> > On Nov 4, 2014, at 11:32 AM, Mark Adams <mfad...@lbl.gov> wrote: >> > >> > Has anyone built PETSc on KNC (Babbage at NERSC to be specific)? >> >> At TACC under intel 14: >> >> CEE_OPTIONS="-mmic -mkl -fp-model precise" >> ./configure --PETSC_ARCH=mic --with-fc=0 --with-debug=0 \ >> --with-batch=1 --CPPFLAGS=-mmic \ >> --CFLAGS="${CEE_OPTIONS}" --CXXFLAGS="${CEE_OPTIONS}" >> --FFLAGS="${CEE_OPTIONS}" \ >> --with-mpi=1 --known-mpi-shared-libraries=1 \ >> --with-mpi-include=${MPICH_HOME}/mic/include \ >> --with-mpi-lib=${MPICH_HOME}/mic/lib \ >> --with-mpicc=/opt/apps/intel13/impi/4.1.0.030/intel64/bin/mpicc \ >> --with-mpicxx=/opt/apps/intel13/impi/4.1.0.030/intel64/bin/mpicxx >> \ >> --with-mpif90=/opt/apps/intel13/impi/4.1.0.030/intel64/bin/mpif90 >> >> That first line is still giving me problems. Just nix the fp-model. >> >> Victor. >> >> >