[petsc-dev] KNC build?

Victor Eijkhout eijkhout at tacc.utexas.edu
Tue Nov 4 11:38:27 CST 2014


> On Nov 4, 2014, at 11:32 AM, Mark Adams <mfadams at 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.




More information about the petsc-dev mailing list