public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dtcmp/
@ 2021-07-30  9:11 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-07-30  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d907f0c21170e219cfcdab6c95c5bb23d4d213cb
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jul 28 23:38:32 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 23:39:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d907f0c2

sys-cluster/dtcmp: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dtcmp/Manifest           |  1 +
 sys-cluster/dtcmp/dtcmp-1.1.2.ebuild | 39 +++++++++++++++++++++++++
 sys-cluster/dtcmp/metadata.xml       | 56 ++++++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+)

diff --git a/sys-cluster/dtcmp/Manifest b/sys-cluster/dtcmp/Manifest
new file mode 100644
index 000000000..110302191
--- /dev/null
+++ b/sys-cluster/dtcmp/Manifest
@@ -0,0 +1 @@
+DIST dtcmp-1.1.2.tar.gz 76820 BLAKE2B bd67112567515fefff171e1b9e0da5d93e2b5bec88246de33e3b382bcc6029f1fc18a658ce185634615c37f1a10b5759eb04f2039f334ea5deaa680a005c6d5f SHA512 c8094ca5009ba10d40be3da55498b97837865d87b3deaa813b31de2083c38aa30b55c91ead053e2ef0454c53948aafa233f9251295ca29a0233f28a169cbd5c2

diff --git a/sys-cluster/dtcmp/dtcmp-1.1.2.ebuild b/sys-cluster/dtcmp/dtcmp-1.1.2.ebuild
new file mode 100644
index 000000000..b0f3c17bd
--- /dev/null
+++ b/sys-cluster/dtcmp/dtcmp-1.1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Datatype Compare Library for sorting and ranking distributed data using MPI"
+HOMEPAGE="https://github.com/LLNL/dtcmp"
+SRC_URI="https://github.com/LLNL/dtcmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	sys-cluster/lwgrp
+	virtual/mpi
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--with-lwgrp="${EPREFIX}/usr"
+	)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	rm -r "${ED}/usr/share/${PN}" || die
+	find "${ED}" -name '*.la' -delete || die
+	find "${ED}" -name '*.a' -delete || die
+}

diff --git a/sys-cluster/dtcmp/metadata.xml b/sys-cluster/dtcmp/metadata.xml
new file mode 100644
index 000000000..235b9571b
--- /dev/null
+++ b/sys-cluster/dtcmp/metadata.xml
@@ -0,0 +1,56 @@
+<?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">
+The Datatype Comparison (DTCMP) Library provides pre-defined and user-defined comparison operations to compare the values of two items which can be arbitrary MPI datatypes. Using these comparison operations, the library provides various routines for manipulating data, which may be distributed over the processes of an MPI communicator including:
+
+search - search for a target value in an ordered list of values
+merge - combine multiple ordered lists into a single ordered list
+partition - divide a list of items into lower and higher values around a specified pivot value
+select - identify the kth largest value
+sort - sort data items into an ordered list
+rank - assign group ids and ranks to a list of items
+scan - execute a segmented scan on an ordered list of values
+The DTCMP library is designed to provide a high-level interface to the above functionality. These high-level routines will invoke various algorithm implementations to achieve the desired output. The goal of DTCMP is to be efficient given the input and the data distribution among processes. It is also intended to be portable to different platforms and to allow for easy addition of new algorithms over time.
+
+While performance is important, the goal is not to provide the fastest routines. The generality provided by the DTCMP API that makes portability possible also tends to reduce performance in some respects, e.g., forcing memory copies, abstracting some details about datatype, etc. Most likely a hand-tuned algorithm for the precise problem at hand will always be faster than DTCMP. However, DTCMP should be fast, efficient, and portable, so it will generally be a good option except for those cases where the application bottleneck demands absolute performance.
+
+Currently, the following pre-defined comparison operations are provided. More will be added with time. All pre-defined operations have the following naming convention:
+
+DTCMP_OP_TYPE_DIRECTION
+where TYPE may be one of:
+
+SHORT            - C short
+INT              - C int
+LONG             - C long
+LONGLONG         - C long long
+UNSIGNEDSHORT    - C unsigned short
+UNSIGNEDINT      - C unsigned int
+UNSIGNEDLONG     - C unsigned long
+UNSIGNEDLONGLONG - C unsigned long long
+INT8T            - C int8_t
+INT16T           - C int16_t
+INT32T           - C int32_t
+INT64T           - C int64_t
+UINT8T           - C uint8_t
+UINT16T          - C uint16_t
+UINT32T          - C uint32_t
+UINT64T          - C uint64_t
+FLOAT            - C float
+DOUBLE           - C double
+LONGDOUBLE       - C long double
+and DIRECTION may be one of:
+
+ASCEND  - order values from smallest to largest
+DESCEND - order values from largest to smallest
+Often when sorting data, each item contains a "key" that determines its position within the global order and a "value", called "satellite data", which travels with the key value but has no affect on its order. DTCMP assumes that satellite data is relatively small and is attached to the key in the same input buffer. In many DTCMP routines, one must specify the datatype for the key and another datatype for the key with its satellite data. The first is often named "key" and the second "keysat". The key datatype is used to infer the type and size of the key when comparing key values. This can be exploited to select optimized comparison routines, e.g., radix sort on integers, and it enables the library to siphon off and only process the key component if needed. The keysat type is needed to copy full items in memory or transfer items between processes.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/LLNL/dtcmp/issues</bugs-to>
+		<remote-id type="github">LLNL/dtcmp</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dtcmp/
@ 2022-03-26 11:53 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2022-03-26 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     336ac77283bdc675767eda8865f4e39c817fe3a0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 07:35:31 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 07:35:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=336ac772

