[Mesa-users] Error message while compiling MESA
Lucero Uscanga
luscag at gmail.com
Sun Aug 25 11:56:45 EDT 2019
Dear Josiah,
Thank you very much for your reply! You were right, Ehsan's work
directories include modified versions of
run_star_extras.f, with several subroutines. I have changed it to the
unmodified version of
run_star_extras.f in r11701. Now, it compiles. But, when I type ./rn, I get
this message:
Luceros-MacBook-Air:work lucero.uscanga$ ./rn
Sun Aug 25 10:48:30 CDT 2019
version_number 11701
read inlist_exercise
Failed while trying to read control namelist file: inlist_exercise
Perhaps the following runtime error message will help you find the problem.
At line 709 of file ../private/ctrls_io.f90 (unit = 29, file =
'inlist_exercise')
Fortran runtime error: Cannot match namelist object name photostep
Error termination. Backtrace:
#0 0x14196a4ed
#1 0x14196b185
#2 0x14196b919
#3 0x141b5edcb
#4 0x141b67ee7
#5 0x141b68148
#6 0x1093163f1
#7 0x109300d92
#8 0x109316483
#9 0x1093164e5
#10 0x1096b7f82
#11 0x1096b8cb8
#12 0x109288963
#13 0x1092889f7
#14 0x109288a30
Sun Aug 25 10:48:31 CDT 2019
Could you please give me an advice to solve this issue?
Thank you for your help!
Best regards,
Lucero.
On Sat, Aug 24, 2019 at 7:54 PM Josiah Schwab <jwschwab at ucsc.edu> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190825/c9bdd559/attachment.html>
More information about the Mesa-users
mailing list