[mesa-users] Help with a makefile
Ehsan Moravveji
e.moravveji at gmail.com
Fri Mar 20 07:57:45 EDT 2015
Dear users,
I hope you had a chance to enjoy the amazing solar eclipse today :-)
I would like to experiment with the opacity tables, and use the mesa/kap/ as a stand-alone module.
As a start, 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
I would be grateful if someone kindly take a minute to look into my makefile and the short program (both attached), and correct my possible mistake(s) there.
Happy spring (Persian new year).
Ehsan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen_tables.f90
Type: application/octet-stream
Size: 160 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150320/6adb0979/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 1154 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150320/6adb0979/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen_kap_tables.zip
Type: application/zip
Size: 2675 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150320/6adb0979/attachment.zip>
More information about the Mesa-users
mailing list