[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 08f2fc5f55bae60beead8634f12702ae08ae5482 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Jun 9 23:51:04 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Jun 10 03:58:04 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=08f2fc5f sys-cluster/portals4: add slurm as pmi provider Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild index 7f62a9b5d..8a664a57d 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild @@ -32,12 +32,11 @@ RDEPEND=" dev-libs/libxml2 knem? ( sys-cluster/knem ) - pmi? ( sys-cluster/pmix[pmi] ) + pmi? ( || ( sys-cluster/slurm sys-cluster/pmix[pmi] ) ) ppe? ( sys-kernel/xpmem ) " DEPEND=" ${RDEPEND} - test? ( sys-cluster/pmix[pmi] ) " PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" ) @@ -47,6 +46,7 @@ REQUIRED_USE=" knem? ( transport_shmem ) reliable-udp? ( transport_udp ) + test? ( pmi ) " src_prepare() {
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/, profiles/desc/
commit: 561b72179c8840d78f69d7d024dcf38d26901936 Author: Alessandro Barbieri gmail com> AuthorDate: Thu May 26 23:52:50 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri May 27 11:28:07 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=561b7217 sys-cluster/portals4: move TRANSPORT use expand to profiles/desc Signed-off-by: Alessandro Barbieri gmail.com> profiles/desc/transport.desc | 7 +++ sys-cluster/portals4/metadata.xml| 2 -- .../portals4/portals4-1.0_alpha1_p20190109-r3.ebuild | 16 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/profiles/desc/transport.desc b/profiles/desc/transport.desc new file mode 100644 index 0..2189eb6fc --- /dev/null +++ b/profiles/desc/transport.desc @@ -0,0 +1,7 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# This file contains descriptions of TRANSPORT USE_EXPAND flags. + +shmem - Use Shared memory for on-node communication. This is currently experimental and should be avoided +udp - Use UDP for remote communication diff --git a/sys-cluster/portals4/metadata.xml b/sys-cluster/portals4/metadata.xml index a84c81260..6a7a0dbde 100644 --- a/sys-cluster/portals4/metadata.xml +++ b/sys-cluster/portals4/metadata.xml @@ -15,8 +15,6 @@ Enable PMI support Enable process-offload engine for Portals. Experimental Use reliable UDP for remote communication - Use Shared memory for on-node communication. This is currently experimental and should be avoided - Use UDP for remote communication Enable this when using MOFED V2.2+ or Qlogic InfiniPath Hardware of IB communication Enable unordered (hashed) match list searching. Experimental diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild index ace51d178..7f62a9b5d 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild @@ -22,8 +22,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" IUSE_TRANSPORT=" - transport-shmem - +transport-udp + transport_shmem + +transport_udp " IUSE="${IUSE_TRANSPORT} knem me-triggered pmi ppe reliable-udp test unordered-matching zero-mrs" @@ -43,10 +43,10 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" ) RESTRICT="!test? ( test )" REQUIRED_USE=" - ?? ( ppe transport-shmem ) + ?? ( ppe transport_shmem ) - knem? ( transport-shmem ) - reliable-udp? ( transport-udp ) + knem? ( transport_shmem ) + reliable-udp? ( transport_udp ) " src_prepare() { @@ -61,7 +61,7 @@ src_configure() { --disable-picky --disable-pmi-from-portals --disable-static - --disable-transport-ib + --disable-transport_ib --with-ev="${EPREFIX}/usr" --without-ofed @@ -69,8 +69,8 @@ src_configure() { $(use_enable ppe) $(use_enable reliable-udp) $(use_enable test testing) - $(use_enable transport-shmem) - $(use_enable transport-udp) + $(use_enable transport_shmem) + $(use_enable transport_udp) $(use_enable unordered-matching) $(use_enable zero-mrs) )
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: ef6d34f6703f781e13d7de1fdf9ae80eae0ccc35 Author: Alessandro Barbieri gmail com> AuthorDate: Sat Mar 12 03:49:22 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Mar 12 03:49:22 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef6d34f6 sys-cluster/portals4: update homepage Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild index 8aa21c7dc..ace51d178 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild @@ -12,7 +12,7 @@ inherit autotools docs optfeature DESCRIPTION="low-level network API for high-performance networking" HOMEPAGE=" - https://www.cs.sandia.gov/Portals/portals4.html + https://www.sandia.gov/portals/portals-4-0/ https://github.com/Portals4/portals4 " SRC_URI="https://github.com/Portals4/portals4/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: d419b26ec2f246a226daba5f2225c274a540b611 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jan 23 00:20:18 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jan 23 00:20:18 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d419b26e sys-cluster/portals4: ofed is gone, remove IB transport Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/metadata.xml | 1 - ...09-r2.ebuild => portals4-1.0_alpha1_p20190109-r3.ebuild} | 13 +++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sys-cluster/portals4/metadata.xml b/sys-cluster/portals4/metadata.xml index cccb677bb..a84c81260 100644 --- a/sys-cluster/portals4/metadata.xml +++ b/sys-cluster/portals4/metadata.xml @@ -15,7 +15,6 @@ Enable PMI support Enable process-offload engine for Portals. Experimental Use reliable UDP for remote communication - Use IB for remote communication Use Shared memory for on-node communication. This is currently experimental and should be avoided Use UDP for remote communication Enable this when using MOFED V2.2+ or Qlogic InfiniPath Hardware of IB communication diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild similarity index 89% rename from sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild rename to sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild index 92fc7c11f..8aa21c7dc 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,6 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" IUSE_TRANSPORT=" - transport-ib transport-shmem +transport-udp " @@ -35,7 +34,6 @@ RDEPEND=" knem? ( sys-cluster/knem ) pmi? ( sys-cluster/pmix[pmi] ) ppe? ( sys-kernel/xpmem ) - transport-ib? ( sys-fabric/ofed ) " DEPEND=" ${RDEPEND} @@ -46,7 +44,6 @@ PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" ) RESTRICT="!test? ( test )" REQUIRED_USE=" ?? ( ppe transport-shmem ) - ^^ ( transport-ib transport-udp ) knem? ( transport-shmem ) reliable-udp? ( transport-udp ) @@ -64,13 +61,14 @@ src_configure() { --disable-picky --disable-pmi-from-portals --disable-static + --disable-transport-ib --with-ev="${EPREFIX}/usr" + --without-ofed $(use_enable me-triggered) $(use_enable ppe) $(use_enable reliable-udp) $(use_enable test testing) - $(use_enable transport-ib) $(use_enable transport-shmem) $(use_enable transport-udp) $(use_enable unordered-matching) @@ -92,11 +90,6 @@ src_configure() { else myconf+=( "--without-pmi" ) fi - if use transport-ib; then - myconf+=( "--with-ofed=${EPREFIX}/usr" ) - else - myconf+=( "--without-ofed" ) - fi econf "${myconf[@]}" }
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: b82f37494912219ddc0cae6814b0b516b75b0a8f Author: Alessandro Barbieri gmail com> AuthorDate: Tue Aug 24 06:10:25 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Aug 24 06:15:37 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b82f3749 sys-cluster/portals4: ummunotify as optfeature Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild index 6bc3a1756..de0c95618 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild @@ -8,7 +8,7 @@ DOCS_BUILDER="doxygen" DOCS_CONFIG_NAME="doxygen.conf" DOCS_DIR="doc" -inherit autotools docs +inherit autotools docs optfeature DESCRIPTION="low-level network API for high-performance networking" HOMEPAGE=" @@ -112,3 +112,7 @@ src_install() { einstalldocs find "${D}" -name '*.la' -delete || die } + +pkg_postinst() { + optfeature "Required for correctness with the IB transport. Ensure that /dev/ummunotify is readable/writable by the user running the portals software." sys-kernel/ummunotify +}
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 94352d06af0c60dfcdac0c5e613a61a22e5ab35f Author: Alessandro Barbieri gmail com> AuthorDate: Sun Aug 22 01:15:45 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Aug 22 01:17:38 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94352d06 sys-cluster/portals4: depend on pmix for testing Closes: https://bugs.gentoo.org/806262 Signed-off-by: Alessandro Barbieri gmail.com> .../portals4/portals4-1.0_alpha1_p20190109-r2.ebuild| 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild index 3afc7b43e..6bc3a1756 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild @@ -21,7 +21,13 @@ S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="knem me-triggered pmi ppe reliable-udp test transport-ib transport-shmem +transport-udp unordered-matching zero-mrs" +IUSE_TRANSPORT=" + transport-ib + transport-shmem + +transport-udp +" +IUSE_EXPAND="TRANSPORT" +IUSE="${IUSE_TRANSPORT} knem me-triggered pmi ppe reliable-udp test unordered-matching zero-mrs" RDEPEND=" dev-libs/libev @@ -32,7 +38,10 @@ RDEPEND=" ppe? ( sys-kernel/xpmem ) transport-ib? ( sys-fabric/ofed ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( sys-cluster/pmix[pmi] ) +" PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" ) RESTRICT="!test? ( test )"
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/, sys-cluster/portals4/files/
commit: 191604ec08bfc3159aaa3fea74c89eb022b4fb3e Author: Alessandro Barbieri gmail com> AuthorDate: Mon Aug 9 00:29:58 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Aug 9 00:31:55 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=191604ec sys-cluster/portals4: add upstream patch Signed-off-by: Alessandro Barbieri gmail.com> ...4-fix-PPE-related-compile-and-link-errors.patch | 58 ++ ...ild => portals4-1.0_alpha1_p20190109-r2.ebuild} | 1 + 2 files changed, 59 insertions(+) diff --git a/sys-cluster/portals4/files/portals4-fix-PPE-related-compile-and-link-errors.patch b/sys-cluster/portals4/files/portals4-fix-PPE-related-compile-and-link-errors.patch new file mode 100644 index 0..a666ccb2c --- /dev/null +++ b/sys-cluster/portals4/files/portals4-fix-PPE-related-compile-and-link-errors.patch @@ -0,0 +1,58 @@ +From 3210ada117ddaa4591c5de7b2c86b86a3515f513 Mon Sep 17 00:00:00 2001 +From: Todd Kordenbrock +Date: Sun, 8 Aug 2021 12:49:18 -0500 +Subject: [PATCH] Fix PPE related compile and link errors. + +--- + src/ib/Makefile.am | 10 ++ + src/ib/ptl_mr.c| 5 - + 2 files changed, 10 insertions(+), 5 deletions(-) + +--- a/src/ib/Makefile.am b/src/ib/Makefile.am +@@ -97,9 +97,9 @@ endif + else + # PPE - (implies no SHMEM; IB optional) + +-libportals_ib_la_CPPFLAGS = -DIS_LIGHT_LIB -I$(top_srcdir)/include $(XPMEM_CPPFLAGS) +-libportals_ib_la_LIBADD = $(XPMEM_LIBS) +-libportals_ib_la_LDFLAGS = $(XPMEM_LDFLAGS) ++libportals_ib_la_CPPFLAGS = -DIS_LIGHT_LIB -I$(top_srcdir)/include $(ev_CPPFLAGS) $(XPMEM_CPPFLAGS) ++libportals_ib_la_LIBADD = $(ev_LIBS) $(XPMEM_LIBS) ++libportals_ib_la_LDFLAGS = $(ev_LDFLAGS) $(XPMEM_LDFLAGS) + libportals_ib_la_SOURCES = \ + ptl_ct_common.c \ + ptl_ct_common.h \ +@@ -205,7 +205,9 @@ endif + if WITH_TRANSPORT_UDP + libportals_ppe_la_SOURCES += \ + ptl_iface_udp.c \ +- ptl_udp.c ++ ptl_udp.c \ ++ptl_rudp.h \ ++ptl_rudp.c + endif + + endif +--- a/src/ib/ptl_mr.c b/src/ib/ptl_mr.c +@@ -335,6 +335,7 @@ int mr_lookup(ni_t *ni, struct ni_mr_tree *tree, void *start, + + mr = NULL; + ++#if !IS_PPE + if (global_umn_init == 1){ + + while (link) { +@@ -407,8 +408,10 @@ int mr_lookup(ni_t *ni, struct ni_mr_tree *tree, void *start, + mr = NULL; + } + } ++else ++#endif + /* No memory registration cache enabled */ +-else { ++{ + INIT_LIST_HEAD(&mr_list); + } + /* Insert the new node */ diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild similarity index 96% rename from sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild rename to sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild index 2498d1772..3afc7b43e 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild @@ -34,6 +34,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" ) RESTRICT="!test? ( test )" REQUIRED_USE=" ?? ( ppe transport-shmem )
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 8efe43b784e4d448da10aa6e6ec8104799be22f5 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Aug 3 08:56:59 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Aug 3 08:56:59 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8efe43b7 sys-cluster/portals4: shorten description Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild index 93038b580..2498d1772 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild @@ -10,7 +10,7 @@ DOCS_DIR="doc" inherit autotools docs -DESCRIPTION="low-level network API for high-performance networking on high-performance computing systems" +DESCRIPTION="low-level network API for high-performance networking" HOMEPAGE=" https://www.cs.sandia.gov/Portals/portals4.html https://github.com/Portals4/portals4
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 7a83643d908379846bc27f37b57f1efdb20d18ef Author: Alessandro Barbieri gmail com> AuthorDate: Tue Aug 3 08:39:01 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Aug 3 08:39:01 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a83643d sys-cluster/portals4: revbump Signed-off-by: Alessandro Barbieri gmail.com> 0_alpha1_p20190109.ebuild => portals4-1.0_alpha1_p20190109-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild similarity index 100% rename from sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild rename to sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r1.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 2ee6b4ceb638e957fe98ded58f3022132d31d5e1 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Aug 3 08:31:26 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Aug 3 08:31:26 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ee6b4ce sys-cluster/portals4: update EAPI 7 -> 8 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/metadata.xml| 2 +- .../portals4/portals4-1.0_alpha1_p20190109.ebuild| 20 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sys-cluster/portals4/metadata.xml b/sys-cluster/portals4/metadata.xml index 4ed095ca3..cccb677bb 100644 --- a/sys-cluster/portals4/metadata.xml +++ b/sys-cluster/portals4/metadata.xml @@ -13,7 +13,7 @@ Use sys-cluster/knem for bulk message transfer Enable extended (non-standard) triggered operations. Experimental Enable PMI support - + Enable process-offload engine for Portals. Experimental Use reliable UDP for remote communication Use IB for remote communication Use Shared memory for on-node communication. This is currently experimental and should be avoided diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild index a3a6287fc..93038b580 100644 --- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild @@ -1,7 +1,7 @@ # Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 COMMIT="71fc5d04c9f8fc9818a05cdc608e2d13af825d83" DOCS_BUILDER="doxygen" @@ -21,7 +21,7 @@ S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="knem me-triggered pmi reliable-udp test transport-ib transport-shmem +transport-udp unordered-matching zero-mrs" #ppe +IUSE="knem me-triggered pmi ppe reliable-udp test transport-ib transport-shmem +transport-udp unordered-matching zero-mrs" RDEPEND=" dev-libs/libev @@ -29,19 +29,19 @@ RDEPEND=" knem? ( sys-cluster/knem ) pmi? ( sys-cluster/pmix[pmi] ) + ppe? ( sys-kernel/xpmem ) transport-ib? ( sys-fabric/ofed ) " -# ppe? ( sys-cluster/xpmem ) DEPEND="${RDEPEND}" RESTRICT="!test? ( test )" REQUIRED_USE=" + ?? ( ppe transport-shmem ) ^^ ( transport-ib transport-udp ) knem? ( transport-shmem ) reliable-udp? ( transport-udp ) " -# ^^ ( ppe transport-shmem ) src_prepare() { default @@ -58,6 +58,7 @@ src_configure() { --with-ev="${EPREFIX}/usr" $(use_enable me-triggered) + $(use_enable ppe) $(use_enable reliable-udp) $(use_enable test testing) $(use_enable transport-ib) @@ -66,18 +67,17 @@ src_configure() { $(use_enable unordered-matching) $(use_enable zero-mrs) ) -# $(use_enable ppe) if use knem; then myconf+=( "--with-knem=${EPREFIX}/usr" ) else myconf+=( "--without-knem" ) fi -# if use ppe; then -# myconf+=( "--with-xpmem=${EPREFIX}/usr" ) -# else -# myconf+=( "--without-xpmem" ) -# fi + if use ppe; then + myconf+=( "--with-xpmem=${EPREFIX}/usr" ) + else + myconf+=( "--without-xpmem" ) + fi if use pmi; then myconf+=( "--with-pmi=${EPREFIX}/usr" ) else
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/portals4/
commit: 1238ea9878dafbd8c8cad041d27028fa8ad9b9e0 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Jul 30 18:08:45 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Jul 30 18:09:03 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1238ea98 sys-cluster/portals4: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/portals4/Manifest | 1 + sys-cluster/portals4/metadata.xml | 24 + .../portals4/portals4-1.0_alpha1_p20190109.ebuild | 104 + 3 files changed, 129 insertions(+) diff --git a/sys-cluster/portals4/Manifest b/sys-cluster/portals4/Manifest new file mode 100644 index 0..a951bf40a --- /dev/null +++ b/sys-cluster/portals4/Manifest @@ -0,0 +1 @@ +DIST portals4-1.0_alpha1_p20190109.tar.gz 759395 BLAKE2B dd610742b2e7d5e79c192a4ea184c574c2341c721e0b9be65e67800698a1973e948922969d4efbc976a879451398a189cdb12ad8a10fe5ae7d9e1017c3e9 SHA512 84805f58293fb9d5069e3e6b4909385dd7ffad0e32b54bbbd297e50939142ece3d424cc301a2b30144ef38d37d579a56f16e36f59115db851ec444edd58da1ca diff --git a/sys-cluster/portals4/metadata.xml b/sys-cluster/portals4/metadata.xml new file mode 100644 index 0..4ed095ca3 --- /dev/null +++ b/sys-cluster/portals4/metadata.xml @@ -0,0 +1,24 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + lssndrbarbi...@gmail.com + Alessandro Barbieri + + + https://github.com/Portals4/portals4/issues + Portals4/portals4 + + + Use sys-cluster/knem for bulk message transfer + Enable extended (non-standard) triggered operations. Experimental + Enable PMI support + + Use reliable UDP for remote communication + Use IB for remote communication + Use Shared memory for on-node communication. This is currently experimental and should be avoided + Use UDP for remote communication + Enable this when using MOFED V2.2+ or Qlogic InfiniPath Hardware of IB communication + Enable unordered (hashed) match list searching. Experimental + + diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild new file mode 100644 index 0..a3a6287fc --- /dev/null +++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109.ebuild @@ -0,0 +1,104 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +COMMIT="71fc5d04c9f8fc9818a05cdc608e2d13af825d83" +DOCS_BUILDER="doxygen" +DOCS_CONFIG_NAME="doxygen.conf" +DOCS_DIR="doc" + +inherit autotools docs + +DESCRIPTION="low-level network API for high-performance networking on high-performance computing systems" +HOMEPAGE=" + https://www.cs.sandia.gov/Portals/portals4.html + https://github.com/Portals4/portals4 +" +SRC_URI="https://github.com/Portals4/portals4/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="knem me-triggered pmi reliable-udp test transport-ib transport-shmem +transport-udp unordered-matching zero-mrs" #ppe + +RDEPEND=" + dev-libs/libev + dev-libs/libxml2 + + knem? ( sys-cluster/knem ) + pmi? ( sys-cluster/pmix[pmi] ) + transport-ib? ( sys-fabric/ofed ) +" +# ppe? ( sys-cluster/xpmem ) +DEPEND="${RDEPEND}" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ^^ ( transport-ib transport-udp ) + + knem? ( transport-shmem ) + reliable-udp? ( transport-udp ) +" +# ^^ ( ppe transport-shmem ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-fast + --disable-kitten + --disable-picky + --disable-pmi-from-portals + --disable-static + --with-ev="${EPREFIX}/usr" + + $(use_enable me-triggered) + $(use_enable reliable-udp) + $(use_enable test testing) + $(use_enable transport-ib) + $(use_enable transport-shmem) + $(use_enable transport-udp) + $(use_enable unordered-matching) + $(use_enable zero-mrs) + ) +# $(use_enable ppe) + + if use knem; then + myconf+=( "--with-knem=${EPREFIX}/usr" ) + else + myconf+=( "--without-knem" ) + fi +# if use ppe; then +# myconf+=( "--with-xpmem=${EPREFIX}/usr" ) +# else +# myconf+=( "--without-xpmem" ) +# fi + if use pmi; then + myconf+=( "--with-pmi=${EPREFIX}/usr" ) + else + myconf+=( "--without-pmi" ) + fi + if use transport-ib; then +