aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:59:29 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:59:29 +0100
commitf1d35f455599cdc676c2402008066658a7ae216e (patch)
treee04ae3781942139529d9884f79b23f6a78a457b9 /sys-cluster
parentsys-cluster/redset: new package (diff)
downloadguru-f1d35f455599cdc676c2402008066658a7ae216e.tar.gz
guru-f1d35f455599cdc676c2402008066658a7ae216e.tar.bz2
guru-f1d35f455599cdc676c2402008066658a7ae216e.zip
sys-cluster/er: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/er/Manifest1
-rw-r--r--sys-cluster/er/er-0.0.3.ebuild42
-rw-r--r--sys-cluster/er/metadata.xml20
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest
new file mode 100644
index 00000000..6b673825
--- /dev/null
+++ b/sys-cluster/er/Manifest
@@ -0,0 +1 @@
+DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8
diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
new file mode 100644
index 00000000..715cc2b1
--- /dev/null
+++ b/sys-cluster/er/er-0.0.3.ebuild
@@ -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
+}
diff --git a/sys-cluster/er/metadata.xml b/sys-cluster/er/metadata.xml
new file mode 100644
index 00000000..a14f0380
--- /dev/null
+++ b/sys-cluster/er/metadata.xml
@@ -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>