aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gmail.com>2009-03-19 11:50:52 -0400
committerJustin Bronder <jsbronder@gmail.com>2009-03-19 11:50:52 -0400
commitbf4ce7abb8e62c426134f42a016ffb2e2b89d9cb (patch)
treec172152f8cbb5a0bb3f778adb0415d82cad1b19a /sys-cluster
parentapbs fix of doc installation dir (diff)
downloadsci-bf4ce7abb8e62c426134f42a016ffb2e2b89d9cb.tar.gz
sci-bf4ce7abb8e62c426134f42a016ffb2e2b89d9cb.tar.bz2
sci-bf4ce7abb8e62c426134f42a016ffb2e2b89d9cb.zip
Bump openmpi-1.3.1
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/ChangeLog4
-rw-r--r--sys-cluster/openmpi/Manifest2
-rw-r--r--sys-cluster/openmpi/openmpi-1.3.1.ebuild118
3 files changed, 124 insertions, 0 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 79f523567..6d9720fc3 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Mar 2009; Justin Bronder <jsbronder@gentoo.org>
+ +sys-cluster/openmpi/openmpi-1.3.1.ebuild:
+ Bump openmpi-1.3.1
+
22 Feb 2009; Justin Bronder <jsbronder@gentoo.org>
sys-cluster/openmpi/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 f27317e06..f5d2c7c51 100644
--- a/sys-cluster/openmpi/Manifest
+++ b/sys-cluster/openmpi/Manifest
@@ -1,9 +1,11 @@
AUX eselect.mpi.openmpi 226 RMD160 39353fd5d350b26684f8e1258f689c95ec3b5011 SHA1 f7ec4f1848edf9fcfa9b67d528dd41f6ae755b26 SHA256 2666fdd2d39ff2290b0e52da8ba97e225fb3b1ac01c97bfc23c63b261f343cf0
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.8.ebuild 2876 RMD160 9460153c15684010b1f40668a804789c0cc2e2e8 SHA1 b427829d42e1e607cf6b768b11e403e08f09deca SHA256 7cb6f198578e145027890fb1ebbbaafbdef9cad0d61132f4e4db9f5d917f4b9d
EBUILD openmpi-1.2.9.ebuild 2876 RMD160 9460153c15684010b1f40668a804789c0cc2e2e8 SHA1 b427829d42e1e607cf6b768b11e403e08f09deca SHA256 7cb6f198578e145027890fb1ebbbaafbdef9cad0d61132f4e4db9f5d917f4b9d
+EBUILD openmpi-1.3.1.ebuild 2988 RMD160 9b5b6740e077a8d662743140166ba7ce5d493067 SHA1 b7b69af436ac3ccf30d3a4918908acad0a761aca SHA256 61a88b0cb456f10d1595682ccc69c6ed8abf321485f6c51d9d52d2595d205841
EBUILD openmpi-1.3.ebuild 3141 RMD160 a3c60aefff155764e42ce514d5953e14f5687b7e SHA1 f20ef1d818fe7bb7b2a98a0a17d8c71792c183f4 SHA256 e2a6af215af4eda6a819e0a19617fce0b0e1a05ee3967398210a7c392b7afdfe
MISC ChangeLog 657 RMD160 06333b4673f232282936f2fbc4ce37f097ba3f7e SHA1 db77acf0b22f5171fa8e2a87ea71c3af1f00f79a SHA256 0061fcf1e5062e98f9fe8c5796a4bb7cf6d2dcff934f29cd56605db775314e63
MISC metadata.xml 592 RMD160 8f2e4d53a767edce4e52ed26c7c4b69d48f37eb3 SHA1 1d9e8c598331fae9a78ca05ee200b96770c1e24c SHA256 23476903462fd447ab656b368973e1054ee0cf75f0188986a3284c5892f707cd
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 000000000..39a93d8f7
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.3.1.ebuild
@@ -0,0 +1,118 @@
+# 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.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
+
+inherit eutils multilib flag-o-matic toolchain-funcs fortran mpi
+
+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"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mpi-threads? ( test )"
+IUSE="fortran heterogeneous ipv6 mpi-threads nocxx pbs romio threads"
+RDEPEND="pbs? ( sys-cluster/torque )
+ $(mpi_imp_deplist)"
+DEPEND="${RDEPEND}"
+
+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
+ 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}"
+
+ # Fix --as-needed problems with f77 and f90.
+ sed -i 's:^libs=:libs=-Wl,--no-as-needed :' \
+ ompi/tools/wrappers/mpif{77,90}-wrapper-data.txt.in
+
+ # Necessary for scalibility, see
+ # http://www.open-mpi.org/community/lists/users/2008/09/6514.php
+ if use threads; then
+ echo 'oob_tcp_listen_mode = listen_thread' \
+ >> opal/etc/openmpi-mca-params.conf
+ fi
+}
+
+src_compile() {
+ local c="
+ --without-xgrid
+ --enable-pretty-print-stacktrace
+ --enable-orterun-prefix-by-default
+ --without-slurm"
+
+ if use mpi-threads; then
+ c="${c}
+ --enable-mpi-threads
+ --with-progress-threads"
+ fi
+
+ if use fortran; then
+ if [[ "${FORTRANC}" = "g77" ]]; then
+ c="${c} --disable-mpi-f90"
+ elif [[ "${FORTRANC}" = "gfortran" ]]; then
+ # Because that's just a pain in the butt.
+ c="${c} --with-wrapper-fflags=-I/usr/include"
+ elif [[ "${FORTRANC}" = if* ]]; then
+ # Enabled here as gfortran compile times are huge with this enabled.
+ c="${c} --with-mpi-f90-size=medium"
+ fi
+ else
+ c="${c}
+ --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 $(mpi_econf_args) ${c} \
+ $(use_enable !nocxx mpi-cxx) \
+ $(use_enable romio io-romio) \
+ $(use_enable heterogeneous) \
+ $(use_with pbs tm) \
+ $(use_enable ipv6) \
+ || die
+ emake || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+ echo
+ echo
+ echo
+ mpi_dodoc README AUTHORS NEWS VERSION
+ mpi_imp_add_eselect
+}
+
+src_test() {
+ # Doesn't work with the default src_test as the dry run (-n) fails.
+ cd "${S}"
+ emake -j1 check || die "emake check failed"
+}
+