summaryrefslogtreecommitdiff
path: root/sys-cluster
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-12 12:25:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-12 12:25:39 +0100
commit37bccfe5e76c5740c4ef5ba1179e9488d8404075 (patch)
treec0c962a2e83c1f38816a021ecd34c2e8c80db528 /sys-cluster
parent496ef6155c315ac3628b472dc9b4146fa2684286 (diff)
gentoo auto-resync : 12:07:2024 - 12:25:38
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/Manifest.gzbin11368 -> 11371 bytes
-rw-r--r--sys-cluster/openmpi/Manifest4
-rw-r--r--sys-cluster/openmpi/openmpi-4.1.6.ebuild12
-rw-r--r--sys-cluster/openmpi/openmpi-5.0.3.ebuild141
4 files changed, 155 insertions, 2 deletions
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz
index 6f45ced8c64b..0958b25460d4 100644
--- a/sys-cluster/Manifest.gz
+++ b/sys-cluster/Manifest.gz
Binary files differ
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
index f5ed70f4b3e2..4a2913ef453f 100644
--- a/sys-cluster/openmpi/Manifest
+++ b/sys-cluster/openmpi/Manifest
@@ -2,7 +2,9 @@ AUX openmpi-4.1.6-incompatible-pointers.patch 8095 BLAKE2B c095a4c0c3fba74a8c1f1
DIST openmpi-4.1.4.tar.bz2 10042839 BLAKE2B b020e3530ae5dde7b144e7c33b1a3f26f622526a4b48a97a0956fc6f49bbf9dfd5be9ebeeaf3bdc5168a307507408ba5dd8e2a537148821e1d476678177dc5d6 SHA512 c70a92c9b16b8c76a871183f9b180d60861186e64140da897d206d53bc06213f31ea93b31734645f580f4bf28dda5605d85dbce2417e4596955384d961bed653
DIST openmpi-4.1.5.tar.bz2 10045426 BLAKE2B 135a8373ed6173b7a94def18e3b964c6b6050c909382e0dbb1898a6d261ae428931358121ef6d325d303f4f510017a94970f7c66b280a5fc460365821f36dece SHA512 7a2188684ed7542fe42e1717ae72cb859b4f3d6f722c9d3ba04bfed6c2178b3e7da3a536629d312c23571fed4d9b2ca5e20e85898ae5144e9332bd898e6e1cc6
DIST openmpi-4.1.6.tar.bz2 10017002 BLAKE2B 4f119e1ed9b8787f0f860295ab1721fe2fd5300b8e182230a9eba3a864680b02bbd30618cc6d798a693a121626fc0ad5f447144d9ba91becb734f1a530d7a23a SHA512 0ef3240f9c436fb19b67e836cac376eafeb7825d12de3387dad04329dee9f182799d17d785ea23eba763810f479015bb5230593c28950b616b2f0aa1c0a81e71
+DIST openmpi-5.0.3.tar.bz2 29761888 BLAKE2B a084813f3dada12bbe77dcc6ef0ec0454980779f97ccb46f37f3d7df3bf7299e6484ec3427c2ca784e70876f62dc061a13cb7f08348e3d649e27f2bece9a09ac SHA512 60e8f6dcd6b1531ce8164e02f40be9a364ab484166a2a7b13bdff115a508f0596e97ad0a4204a47799ae608ba484a7ba9503042bddffe675f09ce22071b0b4a9
EBUILD openmpi-4.1.4-r1.ebuild 5763 BLAKE2B 7e227f94d01dc4fa76b1b082268f875618d3f7c20b90b37ee19bb52c5452e3767f68be3d90becdee033dea8ecb09f15996bb75ec3825ae9ac35958beb01512ae SHA512 720732ec40127fd1dacd080349443041c46066e8d88feb95d1059f83f7757b55598057a0fae15cf7dac8f83fa4c0c88be53e1e93544d1dd1b6b39045fa5a2357
EBUILD openmpi-4.1.5.ebuild 5068 BLAKE2B faf4e7fad6741faf90d8fbd98df363a2c25d804819998d1cd6c8743216c54b376bb28cef66a0f2a2d4d24f9b4207cc7ceaba4c9d73fba4b22357b472dbdbf97e SHA512 96b5874bdfc7bb267f04bb29c1b20b819504efc70e3d207c3a53a160f191c40de86ea655aa6dcf2036259ab4917c4366b1c9944089b0ae8b25533f91a41cb6f5
-EBUILD openmpi-4.1.6.ebuild 5290 BLAKE2B 55ded8b030341cb98a6604e24882a5ce348e036fb67c21647837a4050b95fc5ddd7e607158e3865dab8deba26fa2e5027dd2e34f975d25fcf28ce7c1516ffa59 SHA512 2e471b71197f6757b1830d1e1a3c8c972af5c2a9ba984b8e00d9a6202e376c84847227896510e2d053459f91377877322cfc80e7f2a0ff7a1a29916c1e832685
+EBUILD openmpi-4.1.6.ebuild 5663 BLAKE2B 05278994ab239b553158f2efddf0cde7173fe1b58906ebbb30c9f224762d1ae7cf7bd35cfa5e35339043ad777aedd95e896b81a00d3d17ebb65cfedb2eb6faa5 SHA512 74b856ce7092a9a53995776a4ab658ed57570866c717637b6096e8478a3d5d8e501da4cfa7eae0dbfcdd60a6bc9faab1ee062482bc9d5ee5a85fe4eb678cce63
+EBUILD openmpi-5.0.3.ebuild 3735 BLAKE2B 0e47dd157090e6fe1cfdefd316b0e30edb9e39fb58b9dc1365e36b6168bdb58494473126afc9e02b83fc7e95eaf598c025256191712212490ddfea738bebc2cc SHA512 349cd20fbd35ea6eeb6cc2ecedbdccfcb577031f7a3aa4f0d66348febc766f454bf8201d875d60994ed95d1bc391756618e062c83d665cacfdf6e46ee820b052
MISC metadata.xml 619 BLAKE2B e1073cdab4b3b0013354a95a53354f1040edbde8cb0f864a28ca1a9e9e7f6974e2db4a9a885c8616cfba41b7b472af4168d92ad3b5cd9e051598db1a4d4d2889 SHA512 b76a5bd4fdbdc47c21b06681a8365f5d0baf7b121a88146b87a4a609d01b9008aeae070130c86be89586bfeff73b325bda4b4fa83dc150f3c5865e5d0f422995
diff --git a/sys-cluster/openmpi/openmpi-4.1.6.ebuild b/sys-cluster/openmpi/openmpi-4.1.6.ebuild
index ce638f5a87a7..524f03b078b6 100644
--- a/sys-cluster/openmpi/openmpi-4.1.6.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.1.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
FORTRAN_NEEDED=fortran
-inherit cuda fortran-2 multilib-minimal
+inherit cuda flag-o-matic fortran-2 libtool multilib-minimal
MY_P=${P/-mpi}
@@ -80,6 +80,7 @@ pkg_setup() {
src_prepare() {
default
+ elibtoolize
# Avoid test which ends up looking at system mounts
echo "int main() { return 0; }" > test/util/opal_path_nfs.c || die
@@ -91,6 +92,15 @@ src_prepare() {
}
multilib_src_configure() {
+ # -Werror=lto-type-mismatch, -Werror=strict-aliasing
+ # The former even prevents successfully running ./configure, but both appear
+ # at `make` time as well.
+ # https://bugs.gentoo.org/913040
+ # https://github.com/open-mpi/ompi/issues/12674
+ # https://github.com/open-mpi/ompi/issues/12675
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local myconf=(
--disable-mpi-java
# configure takes a looooong time, but upstream currently force
diff --git a/sys-cluster/openmpi/openmpi-5.0.3.ebuild b/sys-cluster/openmpi/openmpi-5.0.3.ebuild
new file mode 100644
index 000000000000..f22be0582eaa
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-5.0.3.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+inherit cuda flag-o-matic fortran-2 libtool
+
+MY_P=${P/-mpi}
+
+IUSE_OPENMPI_FABRICS="
+ openmpi_fabrics_ofed
+ openmpi_fabrics_knem"
+
+IUSE_OPENMPI_RM="
+ openmpi_rm_pbs
+ openmpi_rm_slurm"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="https://www.open-mpi.org"
+SRC_URI="https://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 -arm -ppc -x86 ~amd64-linux"
+IUSE="cma cuda cxx fortran ipv6 peruse romio valgrind
+ ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM}"
+
+REQUIRED_USE="
+ openmpi_rm_slurm? ( !openmpi_rm_pbs )
+ openmpi_rm_pbs? ( !openmpi_rm_slurm )
+"
+
+RDEPEND="
+ !sys-cluster/mpich
+ !sys-cluster/mpich2
+ !sys-cluster/nullmpi
+ >=dev-libs/libevent-2.0.22:=[threads(+)]
+ >=sys-apps/hwloc-2.0.2:=
+ sys-cluster/pmix:=
+ >=sys-libs/zlib-1.2.8-r1
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1:= )
+ openmpi_fabrics_ofed? ( sys-cluster/rdma-core )
+ openmpi_fabrics_knem? ( sys-cluster/knem )
+ openmpi_rm_pbs? ( sys-cluster/torque )
+ openmpi_rm_slurm? ( sys-cluster/slurm )
+"
+DEPEND="${RDEPEND}
+ valgrind? ( dev-debug/valgrind )"
+
+pkg_setup() {
+ fortran-2_pkg_setup
+
+ elog
+ 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."
+ elog
+}
+
+src_prepare() {
+ default
+ elibtoolize
+
+ # Avoid test which ends up looking at system mounts
+ echo "int main() { return 0; }" > test/util/opal_path_nfs.c || die
+
+ # Necessary for scalibility, see
+ # http://www.open-mpi.org/community/lists/users/2008/09/6514.php
+ echo 'oob_tcp_listen_mode = listen_thread' \
+ >> opal/etc/openmpi-mca-params.conf || die
+}
+
+src_configure() {
+ # -Werror=lto-type-mismatch, -Werror=strict-aliasing
+ # The former even prevents successfully running ./configure, but both appear
+ # at `make` time as well.
+ # https://bugs.gentoo.org/913040
+ # https://github.com/open-mpi/ompi/issues/12674
+ # https://github.com/open-mpi/ompi/issues/12675
+ append-flags -fno-strict-aliasing
+ filter-lto
+
+ local myconf=(
+ --disable-mpi-java
+ # configure takes a looooong time, but upstream currently force
+ # constriants on caching:
+ # https://github.com/open-mpi/ompi/blob/9eec56222a5c98d13790c9ee74877f1562ac27e8/config/opal_config_subdir.m4#L118
+ # so no --cache-dir for now.
+ --enable-mpi-fortran=$(usex fortran all no)
+ --enable-orterun-prefix-by-default
+ --enable-pretty-print-stacktrace
+
+ --sysconfdir="${EPREFIX}/etc/${PN}"
+
+ --with-hwloc=external
+ --with-libevent=external
+
+ # Oiriginally supposed to be re-enabled for 5.0!
+ # See https://github.com/open-mpi/ompi/issues/9697#issuecomment-1003746357
+ # and https://bugs.gentoo.org/828123#c14
+ #
+ # However as of 5.0.3 the docs still say:
+ #
+ # As such, supporting data heterogeneity is a feature that has fallen
+ # into disrepair and is currently known to be broken in this release
+ # of Open MPI.
+ --disable-heterogeneous
+
+ $(use_enable cxx mpi-cxx)
+ $(use_enable ipv6)
+ $(use_enable peruse)
+ $(use_enable romio io-romio)
+
+ $(use_with cma)
+
+ $(use_with cuda cuda "${EPREFIX}"/opt/cuda)
+ $(use_with valgrind)
+ $(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr)
+ $(use_with openmpi_rm_pbs tm)
+ $(use_with openmpi_rm_slurm slurm)
+ )
+
+ CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
+}
+
+src_compile() {
+ emake V=1
+}
+
+src_test() {
+ emake -C test check
+}
+
+src_install() {
+ default
+
+ # Remove la files, no static libs are installed and we have pkg-config
+ find "${ED}" -name '*.la' -delete || die
+}