[petsc-dev] KNC build?

Satish Balay balay at mcs.anl.gov
Tue Nov 4 17:14:01 CST 2014


On Tue, 4 Nov 2014, Mark Adams wrote:

> >
> >
> > Try expanding ${CEE_OPTIONS} env variable before configure script is
> > called.. [or not use this env variable and pass in these options
> > directly - assuming they are valid for this compiler]
> >
> >
> I have tried this:
> 
> CEE_OPTIONS='-mmic -mkl -fp-model precise' ../arch-knc-dbg64.py
> 
> Is that what you mean?

I mean - don't mix python and shell-env variables.. What Victor
suggested was shell variables with shell expansion of these variables.

You should edit ../arch-knc-dbg64.py and add in '-mmic -mkl -fp-model
precise' in a python variable (and use python variable substitution) -
or just copy/paste directly into CFLAGS,CXXFLAGS,FFLAGS etc..

Satish




More information about the petsc-dev mailing list