summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/ChangeLog7
-rw-r--r--sys-cluster/openmpi/Manifest14
-rw-r--r--sys-cluster/openmpi/openmpi-1.3.2.ebuild113
3 files changed, 132 insertions, 2 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index c54a1a49adab..64d5de08d2c8 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/openmpi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.45 2009/04/21 15:55:14 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.46 2009/04/22 20:52:07 jsbronder Exp $
+
+*openmpi-1.3.2 (22 Apr 2009)
+
+ 22 Apr 2009; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.3.2.ebuild:
+ bump openmpi-1.3.2
21 Apr 2009; Brent Baude <ranger@gentoo.org> openmpi-1.2.9.ebuild:
Marking openmpi-1.2.9 ppc64 for bug 266555
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
index 26a20f4427bd..16cf15563861 100644
--- a/sys-cluster/openmpi/Manifest
+++ b/sys-cluster/openmpi/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST openmpi-1.2.6.tar.bz2 3556676 RMD160 abb72266e44cb5e3a2450a4936f3744edef77cf4 SHA1 b2960e2fd7432816cb70302a6b6c2f55fbd62cab SHA256 e5b27af5a153a257b1562a97bbf7164629161033934558cefd8e1e644a9f73d3
DIST openmpi-1.2.9.tar.bz2 3562494 RMD160 072d9a646345e6438e7b4559e06a210fbc06cae6 SHA1 b383e47799b2c615daa32029b98bb2ca6fe09be2 SHA256 0eb36abe09ba7bf6f7a70255974e5d0a273f7f32d0e23419862c6dcc986f1dff
DIST openmpi-1.3.1.tar.bz2 6452602 RMD160 f8ac2ce2fb90585a78bf02d3815ebdad0ae819ef SHA1 ed889010a4d85eb0ccb9bdc5639dcf4117c73787 SHA256 22d18919ddc5f49d55d7d63e2abfcdac34aa0234427e861e296a630c6c11632c
+DIST openmpi-1.3.2.tar.bz2 6500228 RMD160 36407d0c954def912ef4518334cdfbc2d884ba0f SHA1 0600736aa434daa1a55ae58eaa56850c9a0d173f SHA256 c93ed90962d879a2923bed17171ed9217036ee1279ffab0925ea7eead26105d8
EBUILD openmpi-1.2.6-r1.ebuild 2532 RMD160 0d0e7f85c7764797d8bded07e2d1fb91a8a6858b SHA1 c74630f95029072d564762d65bfffb8b6043e67d SHA256 301f428d8e5de3a07dc43c186e83b1ff0c03e2a0988f53f84494617f8e4cc24b
EBUILD openmpi-1.2.9.ebuild 2826 RMD160 66e0bdec0204bd78f0bfc6976d84a218eb32e55e SHA1 9a51a2ce92d67ad7bb05f37e3b821f45ddeeefe3 SHA256 96e1f1da90ca4925c10a33c54470c8d775812ccb7695598e134cdd940447845e
EBUILD openmpi-1.3.1.ebuild 2975 RMD160 6c74626d516242cd1b8dcc6272a58f60e7031bda SHA1 a3d2aeedddad360c8ae3cf5e97c53ffac5676963 SHA256 690e9261540730afdf782c2485db4cffcfe5ec6a7eacbfe9afbf3ee2932ad9bd
-MISC ChangeLog 7644 RMD160 db7a5260a15a72617aaaaff706537f33e76a51bd SHA1 96af5dcddb25914ace96815fa148212baf309f90 SHA256 2f4db285703e7531183166b409a3a8b2aa97e5ed1ea08e0346736e57660ea4d8
+EBUILD openmpi-1.3.2.ebuild 2975 RMD160 f7a4d3f5850017c2e55233d91ff953959453ca11 SHA1 67b8e6e3ae8abc17761de75d3237a7bdf89127fd SHA256 9c77eaa68b8eefbdc61281bf98c627cc6f1efa50bb700ff98218c4d959536dff
+MISC ChangeLog 7775 RMD160 cf8549cee5dfd0c2261140086da7494541d22954 SHA1 b45b269ff79185e06d1c2cf3227893793e45f5dd SHA256 731409f8ffe37068ee5078f99374437ca93a744e2ba2574d060d588d5fbff751
MISC metadata.xml 540 RMD160 a5b5c04dd211c373c43c715206de09ae13de4b4e SHA1 fb854d405b9851b16a3dff692972e98025171df8 SHA256 e49a74498fcf55e4182ece91514ab02ac2b2ce2570e05bb6ce409a19ba9a1a71
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAknvg30ACgkQ4MrvBE1wQ8kH2QCfbzwpSsuypibj5KdNXnCkdq+R
+4cwAnj0/fDNE1oc42io8RQ4ZhRDYYDd8
+=SIPw
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/openmpi/openmpi-1.3.2.ebuild b/sys-cluster/openmpi/openmpi-1.3.2.ebuild
new file mode 100644
index 000000000000..061f9f387864
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.3.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.3.2.ebuild,v 1.1 2009/04/22 20:52:07 jsbronder Exp $
+
+EAPI=1
+inherit eutils multilib flag-o-matic toolchain-funcs fortran
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v1.3/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+RESTRICT="mpi-threads? ( test )"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+cxx fortran heterogeneous ipv6 mpi-threads pbs romio threads"
+RDEPEND="pbs? ( sys-cluster/torque )
+ !sys-cluster/mpich
+ !sys-cluster/lam-mpi
+ !sys-cluster/mpich2
+ !sys-cluster/mpiexec"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ 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
+ epause 5
+ 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
+
+ if use fortran; then
+ FORTRAN="g77 gfortran ifc"
+ fortran_pkg_setup
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # 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_compile() {
+ local myconf="
+ --sysconfdir=/etc/${PN}
+ --without-xgrid
+ --enable-pretty-print-stacktrace
+ --enable-orterun-prefix-by-default
+ --without-slurm"
+
+ if use mpi-threads; then
+ myconf="${myconf}
+ --enable-mpi-threads
+ --with-progress-threads"
+ fi
+
+ if use fortran; then
+ if [[ "${FORTRANC}" = "g77" ]]; then
+ myconf="${myconf} --disable-mpi-f90"
+ elif [[ "${FORTRANC}" = "gfortran" ]]; then
+ # Because that's just a pain in the butt.
+ myconf="${myconf} --with-wrapper-fflags=-I/usr/include"
+ elif [[ "${FORTRANC}" = if* ]]; then
+ # Enabled here as gfortran compile times are huge with this enabled.
+ myconf="${myconf} --with-mpi-f90-size=medium"
+ fi
+ else
+ myconf="${myconf}
+ --disable-mpi-f90
+ --disable-mpi-f77"
+ fi
+
+ # Push Vampir Trace includes to a subdir.
+ myconf="${myconf} --with-contrib-vt-flags=\"--includedir=/usr/include/vt\""
+
+ econf ${myconf} \
+ $(use_enable cxx mpi-cxx) \
+ $(use_enable romio io-romio) \
+ $(use_enable heterogeneous) \
+ $(use_with pbs tm) \
+ $(use_enable ipv6) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc README AUTHORS NEWS VERSION
+}
+
+src_test() {
+ # Doesn't work with the default src_test as the dry run (-n) fails.
+ cd "${S}"
+ emake -j1 check || die "emake check failed"
+}