Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kokkos for openSUSE:Factory checked in at 2021-10-13 18:06:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kokkos (Old) and /work/SRC/openSUSE:Factory/.kokkos.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kokkos" Wed Oct 13 18:06:33 2021 rev:6 rq:925104 version:3.3.00 Changes: -------- --- /work/SRC/openSUSE:Factory/kokkos/kokkos.changes 2021-10-12 21:51:00.284013565 +0200 +++ /work/SRC/openSUSE:Factory/.kokkos.new.2443/kokkos.changes 2021-10-13 18:11:23.635773750 +0200 @@ -1,0 +2,10 @@ +Tue Oct 12 22:41:31 UTC 2021 - Stefan Br??ns <stefan.bru...@rwth-aachen.de> + +- Remove random constraint adjustments again, and use a global + lower limit of 6 GB of memory (minimum for the OMP tests). +- Limit the number of parallel jobs and OMP threads in the unit + tests, to keep the required memory bounded. + This way, even architectures with many cores and comparatively + low memory can build successfully. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kokkos.spec ++++++ --- /var/tmp/diff_new_pack.2Hv1Na/_old 2021-10-13 18:11:24.043774390 +0200 +++ /var/tmp/diff_new_pack.2Hv1Na/_new 2021-10-13 18:11:24.043774390 +0200 @@ -1,7 +1,7 @@ # # spec file for package kokkos # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2020 Christoph Junghans # # All modifications and additions to the file contributed by third parties @@ -33,6 +33,7 @@ BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: hwloc-devel +BuildRequires: memory-constraints %global kokkos_desc \ Kokkos Core implements a programming model in C++ for writing performance \ @@ -85,7 +86,14 @@ %cmake_install %check -LD_LIBRARY_PATH="%{buildroot}/%{_libdir}:$PWD/build/core/unit_test:${LD_LIBRARY_PATH}" make -C build test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs} +# OpenMP tests need quite some memory, run up to two tests in parallel, each with half the cores +%limit_build -m 1600 +export OMP_NUM_THREADS=$((%{jobs} / 2)) +# Recommended for unit tests +export OMP_PROC_BIND=false +export LD_LIBRARY_PATH="%{buildroot}/%{_libdir}:$PWD/build/core/unit_test:${LD_LIBRARY_PATH}" +%ctest --parallel 1 --tests-regex KokkosContainers_UnitTest_OpenMP --timeout 3600 +%ctest --parallel 2 --exclude-regex KokkosContainers_UnitTest_OpenMP %post -n libkokkos%sover -p /sbin/ldconfig %postun -n libkokkos%sover -p /sbin/ldconfig ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.2Hv1Na/_old 2021-10-13 18:11:24.063774421 +0200 +++ /var/tmp/diff_new_pack.2Hv1Na/_new 2021-10-13 18:11:24.067774428 +0200 @@ -1,32 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <constraints> <hardware> - <memoryperjob> - <size unit="G">2</size> - </memoryperjob> - </hardware> - <overwrite> - <conditions> - <arch>aarch64</arch> - </conditions> - <hardware> - <memoryperjob> - <size unit="G">3</size> - </memoryperjob> - </hardware> - </overwrite> - <overwrite> - <conditions> - <arch>ppc64</arch> - <arch>ppc64le</arch> - </conditions> - <hardware> - <memoryperjob> - <size unit="G">1</size> - </memoryperjob> <memory> - <size unit="G">10</size> + <size unit="G">6</size> </memory> - </hardware> - </overwrite> + </hardware> </constraints> \ No newline at end of file