From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25DE913835A for ; Sun, 27 Dec 2020 12:48:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AE832BC06E; Sun, 27 Dec 2020 12:48:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36EC62BC06E for ; Sun, 27 Dec 2020 12:48:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C14E341175 for ; Sun, 27 Dec 2020 12:48:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 527E547F for ; Sun, 27 Dec 2020 12:48:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1608981612.62e7da4eeb6a27defbb7a4cfd3e01c510839738f.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/dlb/Manifest sys-cluster/dlb/dlb-2.1.ebuild sys-cluster/dlb/metadata.xml X-VCS-Directories: sys-cluster/dlb/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 62e7da4eeb6a27defbb7a4cfd3e01c510839738f X-VCS-Branch: master Date: Sun, 27 Dec 2020 12:48:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d74f6dd9-f7fa-40ed-8fd4-46286f3c0f9f X-Archives-Hash: 76cc4800b2a5bba519171badbf95eae7 commit: 62e7da4eeb6a27defbb7a4cfd3e01c510839738f Author: Alessandro Barbieri gmail com> AuthorDate: Thu Dec 24 12:01:55 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Dec 26 11:20:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62e7da4e sys-cluster/dlb: new package help wanted in fixing python bindings Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/dlb/Manifest | 1 + sys-cluster/dlb/dlb-2.1.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++++ sys-cluster/dlb/metadata.xml | 31 +++++++++++++++++++ 3 files changed, 99 insertions(+) diff --git a/sys-cluster/dlb/Manifest b/sys-cluster/dlb/Manifest new file mode 100644 index 00000000..1c0cae12 --- /dev/null +++ b/sys-cluster/dlb/Manifest @@ -0,0 +1 @@ +DIST dlb-2.1.tar.gz 1847799 BLAKE2B 5fb4b010761e9883292e22f3254669116107aff4200b96930afd80c7f9073dbceef1b5109471cb948f9f74b8d7144a14137b4ea06dbee01f9857411f144a7fc2 SHA512 6199a05188b0afbeba3401b8182be5e1c04fbfd24a1ea0360d42d0f1518323df08c925ee4529a51e0065bb6653f54ed03106e9a77daf6e30564e2a9753839597 diff --git a/sys-cluster/dlb/dlb-2.1.ebuild b/sys-cluster/dlb/dlb-2.1.ebuild new file mode 100644 index 00000000..fbd921ed --- /dev/null +++ b/sys-cluster/dlb/dlb-2.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +#PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) +inherit autotools #distutils-r1 + +DESCRIPTION="tool that will dynamically react to the application imbalance modifying the number of resources" +HOMEPAGE="https://github.com/bsc-pm/dlb" +SRC_URI="https://github.com/bsc-pm/dlb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" +#TODO: correctly install python stuff +IUSE="hwloc instrumentation mpi openmp" # python" + +DEPEND=" + hwloc? ( sys-apps/hwloc ) + mpi? ( virtual/mpi ) +" +#instrumentation ( sys-cluster/extrae ) +RDEPEND="${DEPEND}" +#REQUIRED_USE=" +# python? ( ${PYTHON_REQUIRED_USE} ) +#" + +src_prepare() { + sed -e "s|chmod +x \$(|chmod +x ${ED}/\$(|g" -i Makefile.am || die + default + eautoreconf +# if use python; then +# distutils-r1_python_prepare_all +# fi +} + +src_configure() { + local myconf=( + --disable-static + --enable-shared + --with-pic + $(use_enable instrumentation) + $(use_enable openmp) + $(use_with hwloc) + $(use_with mpi) + ) + econf "${myconf[@]}" +# if use python; then +# python_foreach_impl distutils-r1_python_install +# fi +} + +src_compile() { + default +# if use python; then +# python_foreach_impl distutils-r1_python_compile +# fi +} + +src_install() { + default +# rm -rf "${D}/usr/lib/python*" || die +# if use python; then +# python_foreach_impl distutils-r1_python_install +# fi + find "${D}" -name '*.la' -delete || die +} diff --git a/sys-cluster/dlb/metadata.xml b/sys-cluster/dlb/metadata.xml new file mode 100644 index 00000000..f7c1a6db --- /dev/null +++ b/sys-cluster/dlb/metadata.xml @@ -0,0 +1,31 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +Dynamic Load Balancing Library +DLB is a dynamic library designed to speed up HPC hybrid +applications (i.e., two levels of parallelism) by improving the load balance of the outer +level of parallelism (e.g., MPI) by dynamically redistributing the computational resources +at the inner level of parallelism (e.g., OpenMP). at run time. This dynamism allows DLB to +react to different sources of imbalance: Algorithm, data, hardware architecture and +resource availability among others. + +Lend When Idle LeWI (Lend When Idle) is the algorithm +used to redistribute the computational resources that are not being used from one process +to another process inside the same shared memory node in order to speed up its execution. + +Dynamic Resource Ownership Manager +DROM (Dynamic Resource Ownership Manager) is the algorithm used to manage the CPU affinity of a process running a shared memory programming model (e.g., OpenMP) + + + bsc-pm/dlb + + + add sys-apps/hwlocsupport + enable sys-cluster/extrae instrumentation + +