amusecode / amuse

Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
http://www.amusecode.org
Apache License 2.0
155 stars 98 forks source link

How to build mesa without DOWNLOAD_CODES=1? #899

Closed rjfarmer closed 1 year ago

rjfarmer commented 1 year ago

With the change in 301b85df889 to remove DOWNLOAD_CODES=1, what is the way to download and build mesa now?

I use to do:

    pip install -e .
    python setup.py develop_build
    make mesa.code DOWNLOAD_CODES=1

Without DOWNLOAD_CODES=1 then just running make mesa.code does not seem to trigger the download target in mesa_15140's Makefile. So we don't get the dependencies built (but it does try to run the $(MESA_LIB) target for installing mesa itself).

Though it doesn't seem obvious why things have failed now (i can't be sure when things broke it may/may not have been the removal of DOWNLOAD_CODES)

rjfarmer commented 1 year ago

Okay this seems to be an intermittent issues as I haven't been able to reproduce the problem