[mesa-users] Help with a makefile

Josiah Schwab jwschwab at berkeley.edu
Fri Mar 20 10:10:43 EDT 2015


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.

Josiah




More information about the Mesa-users mailing list