public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2014-06-03  1:39 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2014-06-03  1:39 UTC (permalink / raw
  To: gentoo-commits

commit:     022d6f2e0651de8e9cac7deb379bc5b4548e0ec5
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 01:38:57 2014 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 01:39:05 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=022d6f2e

Bump (#511018).  Add dep on zlib and drop la files (#402095)

Package-Manager: portage-2.2.8-r1

---
 sys-cluster/openmpi/ChangeLog            |   7 +-
 sys-cluster/openmpi/openmpi-1.8.1.ebuild | 167 +++++++++++++++++++++++++++++++
 2 files changed, 173 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 5efe6ff..80e0ae9 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for sys-cluster/openmpi
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.1 (03 Jun 2014)
+
+  03 Jun 2014; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.1.ebuild:
+  Bump (#511018). Add dep on zlib and drop la files (#402095)
+
 *openmpi-1.6.5 (11 Jul 2013)
 
   11 Jul 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.6.4-r1.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.8.1.ebuild b/sys-cluster/openmpi/openmpi-1.8.1.ebuild
new file mode 100644
index 0000000..73db000
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	dev-libs/libevent
+	>=sys-apps/hwloc-1.7.2
+	sys-libs/zlib
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-08-29 20:28 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-08-29 20:28 UTC (permalink / raw
  To: gentoo-commits

commit:     c5c34b346b419dcd5ca5e0ea55205623336e8fc0
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 20:28:04 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 20:28:04 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c5c34b34

sys-cluster/openmpi: slot-dep on libevent

Thanks to Arfrever Frehtes Taifersar Arahesis for the report and fix, #692748.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>

 .../openmpi/{openmpi-4.0.1-r1.ebuild => openmpi-4.0.1-r2.ebuild}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild b/sys-cluster/openmpi/openmpi-4.0.1-r2.ebuild
similarity index 98%
rename from sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild
rename to sys-cluster/openmpi/openmpi-4.0.1-r2.ebuild
index 35b8c7ea9..489306f51 100644
--- a/sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.0.1-r2.ebuild
@@ -47,7 +47,7 @@ MPI_UNCLASSED_DEP_STR="
 "
 
 CDEPEND="
-	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
+	>=dev-libs/libevent-2.0.22:=[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-06-10 20:38 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-06-10 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     ee8ec19ca3131871f8833d8403400be96316c1f0
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 20:20:05 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 20:20:05 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ee8ec19c

sys-cluster/openmpi: bump 3.0.4

Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sys-cluster/openmpi/{openmpi-3.0.3.ebuild => openmpi-3.0.4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-3.0.3.ebuild b/sys-cluster/openmpi/openmpi-3.0.4.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-3.0.3.ebuild
rename to sys-cluster/openmpi/openmpi-3.0.4.ebuild
index fd6168349..bcb60baa5 100644
--- a/sys-cluster/openmpi/openmpi-3.0.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-06-10 20:38 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-06-10 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     161ef9594393b6ae66bdf3d584378c85f98bea5f
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 20:38:12 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 20:38:12 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=161ef959

sys-cluster/openmpi: bump 3.1.4

Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sys-cluster/openmpi/{openmpi-3.1.3.ebuild => openmpi-3.1.4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-3.1.3.ebuild b/sys-cluster/openmpi/openmpi-3.1.4.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-3.1.3.ebuild
rename to sys-cluster/openmpi/openmpi-3.1.4.ebuild
index fd6168349..bcb60baa5 100644
--- a/sys-cluster/openmpi/openmpi-3.1.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-06-10 14:53 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-06-10 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8214c741889ba6de73f8a106a53d067e2a376d6d
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 14:53:05 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 14:53:05 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8214c741

sys-cluster/openmpi: drop unused numa flag

Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sys-cluster/openmpi/{openmpi-4.0.1.ebuild => openmpi-4.0.1-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-4.0.1.ebuild b/sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild
similarity index 98%
rename from sys-cluster/openmpi/openmpi-4.0.1.ebuild
rename to sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild
index 670d49012..35b8c7ea9 100644
--- a/sys-cluster/openmpi/openmpi-4.0.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.0.1-r1.ebuild
@@ -31,7 +31,7 @@ SRC_URI="http://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P}
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java numa romio
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java romio
 	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
 
 REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
@@ -49,7 +49,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP},numa?]
+	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1:= )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-04-08 21:56 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-04-08 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     9b561f5c757362a404c9a7505b7344602a649ad3
Author:     Jian Cao <sworden.cao <AT> gmail <DOT> com>
AuthorDate: Thu Apr  4 20:46:56 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 21:56:12 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9b561f5c

sys-cluster/openmpi: specify external libraries and version bump

Closes: https://bugs.gentoo.org/671510
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jian Cao <sworden.cao <AT> gmail.com>
Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>

 sys-cluster/openmpi/{openmpi-4.0.0.ebuild => openmpi-4.0.1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-4.0.0.ebuild b/sys-cluster/openmpi/openmpi-4.0.1.ebuild
similarity index 97%
rename from sys-cluster/openmpi/openmpi-4.0.0.ebuild
rename to sys-cluster/openmpi/openmpi-4.0.1.ebuild
index 5fd6e1b85..670d49012 100644
--- a/sys-cluster/openmpi/openmpi-4.0.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.0.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 FORTRAN_NEEDED=fortran
 
-inherit cuda eapi7-ver flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs multilib-minimal mpi
+inherit cuda eapi7-ver flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs multilib multilib-minimal mpi
 
 MY_P=${P/-mpi}
 S=${WORKDIR}/${MY_P}
@@ -106,8 +106,10 @@ multilib_src_configure() {
 		--enable-pretty-print-stacktrace \
 		--enable-orterun-prefix-by-default \
 		--with-hwloc="${EPREFIX}/usr" \
+		--with-hwloc-libdir="${EPREFIX}/usr/$(get_libdir)" \
 		--with-libltdl="${EPREFIX}/usr" \
 		--with-libevent="${EPREFIX}/usr" \
+		--with-libevent-libdir="${EPREFIX}/usr/$(get_libdir)" \
 		--enable-mpi-fortran=$(usex fortran all no) \
 		$(use_enable cxx mpi-cxx) \
 		$(use_with cma) \
@@ -144,8 +146,6 @@ multilib_src_install() {
 		rm \
 			"${ED}"/$(mpi_root)/usr/include/mpif* \
 			"${ED}"/$(mpi_root)/usr/bin/mpif* \
-			"${ED}"/$(mpi_root)/usr/bin/oshfort \
-			"${ED}"/$(mpi_root)/usr/bin/shmemfort \
 			|| die
 	fi
 }


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2019-02-26  2:59 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2019-02-26  2:59 UTC (permalink / raw
  To: gentoo-commits

commit:     d6caf43906b82494ac010276b3b79769cc8e5f79
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 26 02:53:07 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Feb 26 02:58:52 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d6caf439

sys-cluster/openmpi: bump 2.1.6

Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-cluster/openmpi/{openmpi-2.1.5.ebuild => openmpi-2.1.6.ebuild} | 2 +-
 sys-cluster/openmpi/openmpi-4.0.0.ebuild                           | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.5.ebuild b/sys-cluster/openmpi/openmpi-2.1.6.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-2.1.5.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.6.ebuild
index 9e32c2c2a..f616b2844 100644
--- a/sys-cluster/openmpi/openmpi-2.1.5.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

diff --git a/sys-cluster/openmpi/openmpi-4.0.0.ebuild b/sys-cluster/openmpi/openmpi-4.0.0.ebuild
index 8e575946c..5fd6e1b85 100644
--- a/sys-cluster/openmpi/openmpi-4.0.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -51,7 +51,7 @@ CDEPEND="
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1:= )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
 	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
@@ -111,7 +111,7 @@ multilib_src_configure() {
 		--enable-mpi-fortran=$(usex fortran all no) \
 		$(use_enable cxx mpi-cxx) \
 		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(multilib_native_use_with cuda cuda "${EPREFIX}"/opt/cuda) \
 		$(use_enable romio io-romio) \
 		$(use_enable heterogeneous) \
 		$(use_enable ipv6) \


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-11-19  4:16 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-11-19  4:16 UTC (permalink / raw
  To: gentoo-commits

commit:     2c00a30e20f3fa293db9d0e4216369dff0e3beb0
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 04:13:27 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 04:16:34 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2c00a30e

sys-cluster/openmpi: bump 4.0.0

Also migrate to eapi7-ver.  Blocked on going directly to EAPI 7 by java
eclasses.

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>

 sys-cluster/openmpi/openmpi-4.0.0.ebuild | 172 +++++++++++++++++++++++++++++++
 1 file changed, 172 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-4.0.0.ebuild b/sys-cluster/openmpi/openmpi-4.0.0.ebuild
new file mode 100644
index 000000000..8e575946c
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-4.0.0.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eapi7-ver flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java numa romio
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	!sys-cluster/pmix
+"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# 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
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--with-libevent="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm \
+			"${ED}"/$(mpi_root)/usr/include/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/oshfort \
+			"${ED}"/$(mpi_root)/usr/bin/shmemfort \
+			|| die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
+	fi
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-11-14 15:51 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-11-14 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     33e516d3e4f7caec9df9b7f4cb9390c564f732bd
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 14 15:44:47 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Nov 14 15:51:15 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=33e516d3

sys-cluster/openmpi: bump 3.1.3

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>

 sys-cluster/openmpi/{openmpi-3.1.2.ebuild => openmpi-3.1.3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-3.1.2.ebuild b/sys-cluster/openmpi/openmpi-3.1.3.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-3.1.2.ebuild
rename to sys-cluster/openmpi/openmpi-3.1.3.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-10-29 22:17 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-10-29 22:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e1f86e60c786c9814c8176ac08db3ddbdf1569a7
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 29 22:16:54 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Oct 29 22:16:54 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e1f86e60

sys-cluster/openmpi: bump 3.0.3

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-cluster/openmpi/{openmpi-3.0.2.ebuild => openmpi-3.0.3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-3.0.2.ebuild b/sys-cluster/openmpi/openmpi-3.0.3.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-3.0.2.ebuild
rename to sys-cluster/openmpi/openmpi-3.0.3.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-09-11 14:23 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-09-11 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     516c6ec881fc37358d3a60e327130e0d3ca58e5d
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 11 14:22:48 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Sep 11 14:22:48 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=516c6ec8

sys-cluster/openmpi: dep on v1 hwloc

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/openmpi-1.10.7.ebuild | 2 +-
 sys-cluster/openmpi/openmpi-1.8.8.ebuild  | 2 +-
 sys-cluster/openmpi/openmpi-2.1.5.ebuild  | 2 +-
 sys-cluster/openmpi/openmpi-3.0.2.ebuild  | 2 +-
 sys-cluster/openmpi/openmpi-3.1.2.ebuild  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.7.ebuild b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
index 95b8a3b1b..de982dc42 100644
--- a/sys-cluster/openmpi/openmpi-1.10.7.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
@@ -56,7 +56,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP},numa?]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )

diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
index 7106182d8..b7fa7fabd 100644
--- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -57,7 +57,7 @@ MPI_UNCLASSED_DEP_STR="
 RDEPEND="
 	dev-libs/libevent
 	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
+	<sys-apps/hwloc-2[numa?]
 	sys-libs/zlib
 	cuda? ( dev-util/nvidia-cuda-toolkit )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )

diff --git a/sys-cluster/openmpi/openmpi-2.1.5.ebuild b/sys-cluster/openmpi/openmpi-2.1.5.ebuild
index d7beac31f..9e32c2c2a 100644
--- a/sys-cluster/openmpi/openmpi-2.1.5.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.5.ebuild
@@ -49,7 +49,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )

diff --git a/sys-cluster/openmpi/openmpi-3.0.2.ebuild b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
index 10ba14eca..fd6168349 100644
--- a/sys-cluster/openmpi/openmpi-3.0.2.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
@@ -49,7 +49,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )

diff --git a/sys-cluster/openmpi/openmpi-3.1.2.ebuild b/sys-cluster/openmpi/openmpi-3.1.2.ebuild
index 10ba14eca..fd6168349 100644
--- a/sys-cluster/openmpi/openmpi-3.1.2.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.1.2.ebuild
@@ -49,7 +49,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-08-27 14:36 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-08-27 14:36 UTC (permalink / raw
  To: gentoo-commits

commit:     16b12bb4aa67f6ef986beea8be8a9156c4e6c545
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 27 14:35:43 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 27 14:35:43 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=16b12bb4

sys-cluster/openmpi: bump 3.1.2

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/{openmpi-3.1.1.ebuild => openmpi-3.1.2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-3.1.1.ebuild b/sys-cluster/openmpi/openmpi-3.1.2.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-3.1.1.ebuild
rename to sys-cluster/openmpi/openmpi-3.1.2.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-08-20 20:38 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-08-20 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fa8c6ad6be2c3d18a33709e9fe423f74a07f9bfc
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 20:38:43 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 20:38:43 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=fa8c6ad6

sys-cluster/openmpi: bump 2.1.5

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/{openmpi-2.1.4.ebuild => openmpi-2.1.5.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.4.ebuild b/sys-cluster/openmpi/openmpi-2.1.5.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-2.1.4.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.5.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-08-13 15:07 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-08-13 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     b8af25a6bd7e7e1d690b5d887f5b0b212ae4639b
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 13 15:06:40 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 13 15:06:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b8af25a6

sys-cluster/openmpi: bump 2.1.4

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/{openmpi-2.1.3.ebuild => openmpi-2.1.4.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.3.ebuild b/sys-cluster/openmpi/openmpi-2.1.4.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-2.1.3.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.4.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-07-02 15:26 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-07-02 15:26 UTC (permalink / raw
  To: gentoo-commits

commit:     497f018b5aea99c988b098e803b30e3f9577070f
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  2 15:26:10 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Jul  2 15:26:10 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=497f018b

sys-cluster/openmpi: bump 3.1.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/{openmpi-3.1.0.ebuild => openmpi-3.1.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-3.1.0.ebuild b/sys-cluster/openmpi/openmpi-3.1.1.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-3.1.0.ebuild
rename to sys-cluster/openmpi/openmpi-3.1.1.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-06  0:49 Matthias Maier
  0 siblings, 0 replies; 72+ messages in thread
From: Matthias Maier @ 2018-06-06  0:49 UTC (permalink / raw
  To: gentoo-commits

commit:     224c131fecdfa6923201bac9473e59a549b5a451
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  6 00:48:05 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jun  6 00:49:16 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=224c131f

sys-cluster/openmpi: remove obsolete blocker

intel-common does not install stray header files any more.

Closes: https://bugs.gentoo.org/575220
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/openmpi/openmpi-1.10.7.ebuild | 1 -
 sys-cluster/openmpi/openmpi-1.8.8.ebuild  | 1 -
 sys-cluster/openmpi/openmpi-2.0.4.ebuild  | 1 -
 sys-cluster/openmpi/openmpi-2.1.3.ebuild  | 1 -
 sys-cluster/openmpi/openmpi-3.0.2.ebuild  | 1 -
 sys-cluster/openmpi/openmpi-3.1.0.ebuild  | 1 -
 6 files changed, 6 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.7.ebuild b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
index 04274d323..95b8a3b1b 100644
--- a/sys-cluster/openmpi/openmpi-1.10.7.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
@@ -47,7 +47,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 	vt? (
 		!dev-libs/libotf

diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
index c703b9aa9..7106182d8 100644
--- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -48,7 +48,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 	vt? (
 		!dev-libs/libotf

diff --git a/sys-cluster/openmpi/openmpi-2.0.4.ebuild b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
index fa5e73f45..bfd34c9b0 100644
--- a/sys-cluster/openmpi/openmpi-2.0.4.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
@@ -47,7 +47,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 "
 

diff --git a/sys-cluster/openmpi/openmpi-2.1.3.ebuild b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
index 1b746d2f1..d7beac31f 100644
--- a/sys-cluster/openmpi/openmpi-2.1.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
@@ -43,7 +43,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 "
 

diff --git a/sys-cluster/openmpi/openmpi-3.0.2.ebuild b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
index e4a066b09..10ba14eca 100644
--- a/sys-cluster/openmpi/openmpi-3.0.2.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
@@ -43,7 +43,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 "
 

diff --git a/sys-cluster/openmpi/openmpi-3.1.0.ebuild b/sys-cluster/openmpi/openmpi-3.1.0.ebuild
index e4a066b09..10ba14eca 100644
--- a/sys-cluster/openmpi/openmpi-3.1.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-3.1.0.ebuild
@@ -43,7 +43,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
-	!>=dev-libs/intel-common-16[mpi]
 	!sys-cluster/pmix
 "
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-05 16:41 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-06-05 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     5c905d344459c1c8ac4a31bdbaaf720a88e80458
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  5 16:37:09 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 16:41:30 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5c905d34

sys-cluster/openmpi: bump 3.1.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-cluster/openmpi/openmpi-3.1.0.ebuild | 174 +++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-3.1.0.ebuild b/sys-cluster/openmpi/openmpi-3.1.0.ebuild
new file mode 100644
index 000000000..e4a066b09
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-3.1.0.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java numa romio
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
+"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# 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
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--with-libevent="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm \
+			"${ED}"/$(mpi_root)/usr/include/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/oshfort \
+			"${ED}"/$(mpi_root)/usr/bin/shmemfort \
+			|| die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
+	fi
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-05 16:41 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-06-05 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     6ad9af83c1a0b28aa05acaacdb3c4eba1580219e
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  5 16:04:18 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 16:41:20 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6ad9af83

sys-cluster/openmpi: sys-cluster/pmix blocker

Quick resolution of #652432.  The ideal fix would be to have openmpi use
the system install of pmix, but neither pmix nor most of its
dependencies are using multilib.  In the meantime, resolution is
blocking recent releases of openmpi (#656080).

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-cluster/openmpi/openmpi-1.10.7.ebuild | 3 ++-
 sys-cluster/openmpi/openmpi-1.8.8.ebuild  | 3 ++-
 sys-cluster/openmpi/openmpi-2.0.4.ebuild  | 1 +
 sys-cluster/openmpi/openmpi-2.1.3.ebuild  | 1 +
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.7.ebuild b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
index 2c13c88e7..04274d323 100644
--- a/sys-cluster/openmpi/openmpi-1.10.7.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -48,6 +48,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 
 MPI_UNCLASSED_DEP_STR="
 	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
 	vt? (
 		!dev-libs/libotf
 		!app-text/lcdf-typetools

diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
index 9cc09c47f..c703b9aa9 100644
--- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -49,6 +49,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 
 MPI_UNCLASSED_DEP_STR="
 	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
 	vt? (
 		!dev-libs/libotf
 		!app-text/lcdf-typetools

diff --git a/sys-cluster/openmpi/openmpi-2.0.4.ebuild b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
index 3ef7466a7..fa5e73f45 100644
--- a/sys-cluster/openmpi/openmpi-2.0.4.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
@@ -48,6 +48,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 
 MPI_UNCLASSED_DEP_STR="
 	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
 "
 
 CDEPEND="

diff --git a/sys-cluster/openmpi/openmpi-2.1.3.ebuild b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
index c422e7e8e..1b746d2f1 100644
--- a/sys-cluster/openmpi/openmpi-2.1.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
@@ -44,6 +44,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 
 MPI_UNCLASSED_DEP_STR="
 	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
 "
 
 CDEPEND="


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-05 16:41 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-06-05 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7859efaaa36018f8db29ee1df6067856aa046e29
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  5 16:14:14 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 16:41:24 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7859efaa

sys-cluster/openmpi: bump 3.0.2

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-cluster/openmpi/openmpi-3.0.2.ebuild | 174 +++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-3.0.2.ebuild b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
new file mode 100644
index 000000000..e4a066b09
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-3.0.2.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java numa romio
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
+	!sys-cluster/pmix
+"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# 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
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--with-libevent="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm \
+			"${ED}"/$(mpi_root)/usr/include/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/oshfort \
+			"${ED}"/$(mpi_root)/usr/bin/shmemfort \
+			|| die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
+	fi
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-05 16:41 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-06-05 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     ec65b5bbf765093506469d39b7daaf99abff43e7
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue May  8 14:51:57 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 16:41:16 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ec65b5bb

sys-cluster/openmpi: bump 2.0.4

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-cluster/openmpi/{openmpi-2.0.3.ebuild => openmpi-2.0.4.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.0.3.ebuild b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
similarity index 98%
rename from sys-cluster/openmpi/openmpi-2.0.3.ebuild
rename to sys-cluster/openmpi/openmpi-2.0.4.ebuild
index 559289ae8..3ef7466a7 100644
--- a/sys-cluster/openmpi/openmpi-2.0.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -53,7 +53,7 @@ MPI_UNCLASSED_DEP_STR="
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2018-06-05 16:41 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2018-06-05 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d3654bdf8fb5ba43523f355994ddf1ee28391f72
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue May  8 14:41:56 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 16:41:12 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d3654bdf

sys-cluster/openmpi: bump 2.1.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-cluster/openmpi/{openmpi-2.1.2.ebuild => openmpi-2.1.3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.2.ebuild b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-2.1.2.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.3.ebuild
index 15e30ff32..c422e7e8e 100644
--- a/sys-cluster/openmpi/openmpi-2.1.2.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-09-22 16:20 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-09-22 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     5cc0a97950e184d9c1a3f8a5c5829170242a6dc6
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 16:20:17 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 16:20:17 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5cc0a979

sys-cluster/openmpi: bump 2.1.2

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-cluster/openmpi/{openmpi-2.1.1.ebuild => openmpi-2.1.2.ebuild} | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.1.ebuild b/sys-cluster/openmpi/openmpi-2.1.2.ebuild
similarity index 96%
rename from sys-cluster/openmpi/openmpi-2.1.1.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.2.ebuild
index 0b22945ee..15e30ff32 100644
--- a/sys-cluster/openmpi/openmpi-2.1.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.2.ebuild
@@ -21,7 +21,6 @@ IUSE_OPENMPI_RM="
 
 IUSE_OPENMPI_OFED_FEATURES="
 	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
 	openmpi_ofed_features_udcm
 	openmpi_ofed_features_rdmacm
 	openmpi_ofed_features_dynamic-sl"
@@ -39,7 +38,6 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_rm_pbs? ( !openmpi_rm_slurm )
 	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
 	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
 	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
 	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
 	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
@@ -126,7 +124,6 @@ multilib_src_configure() {
 		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
 		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
 		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
 		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
 		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
 		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-05-10 20:23 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-05-10 20:23 UTC (permalink / raw
  To: gentoo-commits

commit:     df3ffa0273fc99d2abd4f26371e223b278ab9fd5
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 20:22:34 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed May 10 20:22:34 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=df3ffa02

sys-cluster/openmpi: bump 2.1.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-cluster/openmpi/{openmpi-2.1.0-r1.ebuild => openmpi-2.1.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild b/sys-cluster/openmpi/openmpi-2.1.1.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.1.ebuild


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-03-23  0:26 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-03-23  0:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c00fb25cc919a08559292efab2e1ddd616041318
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 00:25:52 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 00:26:23 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c00fb25c

sys-cluster/openmpi: remove dead symlinks

With USE=-fortran, some symlinks were still being installed.

Thanks to Arfrever Frehtes Taifersar Arahesis, #612586

Package-Manager: portage-2.3.3

 .../openmpi/{openmpi-2.1.0.ebuild => openmpi-2.1.0-r1.ebuild}      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-2.1.0.ebuild b/sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
similarity index 96%
rename from sys-cluster/openmpi/openmpi-2.1.0.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
index cf808b6ae..0b22945ee 100644
--- a/sys-cluster/openmpi/openmpi-2.1.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
@@ -148,7 +148,12 @@ multilib_src_install() {
 		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
 	else
 		# some fortran files get installed unconditionally
-		rm "${ED}"/$(mpi_root)/usr/include/mpif* "${ED}"usr/bin/mpif* || die
+		rm \
+			"${ED}"/$(mpi_root)/usr/include/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/mpif* \
+			"${ED}"/$(mpi_root)/usr/bin/oshfort \
+			"${ED}"/$(mpi_root)/usr/bin/shmemfort \
+			|| die
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-03-22 20:18 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-03-22 20:18 UTC (permalink / raw
  To: gentoo-commits

commit:     6be46f9ef148637824579de0b5e51d2df9c13427
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 20:17:23 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 20:17:23 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6be46f9e

sys-cluster/openmpi: require dev-libs/libevent with threads

Fixes #602514.

Package-Manager: portage-2.3.3

 sys-cluster/openmpi/openmpi-2.0.2.ebuild | 2 +-
 sys-cluster/openmpi/openmpi-2.1.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-2.0.2.ebuild b/sys-cluster/openmpi/openmpi-2.0.2.ebuild
index a799f29b7..559289ae8 100644
--- a/sys-cluster/openmpi/openmpi-2.0.2.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.2.ebuild
@@ -51,7 +51,7 @@ MPI_UNCLASSED_DEP_STR="
 "
 
 CDEPEND="
-	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP}]
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]

diff --git a/sys-cluster/openmpi/openmpi-2.1.0.ebuild b/sys-cluster/openmpi/openmpi-2.1.0.ebuild
index eb83a4599..cf808b6ae 100644
--- a/sys-cluster/openmpi/openmpi-2.1.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.0.ebuild
@@ -49,7 +49,7 @@ MPI_UNCLASSED_DEP_STR="
 "
 
 CDEPEND="
-	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP}]
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-03-22 16:36 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-03-22 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     74b7e0763df32e22066d4a90bbc83eea4588b711
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 21:57:52 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 16:35:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=74b7e076

sys-cluster/openmpi: bump 1.10.6

Package-Manager: portage-2.3.3

 sys-cluster/openmpi/{openmpi-1.10.3-r2.ebuild => openmpi-1.10.6.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.6.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
rename to sys-cluster/openmpi/openmpi-1.10.6.ebuild
index 1a9a5554e..2c13c88e7 100644
--- a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-03-22 16:36 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-03-22 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     b1521a4603320f8befc2fea974c5da0bbf60b38c
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 16:32:53 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 16:35:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b1521a46

sys-cluster/openmpi: bump 2.1.0

Package-Manager: portage-2.3.3

 sys-cluster/openmpi/openmpi-2.1.0.ebuild | 174 +++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-2.1.0.ebuild b/sys-cluster/openmpi/openmpi-2.1.0.ebuild
new file mode 100644
index 000000000..eb83a4599
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-2.1.0.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
+"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP}]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# 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 || die
+	fi
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--with-libevent="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_enable mpi-threads mpi-thread-multiple) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm "${ED}"/$(mpi_root)/usr/include/mpif* "${ED}"usr/bin/mpif* || die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
+	fi
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2017-02-01 14:03 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2017-02-01 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     9128181cfe69ee14b4d26f6d97b169dfa599a3c4
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 14:02:53 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 14:02:53 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9128181c

sys-cluster/openmpi: bump 2.0.2

Package-Manager: portage-2.3.3

 sys-cluster/openmpi/{openmpi-2.0.1.ebuild => openmpi-2.0.2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-2.0.1.ebuild b/sys-cluster/openmpi/openmpi-2.0.2.ebuild
similarity index 99%
rename from sys-cluster/openmpi/openmpi-2.0.1.ebuild
rename to sys-cluster/openmpi/openmpi-2.0.2.ebuild
index a493976..3d11bf4 100644
--- a/sys-cluster/openmpi/openmpi-2.0.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-11-10 21:09 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-11-10 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     dcefeda47faf04f751d39f1d3f4430999553f40f
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 20:44:38 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 20:46:59 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=dcefeda4

sys-cluster/openmpi: add blocker for >=dev-libs/intel-common-16[mpi]

https://bugs.gentoo.org/show_bug.cgi?id=575220

Package-Manager: portage-2.3.0

 sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild | 1 +
 sys-cluster/openmpi/openmpi-1.8.8.ebuild     | 3 ++-
 sys-cluster/openmpi/openmpi-2.0.1.ebuild     | 4 ++++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
index 676680a..2d4de71 100644
--- a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
@@ -48,6 +48,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
 	vt? (
 		!dev-libs/libotf
 		!app-text/lcdf-typetools

diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
index ee75812..1a06721 100644
--- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -49,6 +49,7 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
 MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
 	vt? (
 		!dev-libs/libotf
 		!app-text/lcdf-typetools

diff --git a/sys-cluster/openmpi/openmpi-2.0.1.ebuild b/sys-cluster/openmpi/openmpi-2.0.1.ebuild
index d126d96..a493976 100644
--- a/sys-cluster/openmpi/openmpi-2.0.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.0.1.ebuild
@@ -47,6 +47,10 @@ REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
 	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
 	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
 
+MPI_UNCLASSED_DEP_STR="
+	!>=dev-libs/intel-common-16[mpi]
+"
+
 CDEPEND="
 	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP}]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-11-10 21:09 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-11-10 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     495a097287cfe683f8bd9d7fd109d4effa585bb1
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 20:42:51 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 20:46:59 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=495a0972

sys-cluster/openmpi: cleanup old

Package-Manager: portage-2.3.0

 sys-cluster/openmpi/openmpi-1.10.3.ebuild | 180 ------------------------------
 sys-cluster/openmpi/openmpi-1.6.5.ebuild  | 162 ---------------------------
 sys-cluster/openmpi/openmpi-1.7.3.ebuild  | 159 --------------------------
 3 files changed, 501 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3.ebuild b/sys-cluster/openmpi/openmpi-1.10.3.ebuild
deleted file mode 100644
index 6879645..0000000
--- a/sys-cluster/openmpi/openmpi-1.10.3.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-CDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
-	$(mpi_imp_deplist)"
-
-RDEPEND="${CDEPEND}
-	java? ( >=virtual/jre-1.6 )"
-
-DEPEND="${CDEPEND}
-	java? ( >=virtual/jdk-1.6 )"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	java-pkg-opt-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl="${EPREFIX}/usr"
-		)
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	if use java; then
-		# We must always build with the right -source and -target
-		# flags. Passing flags to javac isn't explicitly supported here
-		# but we can cheat by overriding the configure test for javac.
-		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_enable java) \
-		$(use_enable java mpi-java) \
-		$(use_enable mpi-threads mpi-thread-multiple) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	default
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	if use java; then
-		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
-		java-pkg_dojar "${mpi_jar}"
-		# We don't want to install the jar file twice
-		# so let's clean after ourselves.
-		rm "${mpi_jar}" || die
-	fi
-
-	mpi_dodoc README AUTHORS NEWS VERSION
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.6.5.ebuild b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
deleted file mode 100644
index 9a68594..0000000
--- a/sys-cluster/openmpi/openmpi-1.6.5.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_dapl
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm
-	openmpi_fabrics_sctp"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	>=sys-apps/hwloc-1.3
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_dapl? ( sys-fabric/dapl:* )
-	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
-	openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-
-	# 462602
-	epatch "${FILESDIR}"/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch
-}
-
-src_configure() {
-	local myconf=(
-		--sysconfdir="${EPREFIX}/etc/${PN}"
-		--enable-pretty-print-stacktrace
-		--enable-orterun-prefix-by-default
-		--with-hwloc="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_fabrics_sctp sctp) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	default
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-	mpi_dodoc README AUTHORS NEWS VERSION
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-
-	# Do not override malloc during build.  Works around #462602
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.7.3.ebuild b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
deleted file mode 100644
index b0cf5c1..0000000
--- a/sys-cluster/openmpi/openmpi-1.7.3.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	dev-libs/libevent
-	>=sys-apps/hwloc-1.3
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "$EPREFIX"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	default
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-	mpi_dodoc README AUTHORS NEWS VERSION
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-
-	# Do not override malloc during build.  Works around #462602
-	emake -j1 check
-}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-11-08 18:26 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-11-08 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     9b28376a8d2ff67bd83235be638a8e0c6083e7cd
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 18:19:25 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Nov  8 18:21:49 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9b28376a

sys-cluster/openmpi: bump 2.0.1

Package-Manager: portage-2.3.0

 sys-cluster/openmpi/openmpi-2.0.1.ebuild | 174 +++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-2.0.1.ebuild b/sys-cluster/openmpi/openmpi-2.0.1.ebuild
new file mode 100644
index 0000000..d126d96
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-2.0.1.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP}]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# 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 || die
+	fi
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--with-libevent="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_enable mpi-threads mpi-thread-multiple) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm "${ED}"/$(mpi_root)/usr/include/mpif* "${ED}"usr/bin/mpif* || die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
+	fi
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-09-08 20:18 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2016-09-08 20:18 UTC (permalink / raw
  To: gentoo-commits

commit:     f1e28e9f8009a5dc4465e771f1f5638784334109
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 20:18:00 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 20:18:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f1e28e9f

sys-cluster/openmpi: fix build for java (bug #592834)

Package-Manager: portage-2.2.28

 sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
index adea314..676680a 100644
--- a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
@@ -76,6 +76,7 @@ DEPEND="${CDEPEND}
 
 MULTILIB_WRAPPED_HEADERS=(
 	/usr/include/mpi.h
+	/usr/include/openmpi/ompi/mpi/java/mpiJava.h
 )
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-08-29 20:45 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-08-29 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     4520a6855fc4f4810f66fbb87571847f526d3ee2
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 19:59:32 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 19:59:32 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4520a685

sys-cluster/openmpi: re-add keywords for multilib ebuild

Package-Manager: portage-2.2.28

 sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
index 1e4278c..adea314 100644
--- a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
@@ -33,7 +33,7 @@ HOMEPAGE="http://www.open-mpi.org"
 SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
 IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
 	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-08-29 20:45 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-08-29 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     19d37085dc0d09bd4546828d633ead2a7f09408b
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 15:36:20 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 16:47:16 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=19d37085

sys-cluster/openmpi: add multilib version

Package-Manager: portage-2.2.28

 sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild | 193 +++++++++++++++++++++++++++
 1 file changed, 193 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
new file mode 100644
index 0000000..6042f1a
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal mpi
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+CDEPEND="
+	>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP},numa?]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpi.h
+)
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	if use mpi-threads; then
+		ewarn
+		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"
+		ewarn
+	fi
+
+	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
+
+	# 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 || die
+	fi
+}
+
+multilib_src_configure() {
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	ECONF_SOURCE=${S} econf $(mpi_econf_args) \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--enable-pretty-print-stacktrace \
+		--enable-orterun-prefix-by-default \
+		--with-hwloc="${EPREFIX}/usr" \
+		--with-libltdl="${EPREFIX}/usr" \
+		--enable-mpi-fortran=$(usex fortran all no) \
+		$(usex !vt --enable-contrib-no-build=vt "") \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_enable java) \
+		$(multilib_native_use_enable java mpi-java) \
+		$(multilib_native_use_enable mpi-threads mpi-thread-multiple) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm "${ED}"usr/include/mpif* "${ED}"usr/bin/mpif* || die
+	fi
+}
+
+multilib_src_install_all() {
+	# From USE=vt see #359917
+	rm -rf "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"usr/include || die
+	fi
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null || die
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}" -name '*.la' -delete || die
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-08-29 20:45 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-08-29 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     91299b30842d08569330de9cacca21294db759b7
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 18:39:37 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 18:46:12 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=91299b30

sys-cluster/openmpi: add forgotten mpi_root

Package-Manager: portage-2.2.28

 sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
index 6042f1a..1e4278c 100644
--- a/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.10.3-r2.ebuild
@@ -158,10 +158,10 @@ multilib_src_install() {
 	# fortran header cannot be wrapped (bug #540508), workaround part 1
 	if multilib_is_native_abi && use fortran; then
 		mkdir "${T}"/fortran || die
-		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
+		mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
 	else
 		# some fortran files get installed unconditionally
-		rm "${ED}"usr/include/mpif* "${ED}"usr/bin/mpif* || die
+		rm "${ED}"/$(mpi_root)/usr/include/mpif* "${ED}"usr/bin/mpif* || die
 	fi
 }
 
@@ -171,7 +171,7 @@ multilib_src_install_all() {
 
 	# fortran header cannot be wrapped (bug #540508), workaround part 2
 	if use fortran; then
-		mv "${T}"/fortran/mpif* "${ED}"usr/include || die
+		mv "${T}"/fortran/mpif* "${ED}"/$(mpi_root)/usr/include || die
 	fi
 
 	# Avoid collisions with libevent


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-08-11 13:12 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-08-11 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     10d64b0401226532d4528a6d577b58e61a61f318
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 13:12:05 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 13:12:05 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=10d64b04

sys-cluster/openmpi:  bump 1.10.3

Package-Manager: portage-2.2.26

 sys-cluster/openmpi/openmpi-1.10.3.ebuild | 180 ++++++++++++++++++++++++++++++
 1 file changed, 180 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-1.10.3.ebuild b/sys-cluster/openmpi/openmpi-1.10.3.ebuild
new file mode 100644
index 0000000..6879645
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.10.3.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+CDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_enable java) \
+		$(use_enable java mpi-java) \
+		$(use_enable mpi-threads mpi-thread-multiple) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	default
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-08-11 13:12 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-08-11 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     4fa483e206c8b02e5e8057b9474608ef6b82b2fe
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 13:12:42 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 13:12:42 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4fa483e2

sys-cluster/openmpi: remove old

Package-Manager: portage-2.2.26

 sys-cluster/openmpi/openmpi-1.10.0.ebuild | 180 ------------------------------
 sys-cluster/openmpi/openmpi-1.10.2.ebuild | 180 ------------------------------
 2 files changed, 360 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.10.0.ebuild b/sys-cluster/openmpi/openmpi-1.10.0.ebuild
deleted file mode 100644
index 6879645..0000000
--- a/sys-cluster/openmpi/openmpi-1.10.0.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-CDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
-	$(mpi_imp_deplist)"
-
-RDEPEND="${CDEPEND}
-	java? ( >=virtual/jre-1.6 )"
-
-DEPEND="${CDEPEND}
-	java? ( >=virtual/jdk-1.6 )"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	java-pkg-opt-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl="${EPREFIX}/usr"
-		)
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	if use java; then
-		# We must always build with the right -source and -target
-		# flags. Passing flags to javac isn't explicitly supported here
-		# but we can cheat by overriding the configure test for javac.
-		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_enable java) \
-		$(use_enable java mpi-java) \
-		$(use_enable mpi-threads mpi-thread-multiple) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	default
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	if use java; then
-		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
-		java-pkg_dojar "${mpi_jar}"
-		# We don't want to install the jar file twice
-		# so let's clean after ourselves.
-		rm "${mpi_jar}" || die
-	fi
-
-	mpi_dodoc README AUTHORS NEWS VERSION
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.10.2.ebuild b/sys-cluster/openmpi/openmpi-1.10.2.ebuild
deleted file mode 100644
index 6879645..0000000
--- a/sys-cluster/openmpi/openmpi-1.10.2.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-CDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-fabric/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )
-	$(mpi_imp_deplist)"
-
-RDEPEND="${CDEPEND}
-	java? ( >=virtual/jre-1.6 )"
-
-DEPEND="${CDEPEND}
-	java? ( >=virtual/jdk-1.6 )"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	java-pkg-opt-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl="${EPREFIX}/usr"
-		)
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	if use java; then
-		# We must always build with the right -source and -target
-		# flags. Passing flags to javac isn't explicitly supported here
-		# but we can cheat by overriding the configure test for javac.
-		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_enable java) \
-		$(use_enable java mpi-java) \
-		$(use_enable mpi-threads mpi-thread-multiple) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	default
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	if use java; then
-		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
-		java-pkg_dojar "${mpi_jar}"
-		# We don't want to install the jar file twice
-		# so let's clean after ourselves.
-		rm "${mpi_jar}" || die
-	fi
-
-	mpi_dodoc README AUTHORS NEWS VERSION
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2016-02-11  2:05 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2016-02-11  2:05 UTC (permalink / raw
  To: gentoo-commits

commit:     a6f522c08a86ac077a4cd5a0a3cde7eb30b23ae2
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 02:05:12 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 02:05:12 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a6f522c0

sys-cluster/openmpi: bump 1.10.2

Package-Manager: portage-2.2.26

 sys-cluster/openmpi/openmpi-1.10.2.ebuild | 180 ++++++++++++++++++++++++++++++
 1 file changed, 180 insertions(+)

diff --git a/sys-cluster/openmpi/openmpi-1.10.2.ebuild b/sys-cluster/openmpi/openmpi-1.10.2.ebuild
new file mode 100644
index 0000000..97bdb5c
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.10.2.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+CDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_enable java) \
+		$(use_enable java mpi-java) \
+		$(use_enable mpi-threads mpi-thread-multiple) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	default
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-11-21 15:14 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-11-21 15:14 UTC (permalink / raw
  To: gentoo-commits

commit:     ab57609dc8b5789640facb2a76dacaea6530f422
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 15:13:38 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 15:13:38 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ab57609d

sys-cluster/openmpi: bye bye multilib version

Package-Manager: portage-2.2.20.1

 sys-cluster/openmpi/ChangeLog                |   3 +
 sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild | 191 ---------------------------
 2 files changed, 3 insertions(+), 191 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 260d20c..49725a6 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  21 Nov 2015; Christoph Junghans <ottxor@gentoo.org> -openmpi-1.8.4-r99.ebuild:
+  sys-cluster/openmpi: bye bye multilib version
+
   03 Nov 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r99.ebuild:
   sys-cluster/openmpi: multilib now works with fortran (bug #540392)
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
deleted file mode 100644
index 167259f..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit autotools cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator multilib-minimal
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-# dev-util/nvidia-cuda-toolkit is always multilib
-RDEPEND="
-	!sys-cluster/mpich
-	!sys-cluster/mpich2
-	!sys-cluster/mpiexec
-	>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
-	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP},numa?]
-	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	"
-DEPEND="${RDEPEND}"
-
-MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/mpi.h
-)
-
-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
-
-	# https://github.com/open-mpi/ompi/issues/163
-	epatch "${FILESDIR}"/openmpi-ltdl.patch
-
-	AT_M4DIR=config eautoreconf
-}
-
-multilib_src_configure() {
-	local myconf=(
-		--sysconfdir="${EPREFIX}/etc/${PN}"
-		--enable-pretty-print-stacktrace
-		--enable-orterun-prefix-by-default
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl=external
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-threads)
-	fi
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	ECONF_SOURCE=${S} econf "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(multilib_native_use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(multilib_native_use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(multilib_native_use_with openmpi_rm_pbs tm) \
-		$(multilib_native_use_with openmpi_rm_slurm slurm)
-}
-
-multilib_src_install() {
-	default
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	# fortran header cannot be wrapped (bug #540508), workaround part 1
-	if multilib_is_native_abi && use fortran; then
-		mkdir "${T}"/fortran || die
-		mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
-	else
-		#some fortran files get installed unconditionally 
-		rm "${ED}"/usr/include/mpif* "${ED}"/usr/bin/mpif* || die
-	fi
-}
-
-multilib_src_install_all() {
-	# From USE=vt see #359917
-	rm "${ED}"/usr/share/libtool &> /dev/null
-
-	# fortran header cannot be wrapped (bug #540508), workaround part 2
-	if use fortran; then
-		mv "${T}"/fortran/mpif* "${ED}"/usr/include || die
-	fi
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/usr/include/event2 &> /dev/null
-
-	dodoc README AUTHORS NEWS VERSION
-}
-
-multilib_src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-11-03 23:53 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-11-03 23:53 UTC (permalink / raw
  To: gentoo-commits

commit:     bda9a630a01f197f387fa95cbbcc0f2c88f562d3
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  3 23:51:11 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Nov  3 23:51:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bda9a630

sys-cluster/openmpi: multilib now works with fortran (bug #540392)

Package-Manager: portage-2.2.20.1

 sys-cluster/openmpi/ChangeLog                | 3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 6893802..260d20c 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  03 Nov 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r99.ebuild:
+  sys-cluster/openmpi: multilib now works with fortran (bug #540392)
+
 *openmpi-1.10.0 (23 Sep 2015)
 
   23 Sep 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.10.0.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
index 61d021b..167259f 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
@@ -125,7 +125,7 @@ multilib_src_configure() {
 			--enable-opal-multi-threads)
 	fi
 
-	if multilib_is_native_abi && use fortran; then
+	if use fortran; then
 		myconf+=(--enable-mpi-fortran=all)
 	else
 		myconf+=(--enable-mpi-fortran=no)


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-09-23 22:01 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-09-23 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c991028d32523099c8c3c9f877a7c2bea99d4c8f
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 22:01:19 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 22:01:19 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c991028d

sys-cluster/openmpi: bump 1.10.0

bug 561226

Package-Manager: portage-2.2.20.1

 sys-cluster/openmpi/ChangeLog             |   5 +
 sys-cluster/openmpi/openmpi-1.10.0.ebuild | 180 ++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 2f2ca01..6893802 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*openmpi-1.10.0 (23 Sep 2015)
+
+  23 Sep 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.10.0.ebuild:
+  sys-cluster/openmpi: bump 1.10.0  bug 561226
+
 *openmpi-1.8.8-r1 (06 Aug 2015)
 
   06 Aug 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.8-r1.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.10.0.ebuild b/sys-cluster/openmpi/openmpi-1.10.0.ebuild
new file mode 100644
index 0000000..97bdb5c
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.10.0.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+CDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.6 )"
+
+DEPEND="${CDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_enable java) \
+		$(use_enable java mpi-java) \
+		$(use_enable mpi-threads mpi-thread-multiple) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	default
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
+	mpi_dodoc README AUTHORS NEWS VERSION
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-09-23 12:48 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2015-09-23 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     a53f0577c7330fa86cf60fa3271d4fe3bfa6fa56
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 12:00:05 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 12:00:05 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a53f0577

sys-cluster/openmpi: Use default functions

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sys-cluster/openmpi/openmpi-1.6.5.ebuild     | 2 +-
 sys-cluster/openmpi/openmpi-1.7.3.ebuild     | 2 +-
 sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild | 2 +-
 sys-cluster/openmpi/openmpi-1.8.8.ebuild     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.6.5.ebuild b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
index a04a129..8314533 100644
--- a/sys-cluster/openmpi/openmpi-1.6.5.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
@@ -147,7 +147,7 @@ src_configure() {
 }
 
 src_install () {
-	emake DESTDIR="${D}" install
+	default
 	# From USE=vt see #359917
 	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	mpi_dodoc README AUTHORS NEWS VERSION

diff --git a/sys-cluster/openmpi/openmpi-1.7.3.ebuild b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
index 3e0f7a0..61719d3 100644
--- a/sys-cluster/openmpi/openmpi-1.7.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
@@ -142,7 +142,7 @@ src_configure() {
 }
 
 src_install () {
-	emake DESTDIR="${D}" install
+	default
 	# From USE=vt see #359917
 	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	# Avoid collisions with libevent

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
index 45d5fe2..61d021b 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
@@ -155,7 +155,7 @@ multilib_src_configure() {
 }
 
 multilib_src_install() {
-	emake DESTDIR="${D}" install
+	default
 
 	# Remove la files, no static libs are installed and we have pkg-config
 	find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete

diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
index 61d1fad..18a7342 100644
--- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -151,7 +151,7 @@ src_configure() {
 }
 
 src_install () {
-	emake DESTDIR="${D}" install
+	default
 
 	# From USE=vt see #359917
 	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-08-06 19:53 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-08-06 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     dc8702af5728eb0d647378799f421b56f9b83d35
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 19:52:10 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 19:52:49 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=dc8702af

sys-cluster/openmpi:  bump 1.8.8 and sync with gx86 (java support)

Package-Manager: portage-2.2.20

 sys-cluster/openmpi/ChangeLog                      |  6 +++++
 .../{openmpi-1.8.7.ebuild => openmpi-1.8.8.ebuild} | 26 +++++++++++++++++++---
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 2e3f10e..29e7682 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.8-r1 (06 Aug 2015)
+
+  06 Aug 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.8-r1.ebuild,
+  -openmpi-1.8.7.ebuild:
+  sys-cluster/openmpi:  bump 1.8.8 and sync with gx86 (java support)
+
   16 Jul 2015; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.8.1.ebuild,
   -openmpi-1.8.3.ebuild, -openmpi-1.8.4-r4.ebuild, -openmpi-1.8.5.ebuild,
   -openmpi-1.8.6.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.7.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
similarity index 84%
rename from sys-cluster/openmpi/openmpi-1.8.7.ebuild
rename to sys-cluster/openmpi/openmpi-1.8.8.ebuild
index 4d23574..56716fc 100644
--- a/sys-cluster/openmpi/openmpi-1.8.7.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 FORTRAN_NEEDED=fortran
 
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib mpi toolchain-funcs versionator
 
 MY_P=${P/-mpi}
 S=${WORKDIR}/${MY_P}
@@ -35,7 +35,7 @@ SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads vt
 	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
 
 REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
@@ -61,6 +61,7 @@ RDEPEND="
 	sys-libs/zlib
 	cuda? ( dev-util/nvidia-cuda-toolkit )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	java? ( >=virtual/jre-1.6 )
 	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
@@ -69,10 +70,12 @@ RDEPEND="
 	openmpi_rm_slurm? ( sys-cluster/slurm )
 	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	java? ( >=virtual/jdk-1.6 )"
 
 pkg_setup() {
 	fortran-2_pkg_setup
+	java-pkg-opt-2_pkg_setup
 	MPI_ESELECT_FILE="eselect.mpi.openmpi"
 
 	if use mpi-threads; then
@@ -114,6 +117,13 @@ src_configure() {
 		myconf+=(--enable-mpi-fortran=no)
 	fi
 
+	if use java; then
+		# We must always build with the right -source and -target
+		# flags. Passing flags to javac isn't explicitly supported here
+		# but we can cheat by overriding the configure test for javac.
+		export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
+	fi
+
 	! use vt && myconf+=(--enable-contrib-no-build=vt)
 
 	econf $(mpi_econf_args) "${myconf[@]}" \
@@ -123,6 +133,8 @@ src_configure() {
 		$(use_enable romio io-romio) \
 		$(use_enable heterogeneous) \
 		$(use_enable ipv6) \
+		$(use_enable java) \
+		$(use_enable java mpi-java) \
 		$(use_enable mpi-threads mpi-thread-multiple) \
 		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
 		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
@@ -150,6 +162,14 @@ src_install () {
 	# Remove la files, no static libs are installed and we have pkg-config
 	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
 
+	if use java; then
+		local mpi_jar="${ED}"/$(mpi_root)/usr/$(get_libdir)/mpi.jar
+		java-pkg_dojar "${mpi_jar}"
+		# We don't want to install the jar file twice
+		# so let's clean after ourselves.
+		rm "${mpi_jar}" || die
+	fi
+
 	mpi_dodoc README AUTHORS NEWS VERSION || die
 	mpi_imp_add_eselect
 }


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-07-16 23:16 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-07-16 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d2a08dd4c814faa97bd012ca41f611bd8bd6b927
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 16 23:15:36 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 23:15:36 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d2a08dd4

sys-cluster/openmpi: cleanup

Package-Manager: portage-2.2.20

 sys-cluster/openmpi/ChangeLog               |   5 +
 sys-cluster/openmpi/openmpi-1.8.1.ebuild    | 167 ---------------------------
 sys-cluster/openmpi/openmpi-1.8.3.ebuild    | 167 ---------------------------
 sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild | 169 ----------------------------
 sys-cluster/openmpi/openmpi-1.8.5.ebuild    | 164 ---------------------------
 sys-cluster/openmpi/openmpi-1.8.6.ebuild    | 164 ---------------------------
 6 files changed, 5 insertions(+), 831 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 00201e3..2e3f10e 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Jul 2015; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.8.1.ebuild,
+  -openmpi-1.8.3.ebuild, -openmpi-1.8.4-r4.ebuild, -openmpi-1.8.5.ebuild,
+  -openmpi-1.8.6.ebuild:
+  sys-cluster/openmpi: cleanup
+
 *openmpi-1.8.7 (16 Jul 2015)
 
   16 Jul 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.7.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.1.ebuild b/sys-cluster/openmpi/openmpi-1.8.1.ebuild
deleted file mode 100644
index 9ee44d8..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.1.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	dev-libs/libevent
-	>=sys-apps/hwloc-1.7.2
-	sys-libs/zlib
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.8.3.ebuild b/sys-cluster/openmpi/openmpi-1.8.3.ebuild
deleted file mode 100644
index 9ee44d8..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	dev-libs/libevent
-	>=sys-apps/hwloc-1.7.2
-	sys-libs/zlib
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild
deleted file mode 100644
index acabe9e..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit autotools cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-
-	# https://github.com/open-mpi/ompi/issues/163
-	epatch "${FILESDIR}"/openmpi-ltdl.patch
-
-	AT_M4DIR=config eautoreconf
-}
-
-src_configure() {
-	local myconf=(
-		--sysconfdir="${EPREFIX}/etc/${PN}"
-		--enable-pretty-print-stacktrace
-		--enable-orterun-prefix-by-default
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl=external
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-threads)
-	fi
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.8.5.ebuild b/sys-cluster/openmpi/openmpi-1.8.5.ebuild
deleted file mode 100644
index fbe3926..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.5.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-threads)
-	fi
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}

diff --git a/sys-cluster/openmpi/openmpi-1.8.6.ebuild b/sys-cluster/openmpi/openmpi-1.8.6.ebuild
deleted file mode 100644
index fbe3926..0000000
--- a/sys-cluster/openmpi/openmpi-1.8.6.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_udcm
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	dev-libs/libevent
-	dev-libs/libltdl:0
-	>=sys-apps/hwloc-1.9.1[numa?]
-	sys-libs/zlib
-	cuda? ( dev-util/nvidia-cuda-toolkit )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		--with-libltdl="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-threads)
-	fi
-
-	if use fortran; then
-		myconf+=(--enable-mpi-fortran=all)
-	else
-		myconf+=(--enable-mpi-fortran=no)
-	fi
-
-	! use vt && myconf+=(--enable-contrib-no-build=vt)
-
-	econf $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_with cma) \
-		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-
-	# Avoid collisions with libevent
-	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
-
-	# Remove la files, no static libs are installed and we have pkg-config
-	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
-
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check
-}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-07-16 23:11 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-07-16 23:11 UTC (permalink / raw
  To: gentoo-commits

commit:     53fa5ebbdf71c019eff906cbaa6a9e65fc54c006
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 16 22:33:55 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 23:11:36 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=53fa5ebb

sys-cluster/openmpi: bump 1.8.7

Package-Manager: portage-2.2.20

 sys-cluster/openmpi/ChangeLog            |   5 +
 sys-cluster/openmpi/openmpi-1.8.7.ebuild | 160 +++++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 577657b..00201e3 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.7 (16 Jul 2015)
+
+  16 Jul 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.7.ebuild:
+  sys-cluster/openmpi: bump 1.8.7
+
 *openmpi-1.8.6 (22 Jun 2015)
 
   22 Jun 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.6.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.7.ebuild b/sys-cluster/openmpi/openmpi-1.8.7.ebuild
new file mode 100644
index 0000000..4d23574
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.7.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_enable mpi-threads mpi-thread-multiple) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-06-22 15:17 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-06-22 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f29543a36e0bfadae75023be2db78fea88994b26
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 22 15:16:55 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 15:16:55 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f29543a3

sys-cluster/openmpi:  bump

Package-Manager: portage-2.2.18

 sys-cluster/openmpi/ChangeLog            |   5 +
 sys-cluster/openmpi/openmpi-1.8.6.ebuild | 164 +++++++++++++++++++++++++++++++
 2 files changed, 169 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index c0baafc..577657b 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.6 (22 Jun 2015)
+
+  22 Jun 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.6.ebuild:
+  sys-cluster/openmpi:  bump
+
 *openmpi-1.8.5 (12 May 2015)
 
   12 May 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.5.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.6.ebuild b/sys-cluster/openmpi/openmpi-1.8.6.ebuild
new file mode 100644
index 0000000..fbe3926
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.6.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-threads)
+	fi
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-05-12 22:08 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-05-12 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     242d4057a9bac123d43b52a8a11e418b5303a412
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 22:08:08 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue May 12 22:08:23 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=242d4057

bump

Package-Manager: portage-2.2.14

 sys-cluster/openmpi/ChangeLog            |   5 +
 sys-cluster/openmpi/openmpi-1.8.5.ebuild | 164 +++++++++++++++++++++++++++++++
 2 files changed, 169 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index d8c354d..c0baafc 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.5 (12 May 2015)
+
+  12 May 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.5.ebuild:
+  bump
+
 *openmpi-1.8.4-r4 (20 Apr 2015)
 
   20 Apr 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.4-r4.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.5.ebuild b/sys-cluster/openmpi/openmpi-1.8.5.ebuild
new file mode 100644
index 0000000..fbe3926
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.5.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl="${EPREFIX}/usr"
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-threads)
+	fi
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-04-20 16:39 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-04-20 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     c35d858e8993fb552c46199ba854b662e0a4f3ef
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 16:38:47 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 16:38:47 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c35d858e

sync with upstream

Package-Manager: portage-2.2.14

 sys-cluster/openmpi/ChangeLog               |   5 +
 sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild | 169 ++++++++++++++++++++++++++++
 2 files changed, 174 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index b66a6bc..d8c354d 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.4-r4 (20 Apr 2015)
+
+  20 Apr 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.4-r4.ebuild:
+  sync with upstream
+
 *openmpi-1.8.4-r99 (20 Apr 2015)
 
   20 Apr 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.4-r99.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild
new file mode 100644
index 0000000..acabe9e
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r4.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit autotools cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	dev-libs/libevent
+	dev-libs/libltdl:0
+	>=sys-apps/hwloc-1.9.1[numa?]
+	sys-libs/zlib
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+
+	# https://github.com/open-mpi/ompi/issues/163
+	epatch "${FILESDIR}"/openmpi-ltdl.patch
+
+	AT_M4DIR=config eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--sysconfdir="${EPREFIX}/etc/${PN}"
+		--enable-pretty-print-stacktrace
+		--enable-orterun-prefix-by-default
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl=external
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-threads)
+	fi
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	econf $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-04-20 16:29 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2015-04-20 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     cd6047b8b954d9db6cf612403fcb9d3d2984554d
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 16:29:35 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 16:29:35 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cd6047b8

drop keywords from non-empi version

Every other version of the various MPI's supports empi so it was unexpected to
have that dropped.  However this version is still useful for porting/testing.

Package-Manager: portage-2.2.14
RepoMan-Options: --force

 sys-cluster/openmpi/ChangeLog                                     | 8 ++++++++
 .../openmpi/{openmpi-1.8.4-r3.ebuild => openmpi-1.8.4-r99.ebuild} | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index e0ce3fe..b66a6bc 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,14 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.4-r99 (20 Apr 2015)
+
+  20 Apr 2015; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.4-r99.ebuild,
+  -openmpi-1.8.4-r3.ebuild:
+  drop keywords from non-empi version  Every other version of the various MPI's
+  supports empi so it was unexpected to have that dropped.  However this version
+  is still useful for porting/testing.
+
   22 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
   drop some useless slots
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
similarity index 98%
rename from sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
rename to sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
index fa0a2d3..ca95d03 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r99.ebuild
@@ -34,7 +34,7 @@ HOMEPAGE="http://www.open-mpi.org"
 SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+KEYWORDS=""
 IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
 	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-22 20:29 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-22 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     95bb942085d63215e0a25aaea23414d49a210169
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 22 20:28:57 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 20:28:57 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=95bb9420

drop some useless slots

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               | 3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 9e19094..e0ce3fe 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
+  drop some useless slots
+
   21 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
   fixed USE=-fortran install
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index f851e95..16f9666 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -65,13 +65,13 @@ RDEPEND="
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
 	"
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-21 20:05 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-21 20:05 UTC (permalink / raw
  To: gentoo-commits

commit:     53c824ffd1b1c23145a024a19b039238ed3146e1
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 20:04:47 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 20:05:41 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=53c824ff

fixed USE=-fortran install

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               | 3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 3b947c3..9e19094 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  21 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
+  fixed USE=-fortran install
+
   20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
   enabled multilib cuda
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index f599615..f851e95 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -164,6 +164,9 @@ multilib_src_install() {
 	if multilib_is_native_abi && use fortran; then
 		mkdir "${T}"/fortran || die
 		mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
+	else
+		#some fortran files get installed unconditionally 
+		rm "${ED}"/usr/include/mpif* "${ED}"/usr/bin/mpif* || die
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-20 22:42 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-20 22:42 UTC (permalink / raw
  To: gentoo-commits

commit:     cf6efbd2476d172bb53098968a1751b5c52c5edc
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 22:42:32 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 22:42:32 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cf6efbd2

enabled multilib cuda

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               | 3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index ba79a0b..3b947c3 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -3,6 +3,9 @@
 # $Header: $
 
   20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
+  enabled multilib cuda
+
+  20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
   added fortran hack for bug #540508
 
 *openmpi-1.8.4-r3 (19 Feb 2015)

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index 306bede..f599615 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -54,6 +54,7 @@ MPI_UNCLASSED_DEP_STR="
 		!app-text/lcdf-typetools
 	)"
 
+# dev-util/nvidia-cuda-toolkit is always multilib
 RDEPEND="
 	!sys-cluster/mpich
 	!sys-cluster/mpich2
@@ -62,7 +63,7 @@ RDEPEND="
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-	cuda? ( dev-util/nvidia-cuda-toolkit )
+	cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
 	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
@@ -135,7 +136,7 @@ multilib_src_configure() {
 	ECONF_SOURCE=${S} econf "${myconf[@]}" \
 		$(use_enable cxx mpi-cxx) \
 		$(use_with cma) \
-		$(multilib_native_use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
 		$(use_enable romio io-romio) \
 		$(use_enable heterogeneous) \
 		$(use_enable ipv6) \


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-20 16:57 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-20 16:57 UTC (permalink / raw
  To: gentoo-commits

commit:     e3636e5fd50334e2319f42059a2ff8d72610db20
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 16:55:45 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 16:55:45 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e3636e5f

added fortran hack for bug #540508

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               |  3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild | 18 +++++++++++-------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 99406f7..ba79a0b 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
+  added fortran hack for bug #540508
+
 *openmpi-1.8.4-r3 (19 Feb 2015)
 
   19 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +openmpi-1.8.4-r3.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index 7822097..306bede 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -75,14 +75,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/mpif-io-handles.h
-	/usr/include/mpif-constants.h
 	/usr/include/mpi.h
-	/usr/include/mpif-externals.h
-	/usr/include/mpif-io-constants.h
-	/usr/include/mpif-config.h
-	/usr/include/mpif-sentinels.h
-	/usr/include/mpif-handles.h
 )
 
 pkg_setup() {
@@ -165,12 +158,23 @@ multilib_src_install() {
 
 	# Remove la files, no static libs are installed and we have pkg-config
 	find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
+	fi
 }
 
 multilib_src_install_all() {
 	# From USE=vt see #359917
 	rm "${ED}"/usr/share/libtool &> /dev/null
 
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/usr/include || die
+	fi
+
 	# Avoid collisions with libevent
 	rm -rf "${ED}"/usr/include/event2 &> /dev/null
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-19 18:00 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-19 18:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2a9b86a8a66a4709836dda5e80cdf20129c9fedf
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 19 17:59:03 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 18:00:12 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2a9b86a8

added changes from openmpi-1.8.4-r2::gentoo

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog                                     | 6 ++++++
 sys-cluster/openmpi/metadata.xml                                  | 1 +
 .../openmpi/{openmpi-1.8.4-r2.ebuild => openmpi-1.8.4-r3.ebuild}  | 8 ++++----
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 0fa386e..99406f7 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.4-r3 (19 Feb 2015)
+
+  19 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +openmpi-1.8.4-r3.ebuild,
+  -openmpi-1.8.4-r2.ebuild, metadata.xml:
+  added changes from openmpi-1.8.4-r2::gentoo
+
   18 Feb 2015; Justin Lecher <jlec@gentoo.org> metadata.xml,
   openmpi-1.6.5.ebuild, openmpi-1.7.3.ebuild, openmpi-1.8.1.ebuild,
   openmpi-1.8.3.ebuild, openmpi-1.8.4-r2.ebuild:

diff --git a/sys-cluster/openmpi/metadata.xml b/sys-cluster/openmpi/metadata.xml
index 4dd7acd..d6e99ae 100644
--- a/sys-cluster/openmpi/metadata.xml
+++ b/sys-cluster/openmpi/metadata.xml
@@ -12,6 +12,7 @@
 		platform support</flag>
     <flag name="romio">Build the ROMIO MPI-IO component</flag>
     <flag name="mpi-threads">Enable MPI_THREAD_MULTIPLE</flag>
+	<flag name='numa'>Enable numactl to allow binding processes to CPUs</flag>
     <flag name="vt">Enable bundled VampirTrace support</flag>
   </use>
 </pkgmetadata>

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
similarity index 96%
rename from sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
rename to sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index 5174cde..7822097 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild,v 1.1 2015/02/04 21:46:32 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild,v 1.1 2015/02/17 01:17:41 jsbronder Exp $
 
 EAPI=5
 
@@ -34,8 +34,8 @@ HOMEPAGE="http://www.open-mpi.org"
 SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa romio threads vt
 	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
 
 REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
@@ -60,7 +60,7 @@ RDEPEND="
 	!sys-cluster/mpiexec
 	>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
 	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP},numa?]
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( dev-util/nvidia-cuda-toolkit )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-18 16:41 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2015-02-18 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     58203a5e4be942f424d280ff0c86a863cbd3dd87
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 18 14:11:46 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 14:11:46 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=58203a5e

sys-cluster/openmpi: fix SLOT operators

Package-Manager: portage-2.2.17

---
 sys-cluster/openmpi/ChangeLog               |  5 +++++
 sys-cluster/openmpi/metadata.xml            | 24 ++++++++++++------------
 sys-cluster/openmpi/openmpi-1.6.5.ebuild    | 10 +++++-----
 sys-cluster/openmpi/openmpi-1.7.3.ebuild    |  8 ++++----
 sys-cluster/openmpi/openmpi-1.8.1.ebuild    |  8 ++++----
 sys-cluster/openmpi/openmpi-1.8.3.ebuild    |  8 ++++----
 sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild |  6 +++---
 7 files changed, 37 insertions(+), 32 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 33e1bdf..0fa386e 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  18 Feb 2015; Justin Lecher <jlec@gentoo.org> metadata.xml,
+  openmpi-1.6.5.ebuild, openmpi-1.7.3.ebuild, openmpi-1.8.1.ebuild,
+  openmpi-1.8.3.ebuild, openmpi-1.8.4-r2.ebuild:
+  sys-cluster/openmpi: fix SLOT operators
+
   17 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +files/openmpi-ltdl.patch,
   openmpi-1.8.4-r2.ebuild:
   added fortran workaround and missing patch

diff --git a/sys-cluster/openmpi/metadata.xml b/sys-cluster/openmpi/metadata.xml
index 1f00ad2..4dd7acd 100644
--- a/sys-cluster/openmpi/metadata.xml
+++ b/sys-cluster/openmpi/metadata.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>cluster</herd>
-	<maintainer>
-		<email>jsbronder@gentoo.org</email>
-	</maintainer>
-	<use>
-		<flag name='cma'>Enable the CMA (Cross Memory Attach) MCA</flag>
-		<flag name='cuda'>Add GPU direct support</flag>
-		<flag name='heterogeneous'>Enable features required for heterogeneous
+  <herd>cluster</herd>
+  <maintainer>
+    <email>jsbronder@gentoo.org</email>
+  </maintainer>
+  <use>
+    <flag name="cma">Enable the CMA (Cross Memory Attach) MCA</flag>
+    <flag name="cuda">Add GPU direct support</flag>
+    <flag name="heterogeneous">Enable features required for heterogeneous
 		platform support</flag>
-		<flag name='romio'>Build the ROMIO MPI-IO component</flag>
-		<flag name='mpi-threads'>Enable MPI_THREAD_MULTIPLE</flag>
-		<flag name='vt'>Enable bundled VampirTrace support</flag>
-	</use>
+    <flag name="romio">Build the ROMIO MPI-IO component</flag>
+    <flag name="mpi-threads">Enable MPI_THREAD_MULTIPLE</flag>
+    <flag name="vt">Enable bundled VampirTrace support</flag>
+  </use>
 </pkgmetadata>

diff --git a/sys-cluster/openmpi/openmpi-1.6.5.ebuild b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
index 8d745e1..6303a99 100644
--- a/sys-cluster/openmpi/openmpi-1.6.5.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -57,15 +57,15 @@ MPI_UNCLASSED_DEP_STR="
 RDEPEND="
 	>=sys-apps/hwloc-1.3
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_dapl? ( sys-infiniband/dapl )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_dapl? ( sys-infiniband/dapl:* )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
 	openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
 

diff --git a/sys-cluster/openmpi/openmpi-1.7.3.ebuild b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
index da23648..d2183e9 100644
--- a/sys-cluster/openmpi/openmpi-1.7.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -57,13 +57,13 @@ RDEPEND="
 	dev-libs/libevent
 	>=sys-apps/hwloc-1.3
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.1.ebuild b/sys-cluster/openmpi/openmpi-1.8.1.ebuild
index 73db000..9ee44d8 100644
--- a/sys-cluster/openmpi/openmpi-1.8.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -60,13 +60,13 @@ RDEPEND="
 	>=sys-apps/hwloc-1.7.2
 	sys-libs/zlib
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.3.ebuild b/sys-cluster/openmpi/openmpi-1.8.3.ebuild
index 73db000..9ee44d8 100644
--- a/sys-cluster/openmpi/openmpi-1.8.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -60,13 +60,13 @@ RDEPEND="
 	>=sys-apps/hwloc-1.7.2
 	sys-libs/zlib
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
 

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
index ce6c5a4..5174cde 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
@@ -64,13 +64,13 @@ RDEPEND="
 	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
 	cuda? ( dev-util/nvidia-cuda-toolkit )
 	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed:* )
 	openmpi_fabrics_knem? ( sys-cluster/knem )
 	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm:* )
 	openmpi_rm_pbs? ( sys-cluster/torque )
 	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm:* )
 	"
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2015-02-17  0:13 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2015-02-17  0:13 UTC (permalink / raw
  To: gentoo-commits

commit:     46003c31dfa25c76807a91b0e2cb8f1dc418e112
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 00:03:24 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 00:03:24 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=46003c31

added multilib mpi for testing

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               |   7 +-
 sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild | 183 ++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index c640286..3885ff3 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for sys-cluster/openmpi
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.4-r2 (17 Feb 2015)
+
+  17 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +openmpi-1.8.4-r2.ebuild:
+  added multilib mpi for testing
+
 *openmpi-1.8.3 (15 Oct 2014)
 
   15 Oct 2014; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.3.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
new file mode 100644
index 0000000..5aed96c
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild,v 1.1 2015/02/04 21:46:32 jsbronder Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit autotools cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator multilib-minimal
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	!sys-cluster/mpich
+	!sys-cluster/mpich2
+	!sys-cluster/mpiexec
+	>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
+	dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP}]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	"
+DEPEND="${RDEPEND}"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpif-io-handles.h
+	/usr/include/mpif-constants.h
+	/usr/include/mpi.h
+	/usr/include/mpif-externals.h
+	/usr/include/mpif-io-constants.h
+	/usr/include/mpif-config.h
+	/usr/include/mpif-sentinels.h
+	/usr/include/mpif-handles.h
+)
+
+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
+
+	# https://github.com/open-mpi/ompi/issues/163
+	epatch "${FILESDIR}"/openmpi-ltdl.patch
+
+	AT_M4DIR=config eautoreconf
+}
+
+multilib_src_configure() {
+	local myconf=(
+		--sysconfdir="${EPREFIX}/etc/${PN}"
+		--enable-pretty-print-stacktrace
+		--enable-orterun-prefix-by-default
+		--with-hwloc="${EPREFIX}/usr"
+		--with-libltdl=external
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-threads)
+	fi
+
+	if use fortran; then
+		myconf+=(--enable-mpi-fortran=all)
+	else
+		myconf+=(--enable-mpi-fortran=no)
+	fi
+
+	! use vt && myconf+=(--enable-contrib-no-build=vt)
+
+	ECONF_SOURCE=${S} econf "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(multilib_native_use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(multilib_native_use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(multilib_native_use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(multilib_native_use_with openmpi_rm_pbs tm) \
+		$(multilib_native_use_with openmpi_rm_slurm slurm)
+}
+
+multilib_src_install() {
+	emake DESTDIR="${D}" install
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete
+}
+
+multilib_src_install_all() {
+	# From USE=vt see #359917
+	rm "${ED}"/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/usr/include/event2 &> /dev/null
+
+	dodoc README AUTHORS NEWS VERSION || die
+}
+
+multilib_src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2014-10-16 15:50 Christoph Junghans
  0 siblings, 0 replies; 72+ messages in thread
From: Christoph Junghans @ 2014-10-16 15:50 UTC (permalink / raw
  To: gentoo-commits

commit:     f3f2fb58009c4563d6c432e25ed2010b006d9662
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 15 05:16:44 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Oct 15 05:20:53 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f3f2fb58

sys-cluster/openmpi: bump

---
 sys-cluster/openmpi/ChangeLog            |   5 +
 sys-cluster/openmpi/openmpi-1.8.3.ebuild | 167 +++++++++++++++++++++++++++++++
 2 files changed, 172 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 80e0ae9..c640286 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.8.3 (15 Oct 2014)
+
+  15 Oct 2014; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.3.ebuild:
+  sys-cluster/openmpi: bump
+
 *openmpi-1.8.1 (03 Jun 2014)
 
   03 Jun 2014; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.8.1.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.8.3.ebuild b/sys-cluster/openmpi/openmpi-1.8.3.ebuild
new file mode 100644
index 0000000..73db000
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.8.3.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit cuda eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_udcm
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	cuda? ( dev-util/nvidia-cuda-toolkit )
+	dev-libs/libevent
+	>=sys-apps/hwloc-1.7.2
+	sys-libs/zlib
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_with cma) \
+		$(use_with cuda cuda "${EPREFIX}"/opt/cuda) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_udcm openib-udcm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install
+
+	# From USE=vt see #359917
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
+
+	# Avoid collisions with libevent
+	rm -rf "${ED}"/$(mpi_root)/usr/include/event2 &> /dev/null
+
+	# Remove la files, no static libs are installed and we have pkg-config
+	find "${ED}"/$(mpi_root)/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2014-01-18  7:39 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2014-01-18  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     816d30d42cc1d7de65ca693de2ab3c43ac7c3798
Author:     Andreas Schäfer <gentryx <AT> gmx <DOT> de>
AuthorDate: Thu Jan 16 10:07:03 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 10:07:03 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=816d30d4

removed superfluous die commands after emake

---
 sys-cluster/openmpi/openmpi-1.7.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.7.3.ebuild b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
index 7b028cc..05dcafa 100644
--- a/sys-cluster/openmpi/openmpi-1.7.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
@@ -142,7 +142,7 @@ src_configure() {
 }
 
 src_install () {
-	emake DESTDIR="${D}" install || die "make install failed"
+	emake DESTDIR="${D}" install
 	# From USE=vt see #359917
 	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	# Avoid collisions with libevent
@@ -155,5 +155,5 @@ src_test() {
 	# Doesn't work with the default src_test as the dry run (-n) fails.
 
 	# Do not override malloc during build.  Works around #462602
-	emake -j1 check || die "emake check failed"
+	emake -j1 check
 }


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2014-01-18  7:38 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2014-01-18  7:38 UTC (permalink / raw
  To: gentoo-commits

commit:     99f9ec300db78fe0e35a001867def53eb3f12509
Author:     Andreas Schäfer <gentryx <AT> gmx <DOT> de>
AuthorDate: Thu Jan 16 10:07:03 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:34 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=99f9ec30

removed superfluous die commands after emake

---
 sys-cluster/openmpi/openmpi-1.7.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.7.3.ebuild b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
index 7b028cc..05dcafa 100644
--- a/sys-cluster/openmpi/openmpi-1.7.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.7.3.ebuild
@@ -142,7 +142,7 @@ src_configure() {
 }
 
 src_install () {
-	emake DESTDIR="${D}" install || die "make install failed"
+	emake DESTDIR="${D}" install
 	# From USE=vt see #359917
 	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	# Avoid collisions with libevent
@@ -155,5 +155,5 @@ src_test() {
 	# Doesn't work with the default src_test as the dry run (-n) fails.
 
 	# Do not override malloc during build.  Works around #462602
-	emake -j1 check || die "emake check failed"
+	emake -j1 check
 }


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2013-07-11  0:32 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2013-07-11  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8535fe85e271b06bd622e794fa2866fda0270f82
Author:     Justin Bronder <jbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 00:32:13 2013 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 00:32:13 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8535fe85

bump

Package-Manager: portage-2.1.12.2

---
 sys-cluster/openmpi/ChangeLog                                       | 6 ++++++
 .../openmpi/{openmpi-1.6.4-r1.ebuild => openmpi-1.6.5.ebuild}       | 0
 2 files changed, 6 insertions(+)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 54e1caa..5efe6ff 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.6.5 (11 Jul 2013)
+
+  11 Jul 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.6.4-r1.ebuild,
+  +openmpi-1.6.5.ebuild:
+  bump
+
   02 Jul 2013; Justin Bronder <jsbronder@gentoo.org>
   files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch:
   Update patch per sandbox team

diff --git a/sys-cluster/openmpi/openmpi-1.6.4-r1.ebuild b/sys-cluster/openmpi/openmpi-1.6.5.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-1.6.4-r1.ebuild
rename to sys-cluster/openmpi/openmpi-1.6.5.ebuild


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2013-07-02  2:15 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2013-07-02  2:15 UTC (permalink / raw
  To: gentoo-commits

commit:     4676e734b9fb5157a37c301380a256ec93fa6ed5
Author:     Justin Bronder <jbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  2 02:15:21 2013 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Jul  2 02:15:21 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4676e734

Remove old

Package-Manager: portage-2.1.12.2

---
 sys-cluster/openmpi/ChangeLog            |   3 +
 sys-cluster/openmpi/openmpi-1.6.4.ebuild | 160 -------------------------------
 2 files changed, 3 insertions(+), 160 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index f457326..9b844ff 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  02 Jul 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.6.4.ebuild:
+  Remove old
+
 *openmpi-1.6.4-r1 (02 Jul 2013)
 
   02 Jul 2013; Justin Bronder <jsbronder@gentoo.org>

diff --git a/sys-cluster/openmpi/openmpi-1.6.4.ebuild b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
deleted file mode 100644
index 3625aa1..0000000
--- a/sys-cluster/openmpi/openmpi-1.6.4.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-IUSE_OPENMPI_FABRICS="
-	openmpi_fabrics_dapl
-	openmpi_fabrics_ofed
-	openmpi_fabrics_knem
-	openmpi_fabrics_open-mx
-	openmpi_fabrics_psm
-	openmpi_fabrics_sctp"
-
-IUSE_OPENMPI_RM="
-	openmpi_rm_pbs
-	openmpi_rm_slurm"
-
-IUSE_OPENMPI_OFED_FEATURES="
-	openmpi_ofed_features_control-hdr-padding
-	openmpi_ofed_features_connectx-xrc
-	openmpi_ofed_features_rdmacm
-	openmpi_ofed_features_dynamic-sl
-	openmpi_ofed_features_failover"
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
-IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
-	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
-
-REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
-	openmpi_rm_pbs? ( !openmpi_rm_slurm )
-	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
-	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
-
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-
-RDEPEND="
-	>=sys-apps/hwloc-1.3
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	openmpi_fabrics_dapl? ( sys-infiniband/dapl )
-	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
-	openmpi_fabrics_knem? ( sys-cluster/knem )
-	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
-	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
-	openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
-	openmpi_rm_pbs? ( sys-cluster/torque )
-	openmpi_rm_slurm? ( sys-cluster/slurm )
-	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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
-		--with-hwloc="${EPREFIX}/usr"
-		)
-
-	if use mpi-threads; then
-		myconf+=(--enable-mpi-threads
-			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_enable ipv6) \
-		$(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
-		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
-		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
-		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
-		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
-		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
-		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
-		$(use_with openmpi_fabrics_sctp sctp) \
-		$(use_with openmpi_rm_pbs tm) \
-		$(use_with openmpi_rm_slurm slurm)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install || die "make install failed"
-	# From USE=vt see #359917
-	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-
-	# Do not override malloc during build.  Works around #462602
-	export FAKEROOTKEY=1
-	emake -j1 check || die "emake check failed"
-}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2013-04-09  0:18 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2013-04-09  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     f2167da89f26075b2a4f4caa214aeccf96bf9858
Author:     Justin Bronder <jbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 00:15:52 2013 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 00:18:17 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f2167da8

Bump, workaround #462602

Package-Manager: portage-2.1.11.60

---
 sys-cluster/openmpi/ChangeLog                      |    6 ++++++
 .../{openmpi-1.6.3.ebuild => openmpi-1.6.4.ebuild} |    7 +++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 5596f04..6957971 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.6.4 (09 Apr 2013)
+
+  09 Apr 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.6.3.ebuild,
+  +openmpi-1.6.4.ebuild:
+  Bump, workaround #462602
+
 *openmpi-1.6.3 (10 Jan 2013)
 
   10 Jan 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.3.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.6.3.ebuild b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
similarity index 97%
rename from sys-cluster/openmpi/openmpi-1.6.3.ebuild
rename to sys-cluster/openmpi/openmpi-1.6.4.ebuild
index 1902e42..3625aa1 100644
--- a/sys-cluster/openmpi/openmpi-1.6.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
 
-EAPI=4
+EAPI=5
 
 FORTRAN_NEEDED=fortran
 
@@ -146,12 +146,15 @@ src_configure() {
 src_install () {
 	emake DESTDIR="${D}" install || die "make install failed"
 	# From USE=vt see #359917
-	rm "${D}"/$(mpi_root)/usr/share/libtool &> /dev/null
+	rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	mpi_dodoc README AUTHORS NEWS VERSION || die
 	mpi_imp_add_eselect
 }
 
 src_test() {
 	# Doesn't work with the default src_test as the dry run (-n) fails.
+
+	# Do not override malloc during build.  Works around #462602
+	export FAKEROOTKEY=1
 	emake -j1 check || die "emake check failed"
 }


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2013-01-10  1:53 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2013-01-10  1:53 UTC (permalink / raw
  To: gentoo-commits

commit:     46a2616dc39a6192809f3781d4a22ac93c883da1
Author:     Justin Bronder <jbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 10 01:52:57 2013 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Jan 10 01:52:57 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=46a2616d

sync with gentoo-x86

Package-Manager: portage-2.1.11.38

---
 sys-cluster/openmpi/ChangeLog            |    8 ++-
 sys-cluster/openmpi/metadata.xml         |    2 -
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |  115 ----------------------
 sys-cluster/openmpi/openmpi-1.6.3.ebuild |  157 ++++++++++++++++++++++++++++++
 4 files changed, 164 insertions(+), 118 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 3b69a84..5596f04 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sys-cluster/openmpi
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.6.3 (10 Jan 2013)
+
+  10 Jan 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.3.ebuild,
+  +openmpi-1.6.3.ebuild:
+  sync with gentoo-x86
+
   14 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> openmpi-1.5.3.ebuild:
   Add slurm support by Nicolas Bigaouette <nbigaouette@gmail.com>
 

diff --git a/sys-cluster/openmpi/metadata.xml b/sys-cluster/openmpi/metadata.xml
index f583154..44da45e 100644
--- a/sys-cluster/openmpi/metadata.xml
+++ b/sys-cluster/openmpi/metadata.xml
@@ -8,10 +8,8 @@
 	<use>
 		<flag name='heterogeneous'>Enable features required for heterogeneous
 		platform support</flag>
-		<flag name='pbs'>Add support for the Portable Batch System (PBS)</flag>
 		<flag name='romio'>Build the ROMIO MPI-IO component</flag>
 		<flag name='mpi-threads'>Enable MPI_THREAD_MULTIPLE</flag>
 		<flag name='vt'>Enable bundled VampirTrace support</flag>
-		<flag name='infiniband'>Enable infiniband support</flag>
 	</use>
 </pkgmetadata>

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
deleted file mode 100644
index a9a0f60..0000000
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
-
-EAPI=4
-inherit eutils flag-o-matic fortran-2 mpi multilib toolchain-funcs
-
-MY_P=${P/-mpi}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="A high-performance message passing library (MPI)"
-HOMEPAGE="http://www.open-mpi.org"
-SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs romio slurm threads vt"
-MPI_UNCLASSED_DEP_STR="
-	vt? (
-		!dev-libs/libotf
-		!app-text/lcdf-typetools
-	)"
-RDEPEND="pbs? ( sys-cluster/torque )
-	slurm? ( sys-cluster/slurm )
-	infiniband? ( sys-infiniband/libibverbs )
-	elibc_FreeBSD? ( dev-libs/libexecinfo )
-	>=sys-apps/hwloc-1.1.1
-	$(mpi_imp_deplist)"
-DEPEND="${RDEPEND}"
-REQUIRED_USE="pbs? ( !slurm )
-	slurm? ( !pbs )"
-
-pkg_setup() {
-	fortran-2_pkg_setup
-	MPI_ESELECT_FILE="eselect.mpi.openmpi"
-
-	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() {
-	# Fix --as-needed problems with f77 and f90.
-	sed -i 's:^libs=:libs=-Wl,--no-as-needed :' \
-		ompi/tools/wrappers/mpif{77,90}-wrapper-data.txt.in
-
-	# 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
-
-	# Gentoo bug 360185
-	epatch "${FILESDIR}"/openmpi-r24328.patch
-}
-
-src_configure() {
-	local myconf=(
-		--sysconfdir="${EPREFIX}/etc/${PN}"
-		--enable-pretty-print-stacktrace
-		--enable-orterun-prefix-by-default
-		--with-hwloc=/usr
-		)
-
-	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 $(mpi_econf_args) "${myconf[@]}" \
-		$(use_enable cxx mpi-cxx) \
-		$(use_enable romio io-romio) \
-		$(use_enable heterogeneous) \
-		$(use_with pbs tm) \
-		$(use_with slurm) \
-		$(use_enable ipv6) \
-		$(use_with infiniband openib)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install || die
-	# From USE=vt see #359917
-	rm "${D}"/$(mpi_root)/usr/share/libtool &> /dev/null
-	mpi_dodoc README AUTHORS NEWS VERSION || die
-	mpi_imp_add_eselect
-}
-
-src_test() {
-	# Doesn't work with the default src_test as the dry run (-n) fails.
-	emake -j1 check || die
-}

diff --git a/sys-cluster/openmpi/openmpi-1.6.3.ebuild b/sys-cluster/openmpi/openmpi-1.6.3.ebuild
new file mode 100644
index 0000000..1902e42
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.6.3.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
+
+EAPI=4
+
+FORTRAN_NEEDED=fortran
+
+inherit eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+	openmpi_fabrics_dapl
+	openmpi_fabrics_ofed
+	openmpi_fabrics_knem
+	openmpi_fabrics_open-mx
+	openmpi_fabrics_psm
+	openmpi_fabrics_sctp"
+
+IUSE_OPENMPI_RM="
+	openmpi_rm_pbs
+	openmpi_rm_slurm"
+
+IUSE_OPENMPI_OFED_FEATURES="
+	openmpi_ofed_features_control-hdr-padding
+	openmpi_ofed_features_connectx-xrc
+	openmpi_ofed_features_rdmacm
+	openmpi_ofed_features_dynamic-sl
+	openmpi_ofed_features_failover"
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
+	${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
+
+REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
+	openmpi_rm_pbs? ( !openmpi_rm_slurm )
+	openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
+	openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
+
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
+
+RDEPEND="
+	>=sys-apps/hwloc-1.3
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	openmpi_fabrics_dapl? ( sys-infiniband/dapl )
+	openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+	openmpi_fabrics_knem? ( sys-cluster/knem )
+	openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+	openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
+	openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
+	openmpi_rm_pbs? ( sys-cluster/torque )
+	openmpi_rm_slurm? ( sys-cluster/slurm )
+	openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
+	$(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	MPI_ESELECT_FILE="eselect.mpi.openmpi"
+
+	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
+		--with-hwloc="${EPREFIX}/usr"
+		)
+
+	if use mpi-threads; then
+		myconf+=(--enable-mpi-threads
+			--enable-opal-multi-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 $(mpi_econf_args) "${myconf[@]}" \
+		$(use_enable cxx mpi-cxx) \
+		$(use_enable romio io-romio) \
+		$(use_enable heterogeneous) \
+		$(use_enable ipv6) \
+		$(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
+		$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
+		$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
+		$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
+		$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
+		$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
+		$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
+		$(use_with openmpi_fabrics_sctp sctp) \
+		$(use_with openmpi_rm_pbs tm) \
+		$(use_with openmpi_rm_slurm slurm)
+}
+
+src_install () {
+	emake DESTDIR="${D}" install || die "make install failed"
+	# From USE=vt see #359917
+	rm "${D}"/$(mpi_root)/usr/share/libtool &> /dev/null
+	mpi_dodoc README AUTHORS NEWS VERSION || die
+	mpi_imp_add_eselect
+}
+
+src_test() {
+	# Doesn't work with the default src_test as the dry run (-n) fails.
+	emake -j1 check || die "emake check failed"
+}


^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-08-15 17:23 Kacper Kowalik
  0 siblings, 0 replies; 72+ messages in thread
From: Kacper Kowalik @ 2011-08-15 17:23 UTC (permalink / raw
  To: gentoo-commits

commit:     959a126b077bf3c2a1c54929d0c9ea463aa625e1
Author:     Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 17:23:05 2011 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 17:23:05 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=959a126b

[sys-cluster/openmpi] redundant cd ${S} statement on line

---
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index 6e124ae..a9a0f60 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -111,6 +111,5 @@ src_install () {
 
 src_test() {
 	# Doesn't work with the default src_test as the dry run (-n) fails.
-	cd "${S}"
-	emake -j1 check || die "emake check failed"
+	emake -j1 check || die
 }



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-08-14  9:46 Kacper Kowalik
  0 siblings, 0 replies; 72+ messages in thread
From: Kacper Kowalik @ 2011-08-14  9:46 UTC (permalink / raw
  To: gentoo-commits

commit:     cef4a93ada7063c58f6d026c73342e97c3966a07
Author:     Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 14 09:46:31 2011 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 09:46:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cef4a93a

[sys-cluster/openmpi] Add slurm support by Nicolas Bigaouette <nbigaouette <AT> gmail.com>

---
 sys-cluster/openmpi/ChangeLog            |    3 +++
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |   17 ++++++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 8224a92..3b69a84 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> openmpi-1.5.3.ebuild:
+  Add slurm support by Nicolas Bigaouette <nbigaouette@gmail.com>
+
   21 Jun 2011; Justin Lecher <jlec@gentoo.org> openmpi-1.5.3.ebuild:
   Added fortran-2.eclass support
 

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index b69bc6b..6e124ae 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
 
-EAPI=3
+EAPI=4
 inherit eutils flag-o-matic fortran-2 mpi multilib toolchain-funcs
 
 MY_P=${P/-mpi}
@@ -14,18 +14,21 @@ SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs romio threads vt"
+IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs romio slurm threads vt"
 MPI_UNCLASSED_DEP_STR="
 	vt? (
 		!dev-libs/libotf
 		!app-text/lcdf-typetools
 	)"
 RDEPEND="pbs? ( sys-cluster/torque )
-		infiniband? ( sys-infiniband/libibverbs )
-		elibc_FreeBSD? ( dev-libs/libexecinfo )
-		>=sys-apps/hwloc-1.1.1
-		$(mpi_imp_deplist)"
+	slurm? ( sys-cluster/slurm )
+	infiniband? ( sys-infiniband/libibverbs )
+	elibc_FreeBSD? ( dev-libs/libexecinfo )
+	>=sys-apps/hwloc-1.1.1
+	$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
+REQUIRED_USE="pbs? ( !slurm )
+	slurm? ( !pbs )"
 
 pkg_setup() {
 	fortran-2_pkg_setup
@@ -67,7 +70,6 @@ src_configure() {
 		--sysconfdir="${EPREFIX}/etc/${PN}"
 		--enable-pretty-print-stacktrace
 		--enable-orterun-prefix-by-default
-		--without-slurm
 		--with-hwloc=/usr
 		)
 
@@ -94,6 +96,7 @@ src_configure() {
 		$(use_enable romio io-romio) \
 		$(use_enable heterogeneous) \
 		$(use_with pbs tm) \
+		$(use_with slurm) \
 		$(use_enable ipv6) \
 		$(use_with infiniband openib)
 }



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-06-24 17:09 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     867faedb2c0e1410378c33816409b8c297ddba43
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 16:22:29 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 16:22:29 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=867faedb

Sort inherit and/or USE

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index 0a5b106..b69bc6b 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
 
 EAPI=3
-inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs mpi
+inherit eutils flag-o-matic fortran-2 mpi multilib toolchain-funcs
 
 MY_P=${P/-mpi}
 S=${WORKDIR}/${MY_P}
@@ -13,8 +13,8 @@ HOMEPAGE="http://www.open-mpi.org"
 SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 infiniband mpi-threads pbs romio threads vt"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs romio threads vt"
 MPI_UNCLASSED_DEP_STR="
 	vt? (
 		!dev-libs/libotf



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-06-21 11:54 Justin Lecher
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Lecher @ 2011-06-21 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     455749c03f1134dbe5e919034ea017495156f6b8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 11:20:07 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 11:20:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=455749c0

Added fortran-2.eclass support

(Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)

---
 sys-cluster/openmpi/ChangeLog            |    3 +++
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 1a5a8ff..8224a92 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> openmpi-1.5.3.ebuild:
+  Added fortran-2.eclass support
+
   28 Mar 2011; Justin Bronder <jsbronder@gentoo.org>
   -files/openmpi-1.4.1-r22513.patch, +files/openmpi-r24328.patch,
   openmpi-1.5.3.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index 16643c4..0a5b106 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
 
 EAPI=3
-inherit eutils multilib flag-o-matic toolchain-funcs mpi
+inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs mpi
 
 MY_P=${P/-mpi}
 S=${WORKDIR}/${MY_P}
@@ -28,6 +28,7 @@ RDEPEND="pbs? ( sys-cluster/torque )
 DEPEND="${RDEPEND}"
 
 pkg_setup() {
+	fortran-2_pkg_setup
 	MPI_ESELECT_FILE="eselect.mpi.openmpi"
 
 	if use mpi-threads; then



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-03-22 17:45 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2011-03-22 17:45 UTC (permalink / raw
  To: gentoo-commits

commit:     876cf6d22e98b086b8a8632354d4a69078c2679d
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 17:45:15 2011 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 17:45:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=876cf6d2

Remove libtool if it was installed by USE=vt, bug #359917.

(Portage version: 2.1.9.43/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4D7043C9)

---
 sys-cluster/openmpi/ChangeLog            |    3 +++
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 1e73f40..c8d9a51 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -3,6 +3,9 @@
 # $Header: $
 
   22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:
+  Remove libtool if it was installed by USE=vt, bug #359917.
+
+  22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:
   Make the USE=vt blockers conditional on being an unclasssed merge.
 
   22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index 5988736..971c5a3 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -96,6 +96,8 @@ src_configure() {
 
 src_install () {
 	emake DESTDIR="${D}" install || die
+	# From USE=vt see #359917
+	rm "${D}"/$(mpi_root)/usr/share/libtool &> /dev/null
 	mpi_dodoc README AUTHORS NEWS VERSION || die
 	mpi_imp_add_eselect
 }



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-03-22 14:22 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2011-03-22 14:22 UTC (permalink / raw
  To: gentoo-commits

commit:     aea9f416b987f9ddec50065d7ed74b4a474f6df7
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 14:21:46 2011 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 14:22:04 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=aea9f416

Make the USE=vt blockers conditional on being an unclasssed merge.

(Portage version: 2.1.9.43/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4D7043C9)

---
 sys-cluster/openmpi/ChangeLog            |    3 +++
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    9 +++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 6eaff71..1e73f40 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -3,6 +3,9 @@
 # $Header: $
 
   22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:
+  Make the USE=vt blockers conditional on being an unclasssed merge.
+
+  22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:
   Remove commented RESTRICT
 
 *openmpi-1.5.3 (22 Mar 2011)

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index c31e033..5988736 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -15,11 +15,12 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 infiniband mpi-threads pbs romio threads vt"
+MPI_UNCLASSED_DEP_STR="
+	vt? (
+		!dev-libs/libotf
+		!app-text/lcdf-typetools
+	)"
 RDEPEND="pbs? ( sys-cluster/torque )
-		vt? (
-			!dev-libs/libotf
-			!app-text/lcdf-typetools
-		)
 		infiniband? ( sys-infiniband/libibverbs )
 		elibc_FreeBSD? ( dev-libs/libexecinfo )
 		>=sys-apps/hwloc-1.1.1



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-03-22  1:06 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2011-03-22  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c6f594da07a8c2b69566b55218a78832981fdb02
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 01:06:27 2011 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 01:06:27 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c6f594da

Remove commented RESTRICT

(Portage version: 2.1.9.43/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4D7043C9)

---
 sys-cluster/openmpi/ChangeLog            |    3 +++
 sys-cluster/openmpi/openmpi-1.5.3.ebuild |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 4c7e938..6eaff71 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> openmpi-1.5.3.ebuild:
+  Remove commented RESTRICT
+
 *openmpi-1.5.3 (22 Mar 2011)
 
   22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.2.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.5.3.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
index c0ee59f..c31e033 100644
--- a/sys-cluster/openmpi/openmpi-1.5.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
@@ -14,7 +14,6 @@ SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-#RESTRICT="mpi-threads? ( test )"
 IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 infiniband mpi-threads pbs romio threads vt"
 RDEPEND="pbs? ( sys-cluster/torque )
 		vt? (



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-03-22  0:44 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2011-03-22  0:44 UTC (permalink / raw
  To: gentoo-commits

commit:     180be8804825cc4c56d4f238ff2c2f838ffbc8fa
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 00:44:38 2011 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 00:44:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=180be880

Bump #349076

(Portage version: 2.1.9.43/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4D7043C9)

---
 sys-cluster/openmpi/ChangeLog                      |    6 ++++++
 .../{openmpi-1.5.2.ebuild => openmpi-1.5.3.ebuild} |    0
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index eec7289..4c7e938 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.5.3 (22 Mar 2011)
+
+  22 Mar 2011; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.2.ebuild,
+  +openmpi-1.5.3.ebuild:
+  Bump #349076
+
 *openmpi-1.5.2 (14 Mar 2011)
 
   14 Mar 2011; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.1.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.5.2.ebuild b/sys-cluster/openmpi/openmpi-1.5.3.ebuild
similarity index 100%
rename from sys-cluster/openmpi/openmpi-1.5.2.ebuild
rename to sys-cluster/openmpi/openmpi-1.5.3.ebuild



^ permalink raw reply related	[flat|nested] 72+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
@ 2011-03-14 21:20 Justin Bronder
  0 siblings, 0 replies; 72+ messages in thread
From: Justin Bronder @ 2011-03-14 21:20 UTC (permalink / raw
  To: gentoo-commits

commit:     c7a774f37cf0a2ecfe35973af3195bdcdc3c6dbb
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 21:19:48 2011 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 21:19:48 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c7a774f3

Version bump.  Use system sys-app/hwloc.

(Portage version: 2.1.9.33/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4D7043C9)

---
 sys-cluster/openmpi/ChangeLog                      |    6 ++++++
 .../{openmpi-1.5.1.ebuild => openmpi-1.5.2.ebuild} |    2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 7d40e55..eec7289 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmpi-1.5.2 (14 Mar 2011)
+
+  14 Mar 2011; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.1.ebuild,
+  +openmpi-1.5.2.ebuild:
+  Version bump. Use system sys-app/hwloc.
+
 *openmpi-1.5.1 (01 Feb 2011)
 
   01 Feb 2011; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.4.2-r1.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.5.1.ebuild b/sys-cluster/openmpi/openmpi-1.5.2.ebuild
similarity index 98%
rename from sys-cluster/openmpi/openmpi-1.5.1.ebuild
rename to sys-cluster/openmpi/openmpi-1.5.2.ebuild
index 25bea8d..c0ee59f 100644
--- a/sys-cluster/openmpi/openmpi-1.5.1.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.5.2.ebuild
@@ -23,6 +23,7 @@ RDEPEND="pbs? ( sys-cluster/torque )
 		)
 		infiniband? ( sys-infiniband/libibverbs )
 		elibc_FreeBSD? ( dev-libs/libexecinfo )
+		>=sys-apps/hwloc-1.1.1
 		$(mpi_imp_deplist)"
 DEPEND="${RDEPEND}"
 
@@ -63,6 +64,7 @@ src_configure() {
 		--enable-pretty-print-stacktrace
 		--enable-orterun-prefix-by-default
 		--without-slurm
+		--with-hwloc=/usr
 		)
 
 	if use mpi-threads; then



^ permalink raw reply related	[flat|nested] 72+ messages in thread

end of thread, other threads:[~2019-08-29 20:28 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03  1:39 [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/ Justin Bronder
  -- strict thread matches above, loose matches on Subject: below --
2019-08-29 20:28 Justin Bronder
2019-06-10 20:38 Justin Bronder
2019-06-10 20:38 Justin Bronder
2019-06-10 14:53 Justin Bronder
2019-04-08 21:56 Justin Bronder
2019-02-26  2:59 Justin Bronder
2018-11-19  4:16 Justin Bronder
2018-11-14 15:51 Justin Bronder
2018-10-29 22:17 Justin Bronder
2018-09-11 14:23 Justin Bronder
2018-08-27 14:36 Justin Bronder
2018-08-20 20:38 Justin Bronder
2018-08-13 15:07 Justin Bronder
2018-07-02 15:26 Justin Bronder
2018-06-06  0:49 Matthias Maier
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2017-09-22 16:20 Justin Bronder
2017-05-10 20:23 Justin Bronder
2017-03-23  0:26 Justin Bronder
2017-03-22 20:18 Justin Bronder
2017-03-22 16:36 Justin Bronder
2017-03-22 16:36 Justin Bronder
2017-02-01 14:03 Justin Bronder
2016-11-10 21:09 Justin Bronder
2016-11-10 21:09 Justin Bronder
2016-11-08 18:26 Justin Bronder
2016-09-08 20:18 Christoph Junghans
2016-08-29 20:45 Justin Bronder
2016-08-29 20:45 Justin Bronder
2016-08-29 20:45 Justin Bronder
2016-08-11 13:12 Justin Bronder
2016-08-11 13:12 Justin Bronder
2016-02-11  2:05 Justin Bronder
2015-11-21 15:14 Christoph Junghans
2015-11-03 23:53 Christoph Junghans
2015-09-23 22:01 Justin Bronder
2015-09-23 12:48 Justin Lecher
2015-08-06 19:53 Justin Bronder
2015-07-16 23:16 Justin Bronder
2015-07-16 23:11 Justin Bronder
2015-06-22 15:17 Justin Bronder
2015-05-12 22:08 Justin Bronder
2015-04-20 16:39 Justin Bronder
2015-04-20 16:29 Justin Bronder
2015-02-22 20:29 Christoph Junghans
2015-02-21 20:05 Christoph Junghans
2015-02-20 22:42 Christoph Junghans
2015-02-20 16:57 Christoph Junghans
2015-02-19 18:00 Christoph Junghans
2015-02-18 16:41 Justin Lecher
2015-02-17  0:13 Christoph Junghans
2014-10-16 15:50 Christoph Junghans
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-07-11  0:32 Justin Bronder
2013-07-02  2:15 Justin Bronder
2013-04-09  0:18 Justin Bronder
2013-01-10  1:53 Justin Bronder
2011-08-15 17:23 Kacper Kowalik
2011-08-14  9:46 Kacper Kowalik
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-03-22 17:45 Justin Bronder
2011-03-22 14:22 Justin Bronder
2011-03-22  1:06 Justin Bronder
2011-03-22  0:44 Justin Bronder
2011-03-14 21:20 Justin Bronder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox