[mesa-users] Help with a makefile
Ehsan Moravveji
e.moravveji at gmail.com
Fri Mar 20 10:25:18 EDT 2015
> On 20 Mar 2015, at 15:10, Josiah Schwab <jwschwab at berkeley.edu> wrote:
>
> Hi Ehsan,
>
>> I wrote a simple makefile that links to the mesa/lib/libconst.a and a
>> program to “use” const_def, and print out the standard_cgrav value.
>> Unfortunately, it compiles without error, but returns a value of zero;
>> well, my naive guess is that it should return the correct value as
>> defined in const_def.f90
>
> No time to look at this in detail, but I think its zero because you
> haven't called const_init.
>
Hmmmm ….
Very interesting new change that I was not aware of.
Thanks Josiah solving my issue.
Best
Ehsan.
> Josiah
More information about the Mesa-users
mailing list