[petsc-dev] KNC build?

Richard Mills richardtmills at gmail.com
Tue Nov 4 17:20:24 CST 2014


Hi Mark,

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).

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).

--Richard

On Tue, Nov 4, 2014 at 12:59 PM, Mark Adams <mfadams at lbl.gov> wrote:

> Thanks Victor,
>
> I am getting cc error.  Any ideas?
> Mark
>
>
> On Tue, Nov 4, 2014 at 12:38 PM, Victor Eijkhout <eijkhout at tacc.utexas.edu
> > wrote:
>
>>
>> > 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.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20141104/9ee83bb9/attachment.html>


More information about the petsc-dev mailing list