[petsc-users] error configuring METIS with OpenMP
Satish Balay
balay at mcs.anl.gov
Tue May 5 17:24:17 CDT 2020
You can try:
./configure --with-cc=gcc-9 --with-fc=gfortran-9 --with-cxx=g++-9 --download-mpich=1 --with-openmp=1 .....
Or to get a prebuilt mpich with brew compilers:
./configure --with-cc=gcc-9 --with-fc=gfortran-9 --with-cxx=g++-9 --download-mpich=1 --prefix=$HOME/soft/mpich-brew-gcc
And later:
./configure --with-mpi-dir=$HOME/soft/mpich-brew-gcc .....
Satish
On Tue, 5 May 2020, Mark Adams wrote:
> I use MPICH from Homebrew and specify this is configured. mpicc seems to
> use XCode now.
>
> Do you know how I would get Homebew to not use Xcode?
>
> I actually don't need MPI for this so may I should just set the C compiler
> explicitly to gcc..
> Thanks,
>
> On Tue, May 5, 2020 at 5:57 PM Satish Balay <balay at mcs.anl.gov> wrote:
>
> > Ok - this is on your Mac.
> >
> > >>>>>
> > Executing: /usr/local/Cellar/mpich/3.3.2/bin/mpicc --version
> > stdout:
> > Apple clang version 11.0.3 (clang-1103.0.32.59)
> > <<<<<
> >
> > XCode clang does not support OpenMP as far as I know.
> >
> > Satish
> >
> > On Tue, 5 May 2020, Mark Adams wrote:
> >
> > > Sorry, getting my machines mixed up.
> > >
> > > On Tue, May 5, 2020 at 5:16 PM Satish Balay <balay at mcs.anl.gov> wrote:
> > >
> > > > Sorry - what is the issue here? The attached configure.log looks good
> > to
> > > > me.
> > > >
> > > > Satish
> > > >
> > > > On Tue, 5 May 2020, Mark Adams wrote:
> > > >
> > > > > This works with OpenMP
> > > > >
> > > >
> > > >
> > >
> >
> >
>
More information about the petsc-users
mailing list