[petsc-users] Configure error after upgrading GCC
Balay, Satish
balay at mcs.anl.gov
Mon Dec 10 08:12:44 CST 2018
> Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --CC=mpicc --FC=mpif90 --with-debugging=1 --download-hypre=1 --with-x=0 --PETSC_ARCH=linux-dbg
If specifying compilers - also specify a C++ compiler.
--CC=mpicc --FC=mpif90 --CXX=mpicxx
Satish
On Sun, 9 Dec 2018, Amneet Bhalla via petsc-users wrote:
> Hi Folks,
>
> I upgraded GCC (GCC-5 to GCC-7) on Ubuntu following the first suggestion
> given here:
> https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91
>
> I then removed system mpich (which was using GCC-5) and reinstalled it
> using Ubuntu package manager. However, now I am getting the following
> configure error with PETSc
>
> ===============================================================================
>
> TESTING: CxxMPICheck from
> config.packages.MPI(config/BuildSystem/config/packages/MPI.py:381)
>
>
> *******************************************************************************
>
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> details):
>
> -------------------------------------------------------------------------------
>
> C++ error! mpi.h could not be located at: []
> *******************************************************************************
>
>
>
> I am attaching the configure.log as well. Any hints on what I should be
> doing?
>
> Thanks,
>
More information about the petsc-users
mailing list