[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2019-08-29 Thread Justin Bronder
commit: c5c34b346b419dcd5ca5e0ea55205623336e8fc0
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Aug 29 20:28:04 2019 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Aug 29 20:28:04 2019 +
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  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}]



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

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

sys-cluster/openmpi: bump 3.1.4

Signed-off-by: Justin Bronder  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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2019-06-10 Thread Justin Bronder
commit: ee8ec19ca3131871f8833d8403400be96316c1f0
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Jun 10 20:20:05 2019 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Jun 10 20:20:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ee8ec19c

sys-cluster/openmpi: bump 3.0.4

Signed-off-by: Justin Bronder  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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

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

sys-cluster/openmpi: drop unused numa flag

Signed-off-by: Justin Bronder  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 )



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2019-04-08 Thread Justin Bronder
commit: 9b561f5c757362a404c9a7505b7344602a649ad3
Author: Jian Cao  gmail  com>
AuthorDate: Thu Apr  4 20:46:56 2019 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Apr  8 21:56:12 2019 +
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  gmail.com>
Signed-off-by: Justin Bronder  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
 }



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

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

sys-cluster/openmpi: bump 2.1.6

Signed-off-by: Justin Bronder  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) \



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-11-18 Thread Justin Bronder
commit: 2c00a30e20f3fa293db9d0e4216369dff0e3beb0
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Nov 19 04:13:27 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Nov 19 04:16:34 2018 +
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  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 0..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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-11-14 Thread Justin Bronder
commit: 33e516d3e4f7caec9df9b7f4cb9390c564f732bd
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Nov 14 15:44:47 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Nov 14 15:51:15 2018 +
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  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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-10-29 Thread Justin Bronder
commit: e1f86e60c786c9814c8176ac08db3ddbdf1569a7
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Oct 29 22:16:54 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Oct 29 22:16:54 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-09-11 Thread Justin Bronder
commit: 516c6ec881fc37358d3a60e327130e0d3ca58e5d
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue Sep 11 14:22:48 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Sep 11 14:22:48 2018 +
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-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?]
+   =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 )

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-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-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
elibc_FreeBSD? ( dev-libs/libexecinfo )



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-08-27 Thread Justin Bronder
commit: 16b12bb4aa67f6ef986beea8be8a9156c4e6c545
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Aug 27 14:35:43 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 27 14:35:43 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-08-20 Thread Justin Bronder
commit: fa8c6ad6be2c3d18a33709e9fe423f74a07f9bfc
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Aug 20 20:38:43 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 20 20:38:43 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-08-13 Thread Justin Bronder
commit: b8af25a6bd7e7e1d690b5d887f5b0b212ae4639b
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Aug 13 15:06:40 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 13 15:06:40 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-07-02 Thread Justin Bronder
commit: 497f018b5aea99c988b098e803b30e3f9577070f
Author: Justin Bronder  gentoo  org>
AuthorDate: Mon Jul  2 15:26:10 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Jul  2 15:26:10 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Matthias Maier
commit: 224c131fecdfa6923201bac9473e59a549b5a451
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Jun  6 00:48:05 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Wed Jun  6 00:49:16 2018 +
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
 "
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Justin Bronder
commit: d3654bdf8fb5ba43523f355994ddf1ee28391f72
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue May  8 14:41:56 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Jun  5 16:41:12 2018 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Justin Bronder
commit: 5c905d344459c1c8ac4a31bdbaaf720a88e80458
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue Jun  5 16:37:09 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Jun  5 16:41:30 2018 +
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 0..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) \
+  

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Justin Bronder
commit: 7859efaaa36018f8db29ee1df6067856aa046e29
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue Jun  5 16:14:14 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Jun  5 16:41:24 2018 +
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 0..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) \
+  

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Justin Bronder
commit: 6ad9af83c1a0b28aa05acaacdb3c4eba1580219e
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue Jun  5 16:04:18 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Jun  5 16:41:20 2018 +
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="



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2018-06-05 Thread Justin Bronder
commit: ec65b5bbf765093506469d39b7daaf99abff43e7
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue May  8 14:51:57 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Jun  5 16:41:16 2018 +
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-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 )
elibc_FreeBSD? ( dev-libs/libexecinfo )



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-09-22 Thread Justin Bronder
commit: 5cc0a97950e184d9c1a3f8a5c5829170242a6dc6
Author: Justin Bronder  gentoo  org>
AuthorDate: Fri Sep 22 16:20:17 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Fri Sep 22 16:20:17 2017 +
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) \



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-05-10 Thread Justin Bronder
commit: df3ffa0273fc99d2abd4f26371e223b278ab9fd5
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed May 10 20:22:34 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed May 10 20:22:34 2017 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-03-22 Thread Justin Bronder
commit: c00fb25cc919a08559292efab2e1ddd616041318
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Mar 23 00:25:52 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Mar 23 00:26:23 2017 +
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
 }
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-03-22 Thread Justin Bronder
commit: 6be46f9ef148637824579de0b5e51d2df9c13427
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Mar 22 20:17:23 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Mar 22 20:17:23 2017 +
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}]



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-03-22 Thread Justin Bronder
commit: 74b7e0763df32e22066d4a90bbc83eea4588b711
Author: Justin Bronder  gentoo  org>
AuthorDate: Fri Feb 17 21:57:52 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Mar 22 16:35:59 2017 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-03-22 Thread Justin Bronder
commit: b1521a4603320f8befc2fea974c5da0bbf60b38c
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Mar 22 16:32:53 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Mar 22 16:35:59 2017 +
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 0..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) \
+ 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2017-02-01 Thread Justin Bronder
commit: 9128181cfe69ee14b4d26f6d97b169dfa599a3c4
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Feb  1 14:02:53 2017 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Feb  1 14:02:53 2017 +
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$
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-11-10 Thread Justin Bronder
commit: 495a097287cfe683f8bd9d7fd109d4effa585bb1
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Nov 10 20:42:51 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Nov 10 20:46:59 2016 +
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..000
--- 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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-11-10 Thread Justin Bronder
commit: dcefeda47faf04f751d39f1d3f4430999553f40f
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Nov 10 20:44:38 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Nov 10 20:46:59 2016 +
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}]



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-11-08 Thread Justin Bronder
commit: 9b28376a8d2ff67bd83235be638a8e0c6083e7cd
Author: Justin Bronder  gentoo  org>
AuthorDate: Tue Nov  8 18:19:25 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Tue Nov  8 18:21:49 2016 +
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 000..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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-09-08 Thread Christoph Junghans
commit: f1e28e9f8009a5dc4465e771f1f5638784334109
Author: Christoph Junghans  gentoo  org>
AuthorDate: Thu Sep  8 20:18:00 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Thu Sep  8 20:18:31 2016 +
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() {



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-08-29 Thread Justin Bronder
commit: 4520a6855fc4f4810f66fbb87571847f526d3ee2
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon Aug 29 19:59:32 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 29 19:59:32 2016 +
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}"
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-08-29 Thread Justin Bronder
commit: 91299b30842d08569330de9cacca21294db759b7
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon Aug 29 18:39:37 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 29 18:46:12 2016 +
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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-08-29 Thread Justin Bronder
commit: 19d37085dc0d09bd4546828d633ead2a7f09408b
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon Aug 29 15:36:20 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Mon Aug 29 16:47:16 2016 +
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 000..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}" \
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-08-11 Thread Justin Bronder
commit: 4fa483e206c8b02e5e8057b9474608ef6b82b2fe
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Aug 11 13:12:42 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Aug 11 13:12:42 2016 +
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..000
--- 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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-08-11 Thread Justin Bronder
commit: 10d64b0401226532d4528a6d577b58e61a61f318
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Aug 11 13:12:05 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Aug 11 13:12:05 2016 +
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 000..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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2016-02-10 Thread Justin Bronder
commit: a6f522c08a86ac077a4cd5a0a3cde7eb30b23ae2
Author: Justin Bronder  gentoo  org>
AuthorDate: Thu Feb 11 02:05:12 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Thu Feb 11 02:05:12 2016 +
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 000..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 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-11-21 Thread Christoph Junghans
commit: ab57609dc8b5789640facb2a76dacaea6530f422
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sat Nov 21 15:13:38 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sat Nov 21 15:13:38 2015 +
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  
-openmpi-1.8.4-r99.ebuild:
+  sys-cluster/openmpi: bye bye multilib version
+
   03 Nov 2015; Christoph Junghans  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..000
