[mesa-users] Fatal Error: Wrong module version for star_lib.mod

Josiah Schwab jwschwab at berkeley.edu
Tue Apr 17 00:57:36 EDT 2012


> I did not get much wiser from googling this error message.   I tried using an older version of my compiler on my system, GNU Fortran (GCC) 4.4.4,  gives similar warnings.   Would it be worthwhile upgrading my fortran compiler to 4.6 or 4.7?  

MESA requires an up-to-date fortran compiler as it uses features from Fortran 2003.  My impression is that it won't work with anything except gfortran 4.6 or 4.7.  Personally, I use gfortran 4.7.0.

> Wrong module version '7' (expected '4')


I'm pretty sure those #'s tell me that you had *previously* compiled the code with at least gfortran 4.6 and now you're trying to use an *older* version.

So I bet if you can even get back to compiler you were using a couple weeks ago you'll be ok.

Also, from the activity I've seen on this list, it seems as if many users are switching over to the MESA SDK in order to avoid having to worry about compiler versions, etc. You might want to give that a try.

For details, visit
http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk

Josiah



More information about the Mesa-users mailing list