#6283: [with patches, needs review] Make it so NUM_THREADS is set intelligently
instead of idiotically in makefile so doing "make ptest" or "make
ptestlong" doesn't kill some computers
---------------------+------------------------------------------------------
Reporter: was | Owner: jhpalmieri
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.1.2
Component: doctest | Keywords:
Reviewer: | Author: John Palmieri
Merged: |
---------------------+------------------------------------------------------
Changes (by newvalueoldvalue):
* owner: tbd => jhpalmieri
* status: new => assigned
* author: => John Palmieri
Comment:
I'm not sure what "intelligently" means, but here is a patch which sets it
to be the number of processors, as detected by
{{{multiprocessing.cpu_count()}}}. This also changes the command {{{sage
-tp N <files>}}}: if N is 0, then replace it with the number of
processors.
This depends on the patch at #2624.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6283#comment:1>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---