PETSc

Error running configure on MPICH

With GCC 10 and later, when using PETSc to install MPICH, you may encounter a failure that reads,

Error running configure on MPICH

Inspection of src/configure.log should reveal,

error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.

One way to get around this is to add,

--FFLAGS="-fallow-argument-mismatch"

to the list of arguments when running config/configure.py.