summaryrefslogtreecommitdiff
path: root/sys-cluster/mvapich2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sys-cluster/mvapich2
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-cluster/mvapich2')
-rw-r--r--sys-cluster/mvapich2/Manifest3
-rw-r--r--sys-cluster/mvapich2/metadata.xml13
-rw-r--r--sys-cluster/mvapich2/mvapich2-1.6.ebuild142
3 files changed, 0 insertions, 158 deletions
diff --git a/sys-cluster/mvapich2/Manifest b/sys-cluster/mvapich2/Manifest
deleted file mode 100644
index a7803821b1e8..000000000000
--- a/sys-cluster/mvapich2/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST mvapich2-1.6.tgz 23239787 BLAKE2B 4cdd286d7a13f70b50ced6ac6cb3df51065225a33141410b699246f2b99d0f4b57611cd95f39806387c71d0f07257560c6f210ed4bbb8ce5fa5d2b8b7071db2c SHA512 4a4aac17742f347c4daed40a8360576ff4c644c549d4a3b364c7d2b1eada6aecc514b447b4613111e113d8f9be79b5101a999298cf89ff19ce63523a54702289
-EBUILD mvapich2-1.6.ebuild 3882 BLAKE2B c289bca601db332c58e30f2f3469bdad8d9c86ed3869ad45a8492f8d2360129971dcbbc72f4f748095c792f699c3a8ec20bc30fae24396afe1bd02b89f8ec78c SHA512 4e3c1a67d415353aa7c72870afc344d9ccff3241bb14eacc69e2dddb3e4f5df4e881228875246a6de50439f4e7c36fe4e4bcb1c559932546bef51f165d60baa5
-MISC metadata.xml 542 BLAKE2B 43bfe5d553bde5ddd194cac874dcbc2e25730e5918cd1601889a21f0cfef6452d55fae00ad37b3a286b3a17bbe4feb54db4448dca10e52936f514893ddaf6764 SHA512 ae8fa944f41c1c2695f5cf54f491cc7afa2dda6e5110e10d669fe1bd1f97685f7a3cce2077b8c645822097496e72fc7c6b4992fe7b37133b3664870f73489369
diff --git a/sys-cluster/mvapich2/metadata.xml b/sys-cluster/mvapich2/metadata.xml
deleted file mode 100644
index ba65afe10755..000000000000
--- a/sys-cluster/mvapich2/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>cluster@gentoo.org</email>
- <name>Gentoo Cluster Project</name>
- </maintainer>
- <use>
- <flag name="large-cluster">Automatically generated description for large-cluster</flag>
- <flag name="medium-cluster">Automatically generated description for medium-cluster</flag>
- <flag name="romio">Automatically generated description for romio</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-cluster/mvapich2/mvapich2-1.6.ebuild b/sys-cluster/mvapich2/mvapich2-1.6.ebuild
deleted file mode 100644
index 9b83374bf877..000000000000
--- a/sys-cluster/mvapich2/mvapich2-1.6.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit fortran-2 toolchain-funcs
-
-DESCRIPTION="MVAPICH2 MPI-over-infiniband package auto-configured for OpenIB"
-HOMEPAGE="http://mvapich.cse.ohio-state.edu/"
-SRC_URI="http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-${PV/_/-}.tgz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug fortran large-cluster medium-cluster romio threads"
-
-RDEPEND="
- sys-fabric/libibverbs
- sys-fabric/libibumad
- sys-fabric/libibmad
- sys-fabric/librdmacm"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/mvapich2-${PV/_/-}"
-
-pkg_setup() {
- fortran-2_pkg_setup
-
- if [ -z "${MVAPICH_HCA_TYPE}" ]; then
- elog "${PN} needs to know which HCA it should optimize for. This is"
- elog "passed to the ebuild with the variable, \${MVAPICH_HCA_TYPE}."
- elog "Please choose one of: _MLX_PCI_EX_SDR_, _MLX_PCI_EX_DDR_,"
- elog "_MLX_PCI_X, _PATH_HT_, or _IBM_EHCA_."
- elog "See make.mvapich2.detect in ${S} for more information."
- die "MVAPICH_HCA_TYPE undefined"
- fi
-
- case ${ARCH} in
- amd64)
- if grep Intel /proc/cpuinfo &>/dev/null; then
- BUILD_ARCH=-D_EM64T_
- else
- BUILD_ARCH=-D_X86_64_
- fi
- ;;
- x86)
- BUILD_ARCH=-D_IA32_
- ;;
- ia64)
- BUILD_ARCH=-D_IA64_
- ;;
- ppc64)
- BUILD_ARCH=-D_PPC64_
- ;;
- *)
- die "unsupported architecture: ${ARCH}"
- ;;
- esac
-}
-
-src_prepare() {
- einfo "Disabling examples"
- # Examples are always compiled with the default 'all' target. This
- # causes problems when we don't build support for everything, including
- # threads, mpe2, etc. So we're not going to build them.
- sed -i 's:.*cd examples && ${MAKE} all.*::' Makefile.in
-}
-
-src_configure() {
- local c="--with-device=osu_ch3:mrail
- --with-rdma=gen2
- --with-pm=mpd
- $(use_enable romio)
- --with-mpe=no"
-
- # TODO Shared libs should build with this, but they don't
- # --enable-shared=gcc"
-
- local enable_srq
- local vcluster=-D_SMALL_CLUSTER
-
- use large-cluster && vcluster=-D_LARGE_CLUSTER
- use medium-cluster && vcluster=-D_MEDIUM_CLUSTER
- [ "${MVAPICH_HCA_TYPE}" == "_MLX_PCI_X_" ] && enable_srq="-DSRQ"
-
- append-ldflags "-lrdmacm"
- append-flags "-DADAPTIVE_RDMA_FAST_PATH -DRDMA_CM"
-
- append-ldflags "-libverbs -libumad -libmad"
-
- append-flags "${BUILD_ARCH} -DUSE_INLINE -D_SMP_ -D_GNU_SOURCE"
- append-flags "${enable_srq} -DUSE_HEADER_CACHING -DLAZY_MEM_UNREGISTER"
- append-flags "-DONE_SIDED -D${MVAPICH_HCA_TYPE} ${vcluster}"
- append-flags "-DMPID_USE_SEQUENCE_NUMBERS -DUSE_MPD_RING"
-
- use debug && c="${c} --enable-g=all --enable-debuginfo"
-
- if use threads; then
- c="${c} --enable-threads=multiple --with-thread-package=pthreads"
- append-flags "-pthread"
- else
- c="${c} --with-thread-package=none"
- fi
-
- # enable f90 support for appropriate compilers
- if use fortran; then
- case "$(tc-getFC)" in
- gfortran|ifort|f95)
- c="${c} --enable-f77 --enable-f90";;
- g77|f77|f2c)
- c="${c} --enable-f77 --disable-f90";;
- esac
- else
- c="${c} --disable-f77 --disable-f90"
- fi
-
- sed -i \
- -e 's/ ${exec_prefix}/ ${DESTDIR}${exec_prefix}/' \
- -e 's/ ${libdir}/ ${DESTDIR}${libdir}/' \
- ${S/-beta2/}/Makefile.in
- sed -i '/bindir/s/ ${bindir}/ ${DESTDIR}${bindir}/' ${S/-beta2/}/src/pm/mpd/Makefile.in
- cd ${S/-beta2/}
-
- econf ${c}
-}
-
-src_install() {
- emake DESTDIR="${D}"
- dodoc CHANGES_MPICH2 COPYRIGHT COPYRIGHT_MVAPICH2 LICENSE.TXT \
- README* RELEASE_NOTES*
-}
-
-pkg_postinst() {
- einfo "To allow normal users to use infiniband, it is necessary to"
- einfo "increase the system limits on locked memory."
- einfo "You must increase the kernel.shmmax sysctl value, and increase"
- einfo "the memlock limits in /etc/security/limits.conf. i.e.:"
- echo
- einfo "echo 'kernel.shmmax = 512000000' >> /etc/sysctl.conf"
- einfo "echo 512000000 > /proc/sys/kernel/shmmax"
- einfo "echo -e '* soft memlock 500000\n* hard memlock 500000' > /etc/security/limits.conf"
-}