VASP 6.5.0
The makefile.include for 6.4.3 is used for 6.5.0 and this error popsup, specifically for elphon which is a new feature in this. No this sort of error "mpi.mod" for 6.4.3 but for this particular verison?
mpif90 -ffree-form -ffree-line-length-none -w -ffpe-summary=none -march=native -O2 -I/usr/local/include -I/home/ahsan.javed/data/codes/libxc/include -c elphon_derivative.f90
elphon_derivative.F:566:13:
566 | use mpi, only: MPI_COMM_SELF
| 1
Fatal Error: Cannot read module file ‘mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
make[2]: *** [makefile:195: elphon_derivative.o] Error 1