--- 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; 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-11-03 Thread Christoph Junghans
commit: bda9a630a01f197f387fa95cbbcc0f2c88f562d3
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Nov  3 23:51:11 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Nov  3 23:51:11 2015 +
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  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  +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)



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-09-23 Thread Justin Lecher
commit: a53f0577c7330fa86cf60fa3271d4fe3bfa6fa56
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Sep 23 12:00:05 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Sep 23 12:00:05 2015 +
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  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



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-09-23 Thread Justin Bronder
commit: c991028d32523099c8c3c9f877a7c2bea99d4c8f
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Sep 23 22:01:19 2015 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Sep 23 22:01:19 2015 +
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  +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  +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 000..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=(
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-08-06 Thread Justin Bronder
commit: dc8702af5728eb0d647378799f421b56f9b83d35
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Thu Aug  6 19:52:10 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Thu Aug  6 19:52:49 2015 +
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 jsbron...@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 jsbron...@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
 }



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-07-16 Thread Justin Bronder
commit: 53fa5ebbdf71c019eff906cbaa6a9e65fc54c006
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Thu Jul 16 22:33:55 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Thu Jul 16 23:11:36 2015 +
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 jsbron...@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 jsbron...@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 000..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
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-07-16 Thread Justin Bronder
commit: d2a08dd4c814faa97bd012ca41f611bd8bd6b927
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Thu Jul 16 23:15:36 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Thu Jul 16 23:15:36 2015 +
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 jsbron...@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 jsbron...@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..000
--- 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
-   # 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-06-22 Thread Justin Bronder
commit: f29543a36e0bfadae75023be2db78fea88994b26
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Mon Jun 22 15:16:55 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Mon Jun 22 15:16:55 2015 +
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 jsbron...@gentoo.org +openmpi-1.8.6.ebuild:
+  sys-cluster/openmpi:  bump
+
 *openmpi-1.8.5 (12 May 2015)
 
   12 May 2015; Justin Bronder jsbron...@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 000..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
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-05-12 Thread Justin Bronder
commit: 242d4057a9bac123d43b52a8a11e418b5303a412
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Tue May 12 22:08:08 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Tue May 12 22:08:23 2015 +
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 jsbron...@gentoo.org +openmpi-1.8.5.ebuild:
+  bump
+
 *openmpi-1.8.4-r4 (20 Apr 2015)
 
   20 Apr 2015; Justin Bronder jsbron...@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 000..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
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-04-20 Thread Justin Bronder
commit: c35d858e8993fb552c46199ba854b662e0a4f3ef
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Mon Apr 20 16:38:47 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Mon Apr 20 16:38:47 2015 +
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 jsbron...@gentoo.org +openmpi-1.8.4-r4.ebuild:
+  sync with upstream
+
 *openmpi-1.8.4-r99 (20 Apr 2015)
 
   20 Apr 2015; Justin Bronder jsbron...@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 000..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() {

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-04-20 Thread Justin Bronder
commit: cd6047b8b954d9db6cf612403fcb9d3d2984554d
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Mon Apr 20 16:29:35 2015 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Mon Apr 20 16:29:35 2015 +
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 jsbron...@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 ott...@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}
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/, virtual/mpi/, sci-physics/root/, ...

