[mesa-users] adipack.c/gensr/ofiles.f question
Michael Thompson
mjt at ucar.edu
Sun Jan 29 13:13:58 EST 2017
Dear Rich
Thanks for your response.
Problem resolved: I was failing to link in the function "length" from
adipack's gensr directory, and in at least one attempt was also using an
old version of ofiles.f where a call to system function "time" was not
commented out.
I shall certainly try GYRE !
Best wishes, Michael
----------------------------------
Michael J. Thompson
NCAR
----------------------------------
On Sat, Jan 28, 2017 at 11:41 PM, RICHARD H D TOWNSEND <
townsend at astro.wisc.edu> wrote:
> Hi Mike —
>
> I suggest you contact Jorgen Christensen-Dalsgaard with this issue — he’s
> in charge of ADIPLS.
>
> Alternatively, you could try working with GYRE instead ;)
>
> cheers,
>
> Rich
>
> > On Jan 29, 2017, at 12:06 AM, Michael Thompson <mjt at ucar.edu> wrote:
> >
> > Not specifically a MESA question, but I'm trying to compile and run the
> ofiles.f file included in the adipls/adipack.c/gensr directory of the
> mesa-r8845 distribution of MESA. I'm working under Mac OS X El Capitan
> (version 10.11.6) and am getting a link-time set of error messages:
> >
> > Undefined symbols for architecture x86_64:
> > "_length_", referenced from:
> > _openf_ in ofiles.o
> > _openfc_ in ofiles.o
> > _dmpfil_ in ofiles.o
> > "_time_", referenced from:
> > _openf_ in ofiles.o
> > ld: symbol(s) not found for architecture x86_64
> > collect2: error: ld returned 1 exit status
> >
> > I'm running GNU fortran compiler gfortran.
> >
> > I can produce the errors above with a trivial main program test.f:
> >
> > call ofiles
> > call openf(14,'o','u')
> > stop
> > end
> >
> > Any help appreciated.
> >
> > Best wishes, Michael Thompson
> >
> > ----------------------------------
> > Michael J. Thompson
> > NCAR
> > ----------------------------------
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot______
> _________________________________________
> > 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/20170129/5be3f926/attachment.html>
More information about the Mesa-users
mailing list