From 2b44e6d66b0f89e110d6b64aec0dde1d842c44b8 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 27 Jul 2021 00:52:27 +0200 Subject: [PATCH] sys-cluster/SIONfwd: initial import Signed-off-by: Alessandro Barbieri --- 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(+) create mode 100644 sys-cluster/SIONfwd/Manifest create mode 100644 sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild create mode 100644 sys-cluster/SIONfwd/metadata.xml diff --git a/sys-cluster/SIONfwd/Manifest b/sys-cluster/SIONfwd/Manifest new file mode 100644 index 0000000000..ca547bc19b --- /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 0000000000..84a9793190 --- /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 0000000000..a938734b88 --- /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. + +