tests/proc/test_comp_utils.py::TestParallelCompute::test_invalid_func_type PASSED [ 78%]
tests/proc/test_comp_utils.py::TestParallelCompute::test_respect_requested_cores Number of CPU free cores set to: 1 given that the CPU has 1 logical cores.
2 cores requested.
Clipped explicit request for CPU cores to: 1
computational jobs per core = 30. For short computations, each core must have at least 20 jobs to warrant parallel computation.
Computations are not lengthy.
Rank 0 starting computing on 1 cores (requested 2 cores)
Rank 0 computing serially ...
jmcarpenter2/swifter#102 solved a similar issue by skipping such tests when not enough cores were available.
to reproduce on openSUSE or Debian:
osc co openSUSE:Factory/python-sidpy &&cd$_
osc build --vm-type=kvm -j1 --noservice standard
Maybe the issue can also be triggered via taskset 1 pytest-3.8
The text was updated successfully, but these errors were encountered:
@bmwiedemann - thank you for raising this issue. I have added appropriate safeguards for single core computations. We will be pushing out a new version with these fixes very soon.
May I ask why sidpy is being included in OpenSUSE?
While working on reproducible builds for openSUSE, I found that our
python-sidpypackage fails tests on a 1-core VMjmcarpenter2/swifter#102 solved a similar issue by skipping such tests when not enough cores were available.
to reproduce on openSUSE or Debian:
Maybe the issue can also be triggered via
taskset 1 pytest-3.8The text was updated successfully, but these errors were encountered: