mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-cluster/openmpi: Drop old 1.4.x version
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
DIST openmpi-1.10.7.tar.bz2 13435131 BLAKE2B c1914e6842f59a4a21a27d015275eff00092e57784c4219f58424fbc69c6d9e58109aa1b2ff4e1e340ddc3b93f07d7271e728928772c66c271442e375c08315e SHA512 9c5470f9959ca37650a59e56fb8343c028422c709876ab9d25a411dd09a07cdde927c45d8f3db1ad524b1f2847fe799471d469fa1efee48f8018b2ff24427ecb
|
||||
DIST openmpi-1.4.3.tar.bz2 6626909 BLAKE2B 76c87f748908dc91e79114f555f9dc6341729959076221ba92a4c542fb4af16ceac70e5b7567a918604dc1338a1b417c7d358b746a7d4b0c966b3ab8abbc2f28 SHA512 c33d5e019ba0b080aa34ecfa085182349da806e4bff26c1bf4dbdc8fb3f8f3c38899b9d96d671e1ae337b523ac9d634ae25c49d9af6eef2bc340c29dba75b1b8
|
||||
DIST openmpi-1.4.5.tar.bz2 6643760 BLAKE2B 6890e8ed6f75e77e0e02c88bce473a37195549bca06696881cf7c3f6e46db25abaa04d9517d7ff9a11ad64cc97cf8d1b8678d9797c49a1659656d8a5de5c56ae SHA512 f89922345cde8978483e397e9016103626db3f1787f9afccaf0f60d59caa2a4409b47b01ac221d60e24e241f2afecb636ca89688bf326dc0ca5c817de96b3e99
|
||||
DIST openmpi-1.6.5.tar.bz2 10943881 BLAKE2B 8022d8a146d7e99a01e734d9c9725882bb359a2419dc27afe6a2dc2e8bbc8bca03ec1311e10a12068dd38d0f9c442d1efe5af755192a2ad2af332a1459369953 SHA512 b0ede0264cd9263b8ba59ec51d17ad47b5f20d49d219ca05f7c396d608398d517b2023a46a2535fd6191160d709e4805c4de436dcfee56eda287383bd69f9652
|
||||
DIST openmpi-1.7.5.tar.bz2 13286694 BLAKE2B 15862d34f8b8db60e7896f57274555df849713492c6e7e590feb06ec9b3655ff0311a81c0a6c87cc16dc8fd95510a1d79b23467af843d37768f75005ff4edd8c SHA512 72de2788fa26615a2e7373b5f32e0a2b9e39d56094c45b49348ef19bbb0ea306734b7d3275d76471a18628b5244d882de4ed3595eb46f13683e1c8d2b277f065
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
FORTRAN_NEEDED=fortran
|
||||
|
||||
inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P=${P/-mpi}
|
||||
|
||||
DESCRIPTION="A high-performance message passing library (MPI)"
|
||||
HOMEPAGE="http://www.open-mpi.org"
|
||||
SRC_URI="http://www.open-mpi.org/software/ompi/v1.4/downloads/${MY_P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
RESTRICT="mpi-threads? ( test )"
|
||||
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="+cxx fortran heterogeneous ipv6 mpi-threads pbs romio threads vt"
|
||||
RDEPEND="
|
||||
pbs? ( sys-cluster/torque )
|
||||
vt? (
|
||||
!dev-libs/libotf
|
||||
!app-text/lcdf-typetools
|
||||
)
|
||||
!sys-cluster/mpich
|
||||
!sys-cluster/mpich2
|
||||
!sys-cluster/pmix"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
if use mpi-threads; then
|
||||
echo
|
||||
ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by"
|
||||
ewarn "default and officially unsupported by upstream."
|
||||
ewarn "You may stop now and set USE=-mpi-threads"
|
||||
echo
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "OpenMPI has an overwhelming count of configuration options."
|
||||
elog "Don't forget the EXTRA_ECONF environment variable can let you"
|
||||
elog "specify configure options if you find them necessary."
|
||||
echo
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Necessary for scalibility, see
|
||||
# http://www.open-mpi.org/community/lists/users/2008/09/6514.php
|
||||
if use threads; then
|
||||
echo 'oob_tcp_listen_mode = listen_thread' \
|
||||
>> opal/etc/openmpi-mca-params.conf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}"
|
||||
--enable-pretty-print-stacktrace
|
||||
--enable-orterun-prefix-by-default
|
||||
--without-slurm)
|
||||
|
||||
if use mpi-threads; then
|
||||
myconf+=(--enable-mpi-threads
|
||||
--enable-progress-threads)
|
||||
fi
|
||||
|
||||
if use fortran; then
|
||||
if [[ $(tc-getFC) =~ g77 ]]; then
|
||||
myconf+=(--disable-mpi-f90)
|
||||
elif [[ $(tc-getFC) =~ if ]]; then
|
||||
# Enabled here as gfortran compile times are huge with this enabled.
|
||||
myconf+=(--with-mpi-f90-size=medium)
|
||||
fi
|
||||
else
|
||||
myconf+=(--disable-mpi-f90 --disable-mpi-f77)
|
||||
fi
|
||||
|
||||
! use vt && myconf+=(--enable-contrib-no-build=vt)
|
||||
|
||||
econf "${myconf[@]}" \
|
||||
$(use_enable cxx mpi-cxx) \
|
||||
$(use_enable romio io-romio) \
|
||||
$(use_enable heterogeneous) \
|
||||
$(use_with pbs tm) \
|
||||
$(use_enable ipv6)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README AUTHORS NEWS VERSION
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Doesn't work with the default src_test as the dry run (-n) fails.
|
||||
emake -j1 check
|
||||
}
|
||||
Reference in New Issue
Block a user