https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108641
--- Comment #2 from weilomg <weilongzhang0538 at foxmail dot com> --- (In reply to Andrew Pinski from comment #1) > >Fatal Error: Wrong module version '6' (expected '5') for file 'sizes.mod' > >opened at (1) > > > This means the modules you are using was compiled with a newer version of > Gfortran. > I think you should ask where you got the module from what exact version of > GCC/gfortran is for their library. THANKS! according the message from MPI———" MODULE MPI_SIZEOFS ! This module contains the definitions for MPI_SIZEOF for the ! predefined, named types in Fortran 90. This is provided ! as a separate module to allow MPI_SIZEOF to supply the ! basic size information even when we do not provide the ! arbitrary choice types IMPLICIT NONE" 。 AND my MY Fortran is 95 。maybe is reason,it is just my guess。 Thank you for your advice, but is there a difference between the 95 and 90 versions of fortran? I would like to check again (In reply to Andrew Pinski from comment #1) > >Fatal Error: Wrong module version '6' (expected '5') for file 'sizes.mod' > >opened at (1) > > > This means the modules you are using was compiled with a newer version of > Gfortran. > I think you should ask where you got the module from what exact version of > GCC/gfortran is for their library. THANKS! according the message from MPI———" MODULE MPI_SIZEOFS ! This module contains the definitions for MPI_SIZEOF for the ! predefined, named types in Fortran 90. This is provided ! as a separate module to allow MPI_SIZEOF to supply the ! basic size information even when we do not provide the ! arbitrary choice types IMPLICIT NONE" 。 AND my MY Fortran is 95 。maybe is reason,it is just my guess。 Thank you for your advice, but is there a difference between the 95 and 90 versions of fortran? I would like to check again