As the message suggests - you don't have MPI installed - so run: ./configure --download-hypre --download-mpich
Satish On Tue, 20 Nov 2018, Fazlul Huq via petsc-users wrote: > Hello PETSc Developers, > > I am trying to configure PETSc with ./configure --download-hypre > but I got the following message on terminal: > > ======================================================================== > Configuring PETSc to compile on your system > > ========================================================================= > TESTING: check from > config.libraries(config/BuildSystem/config/libraries.py:158) > > ******************************************************************************* > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for > details): > ------------------------------------------------------------------------------- > Unable to find mpi in default locations! > Perhaps you can specify with --with-mpi-dir=<directory> > If you do not want MPI, then give --with-mpi=0 > You might also consider using --download-mpich instead > ******************************************************************************* > > The log file is attached herewith. > > Thanks. > Sincerely, > Huq >