build_poly executable under GYRE 5.2 missing

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
User avatar
Starfighter
Posts: 9
Joined: Sun Jan 07, 2018 9:19 pm

build_poly executable under GYRE 5.2 missing

Post by Starfighter » Sat Nov 09, 2019 1:49 am

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.
Last edited by Starfighter on Sat Nov 09, 2019 2:07 am, edited 1 time in total.

User avatar
warrick
Posts: 84
Joined: Wed Aug 28, 2013 2:47 am

Re: build_poly executable under GYRE 5.2 missing

Post by warrick » 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.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: build_poly executable under GYRE 5.2 missing

Post by rhtownsend » Mon Nov 11, 2019 10:39 am

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).

User avatar
Starfighter
Posts: 9
Joined: Sun Jan 07, 2018 9:19 pm

Re: build_poly executable under GYRE 5.2 missing

Post by Starfighter » Tue Nov 19, 2019 1:37 am

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.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: build_poly executable under GYRE 5.2 missing

Post by rhtownsend » Tue Nov 19, 2019 8:14 am

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

User avatar
Starfighter
Posts: 9
Joined: Sun Jan 07, 2018 9:19 pm

Re: build_poly executable under GYRE 5.2 missing

Post by Starfighter » Mon Nov 25, 2019 2:18 am

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.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: build_poly executable under GYRE 5.2 missing

Post by rhtownsend » Mon Nov 25, 2019 9:40 am

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

User avatar
Starfighter
Posts: 9
Joined: Sun Jan 07, 2018 9:19 pm

Re: build_poly executable under GYRE 5.2 missing

Post by Starfighter » Mon Nov 25, 2019 10:08 am

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.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: build_poly executable under GYRE 5.2 missing

Post by rhtownsend » Mon Nov 25, 2019 10:30 am

OK, next step: post output from 'ls -l /Applications/madsdk/include'

cheers,

Rich

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: build_poly executable under GYRE 5.2 missing

Post by rhtownsend » Mon Nov 25, 2019 10:32 am

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

Post Reply