I got an error message when installing PETSc with a clang compiler. Could you please help me find the problem? The configure.log is attached.
=============================================================================================
Configuring PETSc to compile on your system
=============================================================================================
=============================================================================================
***** WARNING: Using default optimization C flags -g -O3
You might consider manually setting optimal optimization flags for your system with
COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples
============================================================================================= =============================================================================================
***** WARNING: Using default Cxx optimization flags -g -O3
You might consider manually setting optimal optimization flags for your system with
CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples
============================================================================================= =============================================================================================
***** WARNING: Using default FORTRAN optimization flags -O
You might consider manually setting optimal optimization flags for your system with
FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples
============================================================================================= =============================================================================================
Trying to download https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.gz for
============================================================================================= =============================================================================================
Running configure on OPENMPI; this may take several minutes
============================================================================================= =============================================================================================
Running make on OPENMPI; this may take several minutes
=============================================================================================
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Error running make; make install on OPENMPI
*******************************************************************************