Changes between Version 4 and Version 5 of Ticket #23892


Ignore:
Timestamp:
09/20/17 11:56:32 (4 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23892

    • Property Summary changed from Various doctest failures if pynormaliz is installed to Run doctests with OMP_NUM_THREADS=2
    • Property Authors changed from to Jeroen Demeyer
  • Ticket #23892 – Description

    v4 v5  
    1 {{{
    2 sage -t --long --warn-long 63.7 src/sage/graphs/generic_graph.py  # Killed due to segmentation fault
    3 sage -t --long --warn-long 63.7 src/sage/crypto/mq/sr.py  # Killed due to abort
    4 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/tensor_product_kr_tableaux.py  # Bad exit: 1
    5 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/rigged_configurations.py  # Bad exit: 127
    6 sage -t --long --warn-long 63.7 src/sage/combinat/crystals/kirillov_reshetikhin.py  # Bad exit: 1
    7 sage -t --long --warn-long 63.7 src/sage/structure/sage_object.pyx  # Killed due to abort
    8 sage -t --long --warn-long 63.7 src/sage/rings/polynomial/multi_polynomial_sequence.py  # Killed due to abort
    9 sage -t --long --warn-long 63.7 src/sage/rings/polynomial/pbori.pyx  # Killed due to segmentation fault
    10 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/rigged_configuration_element.py  # Bad exit: 1
    11 sage -t --long --warn-long 63.7 src/sage/crypto/sbox.py  # Killed due to abort
    12 sage -t --long --warn-long 63.7 src/sage/graphs/base/graph_backends.pyx  # Killed due to segmentation fault
    13 sage -t --long --warn-long 63.7 src/sage/rings/polynomial/multi_polynomial_libsingular.pyx  # Killed due to segmentation fault
    14 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/bij_type_B.py  # Bad exit: 1
    15 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/tensor_product_kr_tableaux_element.py  # Bad exit: 2
    16 sage -t --long --warn-long 63.7 src/sage/crypto/boolean_function.pyx  # Killed due to abort
    17 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/kleber_tree.py  # Bad exit: 127
    18 sage -t --long --warn-long 63.7 src/sage/combinat/crystals/affinization.py  # Bad exit: 1
    19 sage -t --long --warn-long 63.7 src/sage/structure/category_object.pyx  # Killed due to abort
    20 sage -t --long --warn-long 63.7 src/sage/combinat/crystals/tensor_product_element.pyx  # Bad exit: 127
    21 sage -t --long --warn-long 63.7 src/sage/combinat/rigged_configurations/bij_type_E67.py  # Bad exit: 1
    22 sage -t --long --warn-long 63.7 src/sage/geometry/polyhedron/backend_normaliz.py  # Bad exit: 127
    23 sage -t --long --warn-long 63.7 src/sage/sat/solvers/dimacs.py  # Killed due to abort
    24 sage -t --long --warn-long 63.7 src/doc/en/reference/sat/index.rst  # Killed due to abort
    25 sage -t --long --warn-long 63.7 src/sage/sat/boolean_polynomials.py  # Killed due to abort
    26 sage -t --long --warn-long 63.7 src/sage/rings/polynomial/polynomial_ring_constructor.py  # Killed due to abort
    27 sage -t --long --warn-long 63.7 src/sage/sat/converters/polybori.py  # Killed due to abort
    28 }}}
     1The `normaliz` package uses OMP for threading, which can create many threads. In doctests, this is bad for two reasons:
    292
    30 The cause seems to be the same as #23879: `pynormaliz` requires a very large amount of memory (more than what #23748 allows).
     31. Doctests should not use an unexpectedly large number of system resources.
     4
     52. When there are too many threads, the virtual memory limit from #23748 will be hit.
     6
     7There is a solution: set the environment variable `OMP_NUM_THREADS=2` while doctesting.