2015-04-15 Thread Justin Lecher
commit: a94334503b1305007f699b8c586467390140cbf2
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Wed Apr 15 09:37:16 2015 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Wed Apr 15 09:37:16 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9433450

Drop CVS keywords

Signed-off-by: Justin Lecher jlec AT gentoo.org

 app-doc/root-docs/root-docs-.ebuild   | 2 +-
 app-text/jabref/jabref-2.10.ebuild| 2 +-
 dev-java/glazedlists/glazedlists-1.8.0.ebuild | 2 +-
 dev-libs/boost/boost-1.56.0-r2.ebuild | 2 +-
 sci-biology/amos/amos-3.1.0-r2.ebuild | 2 +-
 sci-biology/augustus/augustus-3.0.3.ebuild| 2 +-
 sci-biology/bedtools/bedtools-2.22.1.ebuild   | 2 +-
 sci-biology/cd-hit-auxtools/cd-hit-auxtools-0.5.ebuild| 2 +-
 sci-biology/cd-hit/cd-hit-4.6.1.ebuild| 2 +-
 sci-biology/exonerate-gff3/exonerate-gff3-.ebuild | 2 +-
 sci-biology/trf/trf-4.07b.ebuild  | 2 +-
 sci-biology/ucsc-genome-browser/ucsc-genome-browser-260.ebuild| 2 +-
 sci-biology/vcftools/vcftools-0.1.12b.ebuild  | 2 +-
 sci-libs/fftw/fftw-3.3.4-r1.ebuild| 2 +-
 sci-mathematics/singular/singular-4.0.0_p2.ebuild | 2 +-
 sci-physics/espresso/espresso-.ebuild | 2 +-
 sci-physics/root/root-.ebuild | 2 +-
 sci-visualization/mayavi/mayavi-4.4.0.ebuild  | 2 +-
 sys-cluster/libquo/libquo-.ebuild | 2 +-
 sys-cluster/mpich/mpich-3.1.3-r1.ebuild   | 2 +-
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild   | 2 +-
 virtual/mpi/mpi-2.0-r4.ebuild | 2 +-
 virtual/perl-encoding-warnings/perl-encoding-warnings-0.11.ebuild | 2 +-
 23 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/app-doc/root-docs/root-docs-.ebuild 
