Page 1 of 2

build_poly executable under GYRE 5.2 missing

Posted: Sat Nov 09, 2019 1:49 am
by Starfighter
Installing GYRE 5.2 on an iMac Pro running Mac OS X 10.14.6 (Mojave) in preparation for transitioning to Mac OS X 10.15 (Catalina). In the subdirectory /gyre/bin, the executable build_poly is missing. What do I need to do to nave this executable installed?

Please advise.

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 11, 2019 4:31 am
by warrick
If I'm not mistaken, `build_poly` is only created if you build GYRE with the MAD SDK, not just the MESA SDK. The former includes libraries for solving ODEs (ODEPACK) that aren't included in the latter.

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 11, 2019 10:39 am
by rhtownsend
warrick wrote:
Mon Nov 11, 2019 4:31 am
If I'm not mistaken, `build_poly` is only created if you build GYRE with the MAD SDK, not just the MESA SDK. The former includes libraries for solving ODEs (ODEPACK) that aren't included in the latter.
That's correct. But please note that I need to fix an issue in the current Mad SDK for MacOS, that prevents this working properly (a linker script is missing). I'll post to this thread once the issue is fixed (hopefully by the end of the day).

Re: build_poly executable under GYRE 5.2 missing

Posted: Tue Nov 19, 2019 1:37 am
by Starfighter
Thank you, gentlemen, for responding to my post. As pf the date of this note, I haven't seen an update tp MAD SDK posted. Please post to this thread when the updated sdk is available.

Again, thank you responding.

Re: build_poly executable under GYRE 5.2 missing

Posted: Tue Nov 19, 2019 8:14 am
by rhtownsend
Oops, forgot to post about the update. It's there -- re-download the SDK and proceed (I didn't change the version number because I want to remain in sync with the MESA SDK).

cheers,

Rich

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 2:18 am
by Starfighter
I re-downloaded madsdk and attempted to use both mesasdk and madsdk in building Gyre. The installation failed with the following error message:

make[2]: *** No rule to make target `odepack.mod', needed by `gyre_lane_emden.o'. Stop.
(base) Samuels-Mac-Pro:gyre user$

Please advise.

Sam Dupree.

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 9:40 am
by rhtownsend
Hi Sam --

Can you try running 'make clean' before you do 'make'.

If that doesn't work, please post the output from the command 'madsdk_odepack_link'.

cheers,

Rich

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 10:08 am
by Starfighter
Entered "make clean" followed by "make" and I still get the same error message as in my previous post.

The output I got from entering madsdk_odepack_link follows:

(base) Samuels-Mac-Pro:gyre user$ madsdk_odepack_link
/Applications/madsdk/lib/libodepack.a -L/Applications/madsdk/lib -lblas
(base) Samuels-Mac-Pro:gyre user$

Please advise,

Sam Dupree.

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 10:30 am
by rhtownsend
OK, next step: post output from 'ls -l /Applications/madsdk/include'

cheers,

Rich

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 10:32 am
by rhtownsend
Actually, hang on a moment -- can you try setting MESASDK_ROOT to /Applications/madsdk ?

FYI, you don't need the MESA SDK installed at the same time as the Mad SDK; but you do need MESASDK_ROOT pointing to the same directory as MADSDK_ROOT.

cheers,

Rich