Error Reported When the make Command Is Run During ABINIT Compilation
Symptom
The error message "File 'mpi.mod' opened at (1) is not a GNU Fortran module file" is displayed when you run the make command to compile ABINIT.
Key Process and Cause Analysis
This error occurs because the GCC and Open MPI compiler versions do not match.
Conclusion and Solution
Unifying the compilers used by Open MPI and ABINIT can solve the problem.
During the installation, Open MPI, BLAS-LAPACK, and NetCDF must use the same compiler. Otherwise, errors may occur.