b/app-doc/root-docs/root-docs-.ebuild
index ee79039..8999fb8 100644
--- a/app-doc/root-docs/root-docs-.ebuild
+++ b/app-doc/root-docs/root-docs-.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/app-doc/root-docs/root-docs-5.34.28.ebuild,v 1.1 
2015/03/25 21:39:33 bircoph Exp $
+# $Header: $
 
 EAPI=5
 

diff --git a/app-text/jabref/jabref-2.10.ebuild 
b/app-text/jabref/jabref-2.10.ebuild
index 47b2e16..7ac1db1 100644
--- a/app-text/jabref/jabref-2.10.ebuild
+++ b/app-text/jabref/jabref-2.10.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10_beta3.ebuild,v 
1.1 2014/02/19 04:10:12 nicolasbock Exp $
+# $Header: $
 
 EAPI=5
 

diff --git a/dev-java/glazedlists/glazedlists-1.8.0.ebuild 
b/dev-java/glazedlists/glazedlists-1.8.0.ebuild
index 16786dc..52abb1c 100644
--- a/dev-java/glazedlists/glazedlists-1.8.0.ebuild
+++ b/dev-java/glazedlists/glazedlists-1.8.0.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header:  $
+# $Header: $
 
 EAPI=5
 JAVA_PKG_IUSE=doc source

diff --git a/dev-libs/boost/boost-1.56.0-r2.ebuild 
b/dev-libs/boost/boost-1.56.0-r2.ebuild
index a68b2f7..e732f16 100644
--- a/dev-libs/boost/boost-1.56.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.56.0-r2.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/dev-libs/boost/boost-1.56.0-r1.ebuild,v 1.3 
2015/01/05 17:58:25 ottxor Exp $
+# $Header: $
 
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_3,3_4} )

diff --git a/sci-biology/amos/amos-3.1.0-r2.ebuild 
b/sci-biology/amos/amos-3.1.0-r2.ebuild
index ea2e376..ab8a404 100644
--- a/sci-biology/amos/amos-3.1.0-r2.ebuild
+++ b/sci-biology/amos/amos-3.1.0-r2.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/sci-biology/amos/amos-3.1.0-r1.ebuild,v 1.1 
2013/12/29 00:24:16 jlec Exp $
+# $Header: $
 
 EAPI=5
 

