aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r--sys-cluster/openmpi/ChangeLog9
-rw-r--r--sys-cluster/openmpi/Manifest4
-rw-r--r--sys-cluster/openmpi/files/digest-openmpi-1.0.11
-rw-r--r--sys-cluster/openmpi/metadata.xml13
-rw-r--r--sys-cluster/openmpi/openmpi-1.0.1.ebuild64
5 files changed, 91 insertions, 0 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
new file mode 100644
index 000000000..724f9edad
--- /dev/null
+++ b/sys-cluster/openmpi/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-cluster/openmpi
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*openmpi-1.0.1 (10 Mar 2006)
+
+ 10 Mar 2006; Sebastien Fabbro <seb@ist.utl.pt>
+ +openmpi-1.0.1.ebuild, +metadata.xml
+ Initial import. Thanks for kyron for his input.
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
new file mode 100644
index 000000000..8716d93f4
--- /dev/null
+++ b/sys-cluster/openmpi/Manifest
@@ -0,0 +1,4 @@
+MD5 2e8838a816dfe933c7cb3c6e69a889fc ChangeLog 288
+MD5 914db9dc84c9ae3fdc732b8fb13fe21c files/digest-openmpi-1.0.1 67
+MD5 c92d111706d0769823a1ff19c0abaacf metadata.xml 541
+MD5 589ef487e04c565b64fdc124b7acdcbd openmpi-1.0.1.ebuild 1733
diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.0.1 b/sys-cluster/openmpi/files/digest-openmpi-1.0.1
new file mode 100644
index 000000000..4bf9b85f7
--- /dev/null
+++ b/sys-cluster/openmpi/files/digest-openmpi-1.0.1
@@ -0,0 +1 @@
+MD5 8abccca5cdddc81a6d9d9e22b3bb6db9 openmpi-1.0.1.tar.bz2 3027217
diff --git a/sys-cluster/openmpi/metadata.xml b/sys-cluster/openmpi/metadata.xml
new file mode 100644
index 000000000..36cc46603
--- /dev/null
+++ b/sys-cluster/openmpi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cluster</herd>
+<longdescription>
+Open MPI is a project combining technologies and resources from
+several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in
+order to build the best MPI library available. A completely new MPI-2
+compliant implementation, Open MPI offers advantages for system and
+software vendors, application developers and computer science
+researchers.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-cluster/openmpi/openmpi-1.0.1.ebuild b/sys-cluster/openmpi/openmpi-1.0.1.ebuild
new file mode 100644
index 000000000..25ac39d1e
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.0.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic toolchain-funcs fortran
+
+IUSE="crypt pbs fortran threads static"
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A High Performance Message Passing Library"
+SRC_URI="http://www.open-mpi.org/software/ompi/v1.0/downloads/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.open-mpi.org"
+PROVIDE="virtual/mpi"
+DEPEND="virtual/libc
+ pbs? ( virtual/pbs )"
+# we need ssh if we want to use it instead of rsh
+RDEPEND="${DEPEND}
+ crypt? ( net-misc/openssh )
+ !crypt? ( net-misc/netkit-rsh )"
+
+SLOT="6"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+pkg_setup() {
+ : # make sure fortran_pkg_setup does NOT run
+}
+
+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 "${A} will be installed in /usr/lib/openmpi/${PV}"
+ einfo
+
+ local myconf=""
+ use crypt && RSH=ssh || RSH=rsh; myconf="${myconf} --with-rsh=${RSH}"
+ use threads && myconf="${myconf} --with-threads=posix --enable-mpi-threads"
+ use pbs && append-ldflags "-L/usr/$(get_libdir)/pbs"
+ use static && myconf="${myconf} --enable-static --disable-shared"
+
+ COMPILER="gcc-$(gcc-version)"
+
+ econf \
+ --prefix=/usr/$(get_libdir)/${PN}/${PV}-${COMPILER} \
+ --datadir=/usr/share/${PN}/${PV}-${COMPILER} \
+ --program-suffix=${PV}-${COMPILER} \
+ --enable-pretty-print-stacktrace \
+ --sysconfdir=/etc/${P} \
+ ${myconf} || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install () {
+
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README AUTHORS NEWS HISTORY VERSION INSTALL
+
+}