summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2009-03-19 16:02:57 +0000
committerJustin Bronder <jsbronder@gentoo.org>2009-03-19 16:02:57 +0000
commit227240858c1a2c5e08fabaf78e752ec6787ac18d (patch)
treec4cf80d09fb7604e307844f9d81f909553f298ff /sys-cluster
parentMarked ~ppc/~ppc64. (diff)
downloadhistorical-227240858c1a2c5e08fabaf78e752ec6787ac18d.tar.gz
historical-227240858c1a2c5e08fabaf78e752ec6787ac18d.tar.bz2
historical-227240858c1a2c5e08fabaf78e752ec6787ac18d.zip
Bump openmpi-1.3.1
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/ChangeLog7
-rw-r--r--sys-cluster/openmpi/Manifest10
-rw-r--r--sys-cluster/openmpi/openmpi-1.3.1.ebuild113
3 files changed, 125 insertions, 5 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index bf6ae8477ce5..ba8609358848 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.38 2009/02/22 19:51:13 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.39 2009/03/19 16:02:57 jsbronder Exp $
+
+*openmpi-1.3.1 (19 Mar 2009)
+
+ 19 Mar 2009; Justin Bronder <jsbronder@gentoo.org> +openmpi-1.3.1.ebuild:
+ Bump openmpi-1.3.1
22 Feb 2009; Justin Bronder <jsbronder@gentoo.org> openmpi-1.3.ebuild:
Push Vampir Trace includes to a subdir. #257086
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
index 94705c96b97f..e0ed1b0c260c 100644
--- a/sys-cluster/openmpi/Manifest
+++ b/sys-cluster/openmpi/Manifest
@@ -6,6 +6,7 @@ DIST openmpi-1.2.6.tar.bz2 3556676 RMD160 abb72266e44cb5e3a2450a4936f3744edef77c
DIST openmpi-1.2.7.tar.bz2 3555597 RMD160 6707fba2f2de240c25f6135cd37bb42eb78c6590 SHA1 fd377ff52c5b6f61c293b0daa9d681046e673e22 SHA256 d66c7f0bb11494023451651d0e61afaef9d2199ed9a91ed08f0dedeb51541c36
DIST openmpi-1.2.8.tar.bz2 3556787 RMD160 59f0d0397d499eb7b3a08ca68ca9778ef2cb61fc SHA1 140ae223263e20b7bde8ac59b966924ba4a454bb SHA256 75b286cb3b1bf6528a7e64ee019369e0601b8acb5c3c167a987f755d1e41c95c
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.tar.bz2 6430688 RMD160 3eb696d3f9d88f652849e80c385cf8594a29f20c SHA1 c16d1dfa825e70db1aaac0414a33bfa130eb8b78 SHA256 864706d88d28b586a045461a828962c108f5912671071bc3ef0ca187f115e47b
EBUILD openmpi-1.2.5.ebuild 2404 RMD160 b1b34826f7642556f67e98ce8e82b195906074c3 SHA1 cfbb569fc286eb43433193879608c36f87b1c6b9 SHA256 c6f8211413d9cfb9914fbc81fb1be5bcf6b118297adc152fa8f63fbcb0120a08
EBUILD openmpi-1.2.6-r1.ebuild 2532 RMD160 0d0e7f85c7764797d8bded07e2d1fb91a8a6858b SHA1 c74630f95029072d564762d65bfffb8b6043e67d SHA256 301f428d8e5de3a07dc43c186e83b1ff0c03e2a0988f53f84494617f8e4cc24b
@@ -14,13 +15,14 @@ EBUILD openmpi-1.2.7-r1.ebuild 2832 RMD160 2e838c9a73515ab68a885fa115c7b5291e0fc
EBUILD openmpi-1.2.7.ebuild 2538 RMD160 5b65879d49567e077f27be658230ec495b8ee932 SHA1 6ef700d47661b294aecee9db4d756172fdbd537d SHA256 f3526c4b8550cd48e8dd0837284f0f565e3ee8d5250085aa0ea74601bb3eb0fc
EBUILD openmpi-1.2.8.ebuild 2829 RMD160 b7641e82bbdbc7f4a20e11e92759e97b597f1501 SHA1 0a939d241aab2fafa9d5118854dda7fe90d89eb7 SHA256 9245b17bdb2eb2dfccc533cb40d8dd9ce852e479db9f64c5d6beba2b666dfd31
EBUILD openmpi-1.2.9.ebuild 2829 RMD160 c2a88c393e46e15dca65be198e158e1922f60789 SHA1 6f889a9244c67b9eb635822b878d71f885d76973 SHA256 5f479e3b2d437a17c0215ca2631e4612da14517c6f6d52bc243b6629ade59606
+EBUILD openmpi-1.3.1.ebuild 2965 RMD160 8a219f6d172d577e6a4276cc46b676f00d294d0c SHA1 4094d1810be8755664bac1c7dd28fafec6094539 SHA256 1feaf8eef706757b5ac3e243f6665dfc3c55ac552dd38910419e80ed7b80f45f
EBUILD openmpi-1.3.ebuild 3126 RMD160 507468f60be2b1f455803536da485b1c508cc690 SHA1 b43ea1655eb7adbfb1b908f471ec082497d5538a SHA256 1b373438f3407bb15001b268f27d67969e5c66a7b5d83e200648833159ed126b
-MISC ChangeLog 6685 RMD160 12152d5e42bf4a9b9dbbfbc743bd20cd0e5f091c SHA1 93df63cc54e4d50c08097dd7f6608206a7f28340 SHA256 55f8f737d08dc7ee3390997de7b742ee88f895d6d4eb70777f626375bf361257
+MISC ChangeLog 6813 RMD160 a8da5c27af8157cae77620653b9d4d75d1717c3a SHA1 8e350705a43d4fd6180b72416da88ee80c8264fb SHA256 ca82616487a33ed864914deb9c43c4dc7efe31ae0ae2ff6b232a5afb18ffd22e
MISC metadata.xml 540 RMD160 a5b5c04dd211c373c43c715206de09ae13de4b4e SHA1 fb854d405b9851b16a3dff692972e98025171df8 SHA256 e49a74498fcf55e4182ece91514ab02ac2b2ce2570e05bb6ce409a19ba9a1a71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkmhrLcACgkQ4MrvBE1wQ8napwCfVHeaNd1iP9kyOyPpG+KZULwM
-6AIAn1q6oZt+TsAIEBqg7CTiToJjaAHr
-=/n2N
+iEYEARECAAYFAknCbL8ACgkQ4MrvBE1wQ8k8EwCfcy9UtSKNiOwykDV2fh3r4XHV
+PjsAnRFM8bx60Ee90xeTHqDPu93FAsVN
+=nCGu
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/openmpi/openmpi-1.3.1.ebuild b/sys-cluster/openmpi/openmpi-1.3.1.ebuild
new file mode 100644
index 000000000000..d6d1b516c532
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.3.1.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.1.ebuild,v 1.1 2009/03/19 16:02:57 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.
+ c="${c} --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"
+}