sys-cluster/SIONfwd: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-07-27 00:52:27 +02:00
parent 19d5ef12cd
commit 2b44e6d66b
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST SIONfwd-v1.0.1.tar.bz2 9531 BLAKE2B fd998f9785e2d5de7c9431121109ca1a02ab3de648672db2fa2f45957788407850c8ffb75f93d283e4bd39c53f6627c8c93c637428812eaa86602c855cbd2fdd SHA512 3e71d0fbab76ae89b1a21be38a95986f1e5e913ea7bb5b17f3c21a905f5bda04634889264bdd101de833db8f069bc473093b805e5f6f453ac40290059fa2c51e

View File

@@ -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
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
</pkgmetadata>