diff --git a/sci-biology/augustus/augustus-3.0.3.ebuild 
b/sci-biology/augustus/augustus-3.0.3.ebuild
index a8bc269..e4524e2 100644
--- a/sci-biology/augustus/augustus-3.0.3.ebuild
+++ b/sci-biology/augustus/augustus-3.0.3.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/sci-biology/augustus/augustus-2.5.5.ebuild,v 1.3 
2013/01/31 18:42:11 ago Exp $
+# 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-22 Thread Christoph Junghans
commit: 95bb942085d63215e0a25aaea23414d49a210169
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Sun Feb 22 20:28:57 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Sun Feb 22 20:28:57 2015 +
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 ott...@gentoo.org openmpi-1.8.4-r3.ebuild:
+  drop some useless slots
+
   21 Feb 2015; Christoph Junghans ott...@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}
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-21 Thread Christoph Junghans
commit: 53c824ffd1b1c23145a024a19b039238ed3146e1
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Sat Feb 21 20:04:47 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Sat Feb 21 20:05:41 2015 +
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 ott...@gentoo.org openmpi-1.8.4-r3.ebuild:
+  fixed USE=-fortran install
+
   20 Feb 2015; Christoph Junghans ott...@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
 }
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-20 Thread Christoph Junghans
commit: cf6efbd2476d172bb53098968a1751b5c52c5edc
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Fri Feb 20 22:42:32 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Fri Feb 20 22:42:32 2015 +
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 ott...@gentoo.org openmpi-1.8.4-r3.ebuild:
+  enabled multilib cuda
+
+  20 Feb 2015; Christoph Junghans ott...@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) \



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-20 Thread Christoph Junghans
commit: e3636e5fd50334e2319f42059a2ff8d72610db20
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Fri Feb 20 16:55:45 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Fri Feb 20 16:55:45 2015 +
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 ott...@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 ott...@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
 



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-19 Thread Christoph Junghans
commit: 2a9b86a8a66a4709836dda5e80cdf20129c9fedf
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Thu Feb 19 17:59:03 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Thu Feb 19 18:00:12 2015 +
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 ott...@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 j...@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=romioBuild the ROMIO MPI-IO component/flag
 flag name=mpi-threadsEnable MPI_THREAD_MULTIPLE/flag
