sys-cluster/er: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-02-23 04:59:29 +01:00
parent efa0764dc6
commit f1d35f4555
3 changed files with 63 additions and 0 deletions

1
sys-cluster/er/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit cmake-utils
DESCRIPTION="High-level distributed erasure coding library combining functionality of shuffile and redset"
HOMEPAGE="https://github.com/ECP-VeloC/er"
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mpi test"
RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( virtual/mpi )
sys-cluster/KVTree
sys-cluster/redset
sys-cluster/shuffile
sys-libs/zlib
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
src_prepare() {
#do not build static library
sed -i '/er-static/d' src/CMakeLists.txt || die
default
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DMPI="$(usex mpi "" OFF)"
)
cmake-utils_src_configure
}

View File

@@ -0,0 +1,20 @@
<?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>
<upstream>
<remote-id type="github">ECP-VeloC/er</remote-id>
</upstream>
<longdescription lang="en">Encode/Rebuild (ER)
This module combines the funcitonality of shuffile and redset, which lets both migrate and rebuild files within an MPI job. It is useful for moving and rebuilding data files on distributed storage, e.g., node-local storage, particularly when MPI ranks may be running on different compute nodes than when they originally created their files.
To encode, one defines a redundancy scheme and then applies the redundancy scheme to a list of files also providing a name for the encoded set. To rebuild, one specifies the name of the encoded set. Additionally, there is a function to remove the encoding information, which is needed when removing a dataset.
Currently, er assumes the group of processes participating is the same as MPI_COMM_WORLD.
Usage is documented in src/er.h
</longdescription>
</pkgmetadata>