[Mesa-users] Error message while compiling MESA
Josiah Schwab
jwschwab at ucsc.edu
Sat Aug 24 20:54:14 EDT 2019
Hi Lucero,
> I am trying to use other files from a Lab in Stellar Structure and
> Evolution designed by Dr. Ehsan Moravveji. These files were written
> for a previous version of MESA (mesa-r6794).
>
> When I run the program, I get the following error message:
>
> ...
>
> */Users/lucero.uscanga/Software/mesa-r11701/star/job/run_star.f:24:12:*
>
>
> extras_controls, &
>
> *1*
>
> *Error:* Interface mismatch in dummy procedure '*extras_controls*' at (1):
> Type mismatch in argument 'id' (INTEGER(4)/TYPE(star_info))
>
> make: *** [run_star.o] Error 1
>
>
> FAILED
I assume Ehsan's work directories include modified versions of
run_star_extras.f. The run_star_extras.f files from r6794 are not
compatible with r11701. The call signatures of some of the routines
changed, which is what the compiler is complaining about.
Unfortunately, the easiest solution for you if you want to use the
current MESA release is probably to start from an unmodified
run_star_extras.f in r11701 and then copy over the relevant
customizations from the run_star_extras in Ehsan's work directories.
Alternatively, you could teach using r6794, though that could come with
its own set of difficulties. It can be slightly challenging to run
older MESA versions with current compilers / OSes.
Josiah
More information about the Mesa-users
mailing list