[petsc-dev] configure error
    Satish Balay 
    balay at mcs.anl.gov
       
    Fri Jan 26 19:23:55 CST 2018
    
    
  
just to be clear 
- there is no configure option --with-cc++. Its --with-cxx
- and you are trying to provide a c compiler for a c++ compiler option.
i.e use :
--with-cxx=g++-7
Satish
On Sat, 27 Jan 2018, Smith, Barry F. wrote:
> 
>   Well you may be trying to build with gcc-7 but you are building C++ with clang
> 
> gmake[2]: Leaving directory '/Users/markadams/Codes/petsc/arch-macosx-gnu-g-omp/externalpackages/mpich-3.3a3'
> gmake[1]: Leaving directory '/Users/markadams/Codes/petsc/arch-macosx-gnu-g-omp/externalpackages/mpich-3.3a3'clang: error: unsupported option '-fopenmp'
> 
>  --with-cc++=gcc-7 is not correct.
> 
> 
> 
> 
> 
> > On Jan 26, 2018, at 5:21 PM, Mark Adams <mfadams at lbl.gov> wrote:
> > 
> > I get this error on osx. I am trying to build with OpenMP (gcc-7).
> > <configure.log>
> 
> 
    
    
More information about the petsc-dev
mailing list