Description of problem: Test suite takes rediculous time to complete on test machine with 24 visible cpu cores because %check doesn't honor %{_smp_ncpus_max} setting Version-Release number of selected component (if applicable): quantum-espresso-5.3.0-5.el7 quantum-espresso-5.3.0-5.el6 How reproducible: Always. 12h mock timeout always stops build. Fix: %_smp_ncups_max 8 And following change to spec: diff --git a/quantum-espresso.spec b/quantum-espresso.spec index 83160b4..f3a0735 100644 --- a/quantum-espresso.spec +++ b/quantum-espresso.spec @@ -322,6 +322,10 @@ mv test-suite test-suite.orig MPI_SUFFIX=_serial %docheck NPROC=`cat /proc/cpuinfo | grep processor | wc -l` +%if 0%{?_smp_ncpus_max} +[ ${NPROC} -gt %{?_smp_ncpus_max} ] && NPROC=%{?_smp_ncpus_max} +%endif +export NPROC # all parallel tests use mpirun sed -i '/unset PARA_PREFIX/d' environment_variables
Forgot to add 5.3.0-7.* versions are affected too.
quantum-espresso-5.3.0-8.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9f04d158ef
quantum-espresso-5.3.0-8.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-72ad34fd5f
quantum-espresso-5.3.0-8.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-109b4f4605
quantum-espresso-5.3.0-8.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e2250a6387
In this case I think it is better to hard-limit the number of processes used for tests to 2. 8 might be already slowing down the tests if one uses hyperthreading on 4 physical cores.
Very true. Thank you.
quantum-espresso-5.3.0-8.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-72ad34fd5f
quantum-espresso-5.3.0-8.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9f04d158ef
quantum-espresso-5.3.0-8.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e2250a6387
quantum-espresso-5.3.0-8.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-109b4f4605
quantum-espresso-5.3.0-8.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
quantum-espresso-5.3.0-8.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
quantum-espresso-5.3.0-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
quantum-espresso-5.3.0-8.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.