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 5B7A1139351 for ; Tue, 27 Jul 2021 19:57:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EBC8E0875; Tue, 27 Jul 2021 19:57:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 6AF70E0875 for ; Tue, 27 Jul 2021 19:57:24 +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 78A11342C2C for ; Tue, 27 Jul 2021 19:57:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9C2984F for ; Tue, 27 Jul 2021 19:57:20 +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: <1627342122.2b44e6d66b0f89e110d6b64aec0dde1d842c44b8.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/SIONfwd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/SIONfwd/Manifest sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild sys-cluster/SIONfwd/metadata.xml X-VCS-Directories: sys-cluster/SIONfwd/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2b44e6d66b0f89e110d6b64aec0dde1d842c44b8 X-VCS-Branch: master Date: Tue, 27 Jul 2021 19:57:20 +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: d5ec872f-154f-4311-9711-d1b3b5bcdeb9 X-Archives-Hash: d4de95537e2da4d032cc1c102f78b80a commit: 2b44e6d66b0f89e110d6b64aec0dde1d842c44b8 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Jul 26 22:52:27 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jul 26 23:28:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b44e6d6 sys-cluster/SIONfwd: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/SIONfwd/Manifest | 1 + sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild | 37 ++++++++++++++++++++++++++++++++ sys-cluster/SIONfwd/metadata.xml | 16 ++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/sys-cluster/SIONfwd/Manifest b/sys-cluster/SIONfwd/Manifest new file mode 100644 index 000000000..ca547bc19 --- /dev/null +++ b/sys-cluster/SIONfwd/Manifest @@ -0,0 +1 @@ +DIST SIONfwd-v1.0.1.tar.bz2 9531 BLAKE2B fd998f9785e2d5de7c9431121109ca1a02ab3de648672db2fa2f45957788407850c8ffb75f93d283e4bd39c53f6627c8c93c637428812eaa86602c855cbd2fdd SHA512 3e71d0fbab76ae89b1a21be38a95986f1e5e913ea7bb5b17f3c21a905f5bda04634889264bdd101de833db8f069bc473093b805e5f6f453ac40290059fa2c51e diff --git a/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild b/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild new file mode 100644 index 000000000..84a979319 --- /dev/null +++ b/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MYP="${PN}-v${PV}" + +inherit cmake + +DESCRIPTION="A minimalistic I/O forwarding server and client library for SIONlib" +HOMEPAGE="https://gitlab.jsc.fz-juelich.de/cstao-public/SIONlib/SIONfwd" +SRC_URI="https://gitlab.jsc.fz-juelich.de/cstao-public/SIONlib/SIONfwd/-/archive/v${PV}/${MYP}.tar.bz2" +S="${WORKDIR}/${MYP}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="virtual/mpi" +DEPEND="${RDEPEND}" + +#RESTRICT="!test? ( test )" +RESTRICT="test" #test failures related to MPI + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DCMAKE_BUILD_TYPE=Release + -DSIONfwd_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_test() { + ./test.sh || die +} diff --git a/sys-cluster/SIONfwd/metadata.xml b/sys-cluster/SIONfwd/metadata.xml new file mode 100644 index 000000000..a938734b8 --- /dev/null +++ b/sys-cluster/SIONfwd/metadata.xml @@ -0,0 +1,16 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +SIONfwd uses MPI's port mechanism to establish dynamic connections between server and client which are then used to transmit remote procedure calls (RPCs). +Both client and server have to be launched trough an MPI process startup mechanism (e.g. the mpiexec program), but using different MPI_COMM_WORLD, i.e. separate invocations of the startup mechanism. +The server prints the information that the client needs to connect to its stdout. +The client expects to find this information in certain environment variables. +A shell function that reads the information from the server and exports the environment variables required by the client is provided by the server (sionfwd-server bash-defs). +See the file test.sh for details. + +