https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108641
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Component|debug |fortran --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >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.