diff --git a/sys-cluster/muster/Manifest b/sys-cluster/muster/Manifest new file mode 100644 index 0000000000..f570446a40 --- /dev/null +++ b/sys-cluster/muster/Manifest @@ -0,0 +1 @@ +DIST muster-1.0.1.tar.gz 117835 BLAKE2B e20e80acc7d3b8ba407d8949d5b5d1cc4562d4db13c4fa24de264446eb79de6cc3a669d61740b12fd1a8198e44453acede4cf0eaa46a38b9b92ff7506d5c234f SHA512 71a07bd9771e8cbeff9f288ec5f6b77bc2ce97a2227f52de202b0b3d9ff709a716cd32f55bfc5b2567cca929057b083138494532986f8cd97c6e3336732d3640 diff --git a/sys-cluster/muster/metadata.xml b/sys-cluster/muster/metadata.xml new file mode 100644 index 0000000000..b0b36c18f5 --- /dev/null +++ b/sys-cluster/muster/metadata.xml @@ -0,0 +1,32 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + LLNL/muster + + +The Muster library provides implementations of serial and parallel K-Medoids +clustering algorithms. It is intended as a general framework for parallel +cluster analysis, particularly for performance data analysis on systems with +very large numbers of processes. + +The parallel implementations in the Muster are designed to perform well even +in environments where the data to be clustered is entirely distributed. For +example, many performance tools need to analyze one data element from each +process in a system. To analyze this data efficiently, clustering algorithms +that move as little data as possible are required. In Muster, we exploit +sampled clustering algorithms to realize this efficiency. + +The parallel algorithms in Muster are implemented using the Message Passing +Interface (MPI), making them suitable for use on many of the world's largest +supercomputers. They should, however, also run efficiently on your laptop. + + + Build with PMPI bindings + Build and install test programs + + diff --git a/sys-cluster/muster/muster-1.0.1.ebuild b/sys-cluster/muster/muster-1.0.1.ebuild new file mode 100644 index 0000000000..eeab7486ed --- /dev/null +++ b/sys-cluster/muster/muster-1.0.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit cmake + +DESCRIPTION="Massively Scalable Clustering" +HOMEPAGE="https://github.com/LLNL/muster" +SRC_URI="https://github.com/LLNL/muster/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc pmpi tests" + +RDEPEND=" + dev-libs/boost:= + virtual/mpi +" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_TESTS=$(usex tests test) + -DMUSTER_USE_PMPI=$(usex pmpi) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc; then + doxygen || die + fi +} + +src_install() { + cmake_src_install + use doc && dodoc -r doc/html + if use tests; then + mkdir -p "${ED}/usr/libexec/${PN}/" || die + mv "${ED}"/usr/bin/*-test "${ED}/usr/libexec/${PN}/" || die + fi +}