summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-25 07:41:15 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-25 07:41:15 +0000
commit96801302f3f0fd52f94ab0fb0da0d90bbdf03ac8 (patch)
tree3447bc1df94c38882538355828d4e7a71ced8dce /sys-cluster
parentuse_with -> use_enable to fix bug #147132 (diff)
downloadhistorical-96801302f3f0fd52f94ab0fb0da0d90bbdf03ac8.tar.gz
historical-96801302f3f0fd52f94ab0fb0da0d90bbdf03ac8.tar.bz2
historical-96801302f3f0fd52f94ab0fb0da0d90bbdf03ac8.zip
(#126295) Add Open MPI ebuild from the science overlay (Sebastien Fabbro, Eric Thibodeau). I removed the compiler-based slotting mechanism because portage lacks support for multiple slots of the same version -- the SLOT file in /var/db/pkg just gets overwritten and it loses track of the others, amongst other issues. Removed USE=static, that's used to compile static binaries, not to also build static libraries. Changed SLOT to 0 from 6 in the overlay. Removed the hack for PGI compilers, that needs to happen in fortran.eclass. Use epause() from eutils.eclass rather than sleep.
Package-Manager: portage-2.1.2_pre1-r1
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/ChangeLog17
-rw-r--r--sys-cluster/openmpi/Manifest16
-rw-r--r--sys-cluster/openmpi/files/digest-openmpi-1.1.13
-rw-r--r--sys-cluster/openmpi/metadata.xml5
-rw-r--r--sys-cluster/openmpi/openmpi-1.1.1.ebuild71
5 files changed, 112 insertions, 0 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
new file mode 100644
index 000000000000..2933e7d5234e
--- /dev/null
+++ b/sys-cluster/openmpi/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for sys-cluster/openmpi
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.1 2006/09/25 07:41:15 dberkholz Exp $
+
+*openmpi-1.1.1 (25 Sep 2006)
+
+ 25 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; +metadata.xml,
+ +openmpi-1.1.1.ebuild:
+ (#126295) Add Open MPI ebuild from the science overlay (Sebastien Fabbro,
+ Eric Thibodeau). I removed the compiler-based slotting mechanism because
+ portage lacks support for multiple slots of the same version -- the SLOT
+ file in /var/db/pkg just gets overwritten and it loses track of the others,
+ amongst other issues. Removed USE=static, that's used to compile static
+ binaries, not to also build static libraries. Changed SLOT to 0 from 6 in
+ the overlay. Removed the hack for PGI compilers, that needs to happen in
+ fortran.eclass. Use epause() from eutils.eclass rather than sleep.
+
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
new file mode 100644
index 000000000000..60cc686e3935
--- /dev/null
+++ b/sys-cluster/openmpi/Manifest
@@ -0,0 +1,16 @@
+DIST openmpi-1.1.1.tar.bz2 3213827 RMD160 664ce83191dbe1c18d1848d4b0a57c8b7a899398 SHA1 3bd9eb1fd4af5d4f89df028a6cd6861ed1839b01 SHA256 dc31aaec986c4ce436dbf31e73275ed1a9391432dcad7609de8d0d3a78d2c700
+EBUILD openmpi-1.1.1.ebuild 1825 RMD160 5dd110de5520461661c9c529e6c79c915cbc9182 SHA1 20832828cd9931828f561ccd42b5602f89bc868e SHA256 1745a825109de43d849951eac05f3ee4301d6631bd9f9aded842a4ecf424a8b1
+MD5 a54f08d78c5353895067e2f886823ea4 openmpi-1.1.1.ebuild 1825
+RMD160 5dd110de5520461661c9c529e6c79c915cbc9182 openmpi-1.1.1.ebuild 1825
+SHA256 1745a825109de43d849951eac05f3ee4301d6631bd9f9aded842a4ecf424a8b1 openmpi-1.1.1.ebuild 1825
+MISC ChangeLog 938 RMD160 234c4c0777f6890eaad4b18c9869a8f9aa71e15f SHA1 b8a10790f8c2c4528483ea359b7522d442e11d3c SHA256 48a38472cd87ae77db265e2c96e95ce37e029453f289bb4eb27bb4e2f7835939
+MD5 46daf23edc8e534b94f1108c2a7971bd ChangeLog 938
+RMD160 234c4c0777f6890eaad4b18c9869a8f9aa71e15f ChangeLog 938
+SHA256 48a38472cd87ae77db265e2c96e95ce37e029453f289bb4eb27bb4e2f7835939 ChangeLog 938
+MISC metadata.xml 160 RMD160 1233ca29861ca7c47f0b09d1d7a29def80f7df02 SHA1 1bfdc9d282a84c95e2bdcda19ace5b94e2e67349 SHA256 56717bdb03ad5d833acecfbc612a67f569256b328bf610fbc6cc33714186dae9
+MD5 cde8b4e93c9339eb99fe3ad45941c99b metadata.xml 160
+RMD160 1233ca29861ca7c47f0b09d1d7a29def80f7df02 metadata.xml 160
+SHA256 56717bdb03ad5d833acecfbc612a67f569256b328bf610fbc6cc33714186dae9 metadata.xml 160
+MD5 5b9a6b88783bdad6093fa8f22863b1ed files/digest-openmpi-1.1.1 247
+RMD160 c93be9890e009a7a6fc7ca6aedd325a4f59d56d4 files/digest-openmpi-1.1.1 247
+SHA256 5be0bb3d0abc8f4c244ab1cfc11f45ec692f7a15a7b6caad344156d9dd11077c files/digest-openmpi-1.1.1 247
diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.1.1 b/sys-cluster/openmpi/files/digest-openmpi-1.1.1
new file mode 100644
index 000000000000..4916795a3155
--- /dev/null
+++ b/sys-cluster/openmpi/files/digest-openmpi-1.1.1
@@ -0,0 +1,3 @@
+MD5 498b9322ae0ad512026a008a30c7e0b5 openmpi-1.1.1.tar.bz2 3213827
+RMD160 664ce83191dbe1c18d1848d4b0a57c8b7a899398 openmpi-1.1.1.tar.bz2 3213827
+SHA256 dc31aaec986c4ce436dbf31e73275ed1a9391432dcad7609de8d0d3a78d2c700 openmpi-1.1.1.tar.bz2 3213827
diff --git a/sys-cluster/openmpi/metadata.xml b/sys-cluster/openmpi/metadata.xml
new file mode 100644
index 000000000000..348e6c4de815
--- /dev/null
+++ b/sys-cluster/openmpi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cluster</herd>
+</pkgmetadata>
diff --git a/sys-cluster/openmpi/openmpi-1.1.1.ebuild b/sys-cluster/openmpi/openmpi-1.1.1.ebuild
new file mode 100644
index 000000000000..eeb429afa383
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.1.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.1.1.ebuild,v 1.1 2006/09/25 07:41:15 dberkholz Exp $
+
+inherit eutils multilib flag-o-matic toolchain-funcs fortran
+
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A High Performance Message Passing Library"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v1.1/downloads/${MY_P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pbs fortran threads"
+PROVIDE="virtual/mpi"
+DEPEND="virtual/libc
+ pbs? ( virtual/pbs )"
+
+FORTRAN="ifc gfortran g77"
+
+pkg_setup() {
+ if use threads; then
+ ewarn
+ ewarn "WARNING: use of threads is highly experimental."
+ ewarn "You may stop now and set USE=-threads"
+ ewarn
+ epause 5
+ fi
+ use fortran && fortran_pkg_setup
+}
+
+src_compile() {
+
+ einfo
+ einfo "OpenMPI has an overwhelming count of configuration options."
+ einfo "Don't forget the EXTRA_ECONF environment variable can let you"
+ einfo "specify configure options."
+ einfo
+
+ local myconf="--sysconfdir=/etc/${PN}"
+ myconf="${myconf} --enable-pretty-print-stacktrace"
+
+ if use threads; then
+ myconf="${myconf} --enable-mpi-threads"
+ myconf="${myconf} --with-progress-threads"
+ myconf="${myconf} --with-threads=posix"
+ fi
+
+ if use fortran; then
+ myconf="${myconf} $(use enable fortran mpi-f77)"
+ [ "${FORTRANC}" = "g77" ] && \
+ myconf="${myconf} --disable-mpi-f90" || \
+ myconf="${myconf} --enable-mpi-f90"
+ fi
+
+ use pbs && myconf="${myconf} $(use_with pbs tm /usr/$(get_libdir)/pbs)"
+ append-ldflags -Wl,-z,-noexecstack
+
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc README AUTHORS NEWS VERSION
+}