#12016: parallelism in Sage: just use value of 'MAKE'
---------------------------+------------------------------------------------
   Reporter:  jhpalmieri   |          Owner:  GeorgSWeber                  
       Type:  enhancement  |         Status:  needs_work                   
   Priority:  critical     |      Milestone:  sage-4.8                     
  Component:  build        |       Keywords:                               
Work_issues:               |       Upstream:  N/A                          
   Reviewer:               |         Author:  John Palmieri, Jeroen Demeyer
     Merged:               |   Dependencies:  sage-4.8.alpha3 + #12096     
---------------------------+------------------------------------------------

Comment(by jhpalmieri):

 This looks good to me.  Is it ready for review?  Am I allowed to review it
 since I wrote early drafts of some of the patches?

 For a future ticket, it would be nice if you could set `MAKE='make -j
 -lN'`, for some reasonable choice of `N`, and have it work.  When I try
 this, I have problems with the following spkgs, and I'm not sure why:

  - zlib on OS X (2 cores) fails most of the time with `MAKE='make -j
 -l3'`. [http://sage.math.washington.edu/home/palmieri/misc/zlib-1.2.5.log
 Here's a log.]
  - singular on sage.math fails all of the time, I think, with `MAKE='make
 -j -l30'`.
 [http://sage.math.washington.edu/home/palmieri/misc/singular-3-1-3-3.p1.log
 Here's a log.]

 (The Sage spkg used to fail before the latest round of patches using the
 `-l` setting for a cap on the number of threads, and the same goes for
 parallel doctesting.  Setting `MAKE='make -j'` still causes these
 failures.  Should we just regard this setting as too dangerous, or try to
 stop the failures by putting a cap on the number of processes if `-j` is
 present but set to "unlimited" and `-l` is missing?)

 These failures are not related to this ticket; they fail with or without
 the patches.  But the ticket makes it more appealing to just set `MAKE` as
 above.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12016#comment:34>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to