[petsc-users] Configuring PETSc with Intel compiler.
Satish Balay
balay at mcs.anl.gov
Tue Mar 30 12:50:11 CDT 2010
You should use CXX=icpc
Satish
On Tue, 30 Mar 2010, Pedro Torres wrote:
> Hello,
>
> I'm trying to compile PETSc with intel compiler and get the error below. I
> can compile a c/c++ source code without problem.
>
> What am I doing wrong?. Thanks a lot
>
>
> ./config/configure.py PETSC_ARCH=linux-gnu-c++-nodebug-parmetis CXX=icc
> FC=ifort --with-clanguage=C++ --download-parmetis=1
> --download-parmetis=/home/ptorres/soft/ParMetis-dev-p3.tar.gz
> --with-blas-lapack-dir=/opt/intel/mkl/10.2.4.032 --with-debugging=0
> CXXOPTFLAGS='-O3 -xN -tpp7 -ipo'
> ===============================================================================
> Configuring PETSc to compile on your system
> ===============================================================================
> TESTING: checkCxxCompiler from
> config.setCompilers(config/BuildSystem/config/setCompilers.py:585)
> *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> details):
> -------------------------------------------------------------------------------
> C++ compiler you provided with -CXX=icc does not work
> *******************************************************************************
>
>
>
More information about the petsc-users
mailing list