[mesa-users] parallel make

Michael Zingale michael.zingale at stonybrook.edu
Wed Dec 3 14:14:28 EST 2014


you need to have your dependencies specified correctly.  We have our
Makefile build the dependency list first and then it is always up to date.
Then make can do things in parallel as needed.  I wrote a simple F90
dependency script a while back:

http://astro.sunysb.edu/mzingale/software/dep.py

This is similar in spirit to the one that is wired into the Makefile for
our code (Maestro).



On Wed, Dec 3, 2014 at 2:11 PM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:

>
> On Dec 3, 2014, at 11:08 AM, Michael Zingale wrote:
>
> I usually do a 'make -j 4' or higher to do 4 tasks at once.  Are you not
> doing that?
>
>
> Hi Mike,
>
> Do you need to do anything special about dependencies?
>
> I have well over 100 files to compile with lots of dependencies (A must be
> compiled before B sort of things).
> That impacts how the tasks will be defined.
> Do you do the task partitioning by hand?  Or is there a tool to do that
> part too?
>
> -Bill
>
>
>
>
>


-- 
Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
11794-3800
*phone*:  631-632-8225
*e-mail*: Michael.Zingale at stonybrook.edu
*web*: http://www.astro.sunysb.edu/mzingale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141203/2353bb89/attachment.html>


More information about the Mesa-users mailing list