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 <[email protected]> wrote: > > > > I get this error on osx. I am trying to build with OpenMP (gcc-7). > > <configure.log> > >
