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

Re: build_poly executable under GYRE 5.2 missing

Post by Starfighter » Mon Nov 25, 2019 11:32 pm

I was able to build the build_poly executable when setting the environmental variable MESASDK_ROOT=/Applications/madsdk. Furthermore, I was able to run make test successfully.

The question I now have is why setting MESASDK_ROOT to /Applications/madsdk caused build_poly to be built?

Sam Dupree.

skhan
Posts: 1
Joined: Fri Jun 12, 2020 5:25 pm

Re: build_poly executable under GYRE 5.2 missing

Post by skhan » Sat Jun 13, 2020 9:07 am

Hi all,

I was having a similar problem on Linux (Ubuntu 16.04). Even after installing Mad SDK, the build_poly executable would still be missing.

In case there are other people struggling with this as well, I am sharing a message from Rich (thanks again!), which quickly solved the issue for me.
In fact, you no longer need the Mad SDK -- the most recent release of the MESA SDK [March 25 2020; includes ODEPACK library] should suffice. However, you will have to make one change to the GYRE build system: open the file $GYRE_DIR/src/build/Makefile, and change all occurrences of 'madsdk_odepack_link' to 'odepack_link' (i.e., delete the 'madsdk_' prefix).

Then, run 'make clean' and 'make' from $GYRE_DIR.
Cheers,
Saniya

Post Reply