Page 2 of 2

Re: build_poly executable under GYRE 5.2 missing

Posted: Mon Nov 25, 2019 11:32 pm
by Starfighter
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.

Re: build_poly executable under GYRE 5.2 missing

Posted: Sat Jun 13, 2020 9:07 am
by skhan
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