+   flag name='numa'Enable numactl to allow binding processes to 
CPUs/flag
 flag name=vtEnable 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 )



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-18 Thread Justin Lecher
commit: 58203a5e4be942f424d280ff0c86a863cbd3dd87
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Wed Feb 18 14:11:46 2015 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Wed Feb 18 14:11:46 2015 +
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 j...@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 ott...@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
-   herdcluster/herd
-   maintainer
-   emailjsbron...@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
+  herdcluster/herd
+  maintainer
+emailjsbron...@gentoo.org/email
+  /maintainer
+  use
+flag name=cmaEnable the CMA (Cross Memory Attach) MCA/flag
+flag name=cudaAdd GPU direct support/flag
+flag name=heterogeneousEnable 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=romioBuild the ROMIO MPI-IO component/flag
+flag name=mpi-threadsEnable MPI_THREAD_MULTIPLE/flag
+flag name=vtEnable 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? ( 

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2015-02-16 Thread Christoph Junghans
commit: 46003c31dfa25c76807a91b0e2cb8f1dc418e112
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Tue Feb 17 00:03:24 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Tue Feb 17 00:03:24 2015 +
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 ott...@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 jsbron...@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 000..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
+  

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/, sys-cluster/openmpi/files/

2015-02-16 Thread Christoph Junghans
commit: aa2d8270717cbcfd7fa6f244fcda56c1eff53923
Author: Christoph Junghans ottxor AT gentoo DOT org
AuthorDate: Tue Feb 17 02:41:22 2015 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Tue Feb 17 02:41:22 2015 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=aa2d8270

added fortran workaround and missing patch

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog|  4 ++
 sys-cluster/openmpi/files/openmpi-ltdl.patch | 78 
 sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild  |  2 +-
 3 files changed, 83 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 3885ff3..33e1bdf 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  17 Feb 2015; Christoph Junghans ott...@gentoo.org 
+files/openmpi-ltdl.patch,
+  openmpi-1.8.4-r2.ebuild:
+  added fortran workaround and missing patch
+
 *openmpi-1.8.4-r2 (17 Feb 2015)
 
   17 Feb 2015; Christoph Junghans ott...@gentoo.org +openmpi-1.8.4-r2.ebuild:

diff --git a/sys-cluster/openmpi/files/openmpi-ltdl.patch 
b/sys-cluster/openmpi/files/openmpi-ltdl.patch
new file mode 100644
index 000..a288ea2
--- /dev/null
+++ b/sys-cluster/openmpi/files/openmpi-ltdl.patch
@@ -0,0 +1,78 @@
+diff -up openmpi-1.6.3/ompi/debuggers/dlopen_test.c.ltdl 
openmpi-1.6.3/ompi/debuggers/dlopen_test.c
+--- openmpi-1.6.3/ompi/debuggers/dlopen_test.c.ltdl2012-04-03 
08:30:25.0 -0600
 openmpi-1.6.3/ompi/debuggers/dlopen_test.c 2012-11-02 14:50:12.613702426 
-0600
+@@ -13,7 +13,17 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#if OPAL_WANT_LIBLTDL
++  #ifndef __WINDOWS__
++#if OPAL_LIBLTDL_INTERNAL
++  #include opal/libltdl/ltdl.h
++#else
++  #include ltdl.h
++#endif
++  #else
++#include ltdl.h
++  #endif
++#endif
+ 
+ static int do_test(void);
+ 
+diff -up openmpi-1.6.3/ompi/debuggers/Makefile.am.ltdl 
openmpi-1.6.3/ompi/debuggers/Makefile.am
+--- openmpi-1.6.3/ompi/debuggers/Makefile.am.ltdl  2012-04-03 
08:30:25.0 -0600
 openmpi-1.6.3/ompi/debuggers/Makefile.am   2012-11-02 15:04:53.636926260 
-0600
+@@ -47,7 +47,7 @@ headers = \
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+ dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = $(LIBLTDL)
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff -up openmpi-1.6.3/test/support/components.c.ltdl 
openmpi-1.6.3/test/support/components.c
+--- openmpi-1.6.3/test/support/components.c.ltdl   2012-04-03 
08:29:44.0 -0600
 openmpi-1.6.3/test/support/components.c2012-11-02 14:50:29.204705380 
-0600
+@@ -24,7 +24,17 @@
+ 
+ #include opal/constants.h
+ #include opal/mca/mca.h
+-#include opal/libltdl/ltdl.h
++#if OPAL_WANT_LIBLTDL
++  #ifndef __WINDOWS__
++#if OPAL_LIBLTDL_INTERNAL
++  #include opal/libltdl/ltdl.h
++#else
++  #include ltdl.h
++#endif
++  #else
++#include ltdl.h
++  #endif
++#endif
+ 
+ #include components.h
+ 
+diff -up openmpi-1.6.3/test/support/components.h.ltdl 
openmpi-1.6.3/test/support/components.h
+--- openmpi-1.6.3/test/support/components.h.ltdl   2012-04-03 
08:29:44.0 -0600
 openmpi-1.6.3/test/support/components.h2012-11-02 14:50:22.409703519 
-0600
+@@ -20,7 +20,17 @@
+ #ifndef OMPI_SUPPORT_COMPONENTS_H
+ #define OMPI_SUPPORT_COMPONENTS_H
+ 
+-#include opal/libltdl/ltdl.h
++#if OPAL_WANT_LIBLTDL
++  #ifndef __WINDOWS__
++#if OPAL_LIBLTDL_INTERNAL
++  #include opal/libltdl/ltdl.h
++#else
++  #include ltdl.h
++#endif
++  #else
++#include ltdl.h
++  #endif
++#endif
+ #include opal/mca/mca.h
+ 
+ BEGIN_C_DECLS

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild 
b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
index 5aed96c..ce6c5a4 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild
@@ -131,7 +131,7 @@ multilib_src_configure() {
--enable-opal-multi-threads)
fi
 
-   if use fortran; then
+   if multilib_is_native_abi  use fortran; then
myconf+=(--enable-mpi-fortran=all)
else
myconf+=(--enable-mpi-fortran=no)



[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2014-10-16 Thread Christoph Junghans
commit: f3f2fb58009c4563d6c432e25ed2010b006d9662
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Wed Oct 15 05:16:44 2014 +
Commit: Christoph Junghans ottxor AT gentoo DOT org
CommitDate: Wed Oct 15 05:20:53 2014 +
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 jsbron...@gentoo.org +openmpi-1.8.3.ebuild:
+  sys-cluster/openmpi: bump
+
 *openmpi-1.8.1 (03 Jun 2014)
 
   03 Jun 2014; Justin Bronder jsbron...@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 000..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
+   

[gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/

2014-06-02 Thread Justin Bronder
commit: 022d6f2e0651de8e9cac7deb379bc5b4548e0ec5
Author: Justin Bronder jsbronder AT gentoo DOT org
AuthorDate: Tue Jun  3 01:38:57 2014 +
Commit: Justin Bronder jsbronder AT gentoo DOT org
CommitDate: Tue Jun  3 01:39:05 2014 +
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 jsbron...@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 jsbron...@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 000..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
+