sys-cluster/dtcmp: add 1.1.4

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dtcmp/Manifest           |  1 +
 sys-cluster/dtcmp/dtcmp-1.1.4.ebuild | 39 ++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/dtcmp/Manifest b/sys-cluster/dtcmp/Manifest
index 110302191..0fbe49a61 100644
--- a/sys-cluster/dtcmp/Manifest
+++ b/sys-cluster/dtcmp/Manifest
@@ -1 +1,2 @@
 DIST dtcmp-1.1.2.tar.gz 76820 BLAKE2B bd67112567515fefff171e1b9e0da5d93e2b5bec88246de33e3b382bcc6029f1fc18a658ce185634615c37f1a10b5759eb04f2039f334ea5deaa680a005c6d5f SHA512 c8094ca5009ba10d40be3da55498b97837865d87b3deaa813b31de2083c38aa30b55c91ead053e2ef0454c53948aafa233f9251295ca29a0233f28a169cbd5c2
+DIST dtcmp-1.1.4.tar.gz 77123 BLAKE2B 45e6ae9b7726ea3185350fb3850c81a7e212625d2a9f0b60e3e21e1d72038af0094a68303064fbd261209b968c2df3d72f6ccda4a0c78b1557b54d5bdfcca391 SHA512 2686e44aeaab37ff065ecb7f898dfa57a4e7d1c99c8785544c10c8d14a736ae9da4623d938f7380b487cadc61ced6c050118a16e5c238e57b47a926e0cfca44b

diff --git a/sys-cluster/dtcmp/dtcmp-1.1.4.ebuild b/sys-cluster/dtcmp/dtcmp-1.1.4.ebuild
new file mode 100644
index 000000000..92f0d11d5
--- /dev/null
+++ b/sys-cluster/dtcmp/dtcmp-1.1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Datatype Compare Library for sorting and ranking distributed data using MPI"
+HOMEPAGE="https://github.com/LLNL/dtcmp"
+SRC_URI="https://github.com/LLNL/dtcmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	sys-cluster/lwgrp
+	virtual/mpi
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--with-lwgrp="${EPREFIX}/usr"
+	)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	rm -r "${ED}/usr/share/${PN}" || die
+	find "${ED}" -name '*.la' -delete || die
+	find "${ED}" -name '*.a' -delete || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-26 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 11:53 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dtcmp/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-07-30  9:11 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox