-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/709558 Signed-off-by: Alessandro Barbieri lssndrbarbieri@gmail.com
- Loading branch information
1 parent
356d67f
commit 11c137b
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8 | ||
EBUILD er-0.0.3.ebuild 826 BLAKE2B 74b06e342392d1fc094b4b06bb731a50b0eccb8230eab5c61e5731e1ffdb377cc2e5437a67300eca87b86015778e0101cb2e7fd7fa281bc433781c24af37910b SHA512 829dbc43834d840254856cc64ac6df2633018a950c237c02835bf3cadc662638f7e4758e77a048cf5bf2651841b50b0b3058a78daf06d04dc7018a9da63af7f9 | ||
MISC metadata.xml 1315 BLAKE2B 98ba4b4e9f8c3dfb8443a15f3f78b6215e6166988d03f49877799385ca5bbe7e588d9f9658ba53f59739732f16bb4376879a472536eba725a290e0b387bf6e9e SHA512 dafa9296b786c7f480a14ee8c76f2824d5bbea54d348c6b392b8addf9c00a8002d2e7ee66b867abbaf9ba7bebcf4a370eb432fc120c916d875948b73db5fa48b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2019 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/${PN}" | ||
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" | ||
|
||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?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> | ||
<maintainer type="project"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</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> |