[mesa-users] Using kap module in another program
Aaron Dotter
aaron.dotter at gmail.com
Mon Oct 19 15:59:23 EDT 2015
Hi Roni,
I highly recommend, if possible, to include makefile_header in your
makefile and follow the kap test makefile as an example.
Aaron
On Monday, October 19, 2015, Roni Waldman <roni181066 at gmail.com> wrote:
> Hi all,
>
> In continuation to this issue, I followed the example, and succeeded in
> compiling and running a simple program that calls the kap package in a
> separate directory.
> Now I am trying to link the kap package to an existing outside program,
> and I get a series of messages of the sort:
>
> /home/waldman/mesa-r7624/lib/libkap.a(kap_lib.o): In function
> `__kap_lib_MOD_kap_get_blend_1_2':
> kap_lib.f90:(.text+0x37b): undefined reference to
> `_gfortran_transfer_character_write'
>
> I suppose I lack some compiler directives which are present in the mesa
> makefiles, but absent in my program's makefiles.
> Any help on where to look?
>
> Thanks,
> Roni
>
> On Tue, Oct 13, 2015 at 4:25 PM Roni Waldman <roni181066 at gmail.com
> <javascript:_e(%7B%7D,'cvml','roni181066 at gmail.com');>> wrote:
>
>> Got it, will download the whole thing.
>> Thanks,
>> Roni
>>
>> On Tue, Oct 13, 2015 at 4:24 PM Josiah Schwab <jwschwab at berkeley.edu
>> <javascript:_e(%7B%7D,'cvml','jwschwab at berkeley.edu');>> wrote:
>>
>>> Hi Roni
>>>
>>> > This is indeed very helpful. Is there a simple way to download only
>>> > what is needed for the kap package, or should I download the entire
>>> > MESA code for this?
>>>
>>> It is likely easier to just download all of MESA, but you can browse the
>>> source tree and download files one-by-one at
>>>
>>> http://sourceforge.net/p/mesa/code/7624/tree/trunk/kap/
>>>
>>> Hope that helps,
>>> Josiah
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20151019/67538d4f/attachment.html>
More information about the Mesa-users
mailing list