File ‘mpi.mod’ opened at (1) is not a GNU Fortran module file
<p>I'm trying to compile RegCM4.5 my configuration looks like have no errors but while compiling (by <code>make</code> command) I get this error </p>

<pre><code>File ‘mpi.mod’ opened at (1) is not a GNU Fortran module file
</code></pre>

<p>I have installed <code>mpich</code> by <code>dnf install</code> package manager. How can I solve this problem?</p>