[mesa-users] Why extras_controls compile error?

Bill Paxton paxton at kitp.ucsb.edu
Mon Aug 24 13:32:10 EDT 2015


Hi,

The error message indicates that there is a problem with the 1st arg to extras_controls -- type mismatch of integer vs type(star_info).
The recent versions of mesa have passed a integer "id" as the 1st arg, while older versions passed the star_info pointer "s".

So you need to get a version of the demo code that matches the version of mesa you are using.

-Bill



On Aug 24, 2015, at 10:09 AM, Robert Farmer wrote:

> Hi
> Did MESA compile successfully before you started the tutorial? ie following http://mesa.sourceforge.net/prereqs.html
> 
> Rob
> 
> On Mon, Aug 24, 2015 at 3:41 AM, 无心 <63825174 at qq.com> wrote:
> Hi,
>  
> When i want to make code according to your tutorial "beyond inlists(extending MESA), How do you extend MESA?" on the website, i meet compile error like belows:
>  
> [root at RedHat tutorial]# ./mk
> .....
> /mesa-r7624/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
>  
> What's wrong with it? How can i do next? The code is just like what on your website tell me to do.
> Hope to hear from you soon and thank you for your help in advance!
>  
> Chen DanDan
>  
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150824/8f424315/attachment.html>


More information about the Mesa-users mailing list