Changes between Initial Version and Version 1 of Ticket #23713


Ignore:
Timestamp:
09/04/17 11:51:44 (5 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23713

    • Property Summary changed from Parallel map/reduce doctests fail on machine with lots of CPUs to Support SAGE_NUM_THREADS_PARALLEL in parallel map/reduce
  • Ticket #23713 – Description

    initial v1  
    1 The number of files that the parallel map/reduce doctests requires is `O(N)` where `N` is the number of processors, while the number of open files allowed is typically `O(1)`. So, on a machine with 192 processors:
     1The number of files that the parallel map/reduce doctests requires is `O(N)` where `N` is the number of processors, while the number of open files allowed is typically fixed. So, on a machine with 192 processors:
    22{{{
    33sage -t --long --warn-long 91.0 src/sage/parallel/map_reduce.py
     
    3636}}}
    3737
    38 A simple solution would be to restrict the number of processors while doctesting.
     38Apart from this, this doctest should not start too much processes. I suggest to set the ''default'' number of processors to the environment variable `SAGE_NUM_THREADS_PARALLEL`, which is precisely meant for that purpose.