diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-05 23:53:27 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-05 23:53:27 +0000 |
commit | 9772767e7e19cc4ab027eaa366ce8dd310a55a7e (patch) | |
tree | 8c9d9705e28bca280f2b06b5f673b9cd0c7423b4 /sys-cluster/lam-mpi | |
parent | version bump, and apply security patch for xml-rpc (diff) | |
download | gentoo-2-9772767e7e19cc4ab027eaa366ce8dd310a55a7e.tar.gz gentoo-2-9772767e7e19cc4ab027eaa366ce8dd310a55a7e.tar.bz2 gentoo-2-9772767e7e19cc4ab027eaa366ce8dd310a55a7e.zip |
Implement virtual/mpi. Bug #96537: examples. Bug #96543: documentation location. Bug #97417: Fix fortran support.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-cluster/lam-mpi')
-rw-r--r-- | sys-cluster/lam-mpi/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/lam-mpi/Manifest | 28 | ||||
-rw-r--r-- | sys-cluster/lam-mpi/files/digest-lam-mpi-7.1.1-r2 | 1 | ||||
-rw-r--r-- | sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild | 93 |
4 files changed, 113 insertions, 18 deletions
diff --git a/sys-cluster/lam-mpi/ChangeLog b/sys-cluster/lam-mpi/ChangeLog index 6c4a21dcca55..d81013521f0c 100644 --- a/sys-cluster/lam-mpi/ChangeLog +++ b/sys-cluster/lam-mpi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-cluster/lam-mpi # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.35 2005/07/05 22:21:59 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.36 2005/07/05 23:53:27 robbat2 Exp $ + +*lam-mpi-7.1.1-r2 (05 Jul 2005) + + 05 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> + +lam-mpi-7.1.1-r2.ebuild: + Implement virtual/mpi. Bug #96537: examples. Bug #96543: documentation + location. Bug #97417: Fix fortran support. *lam-mpi-7.1.1-r1 (06 Jul 2005) diff --git a/sys-cluster/lam-mpi/Manifest b/sys-cluster/lam-mpi/Manifest index 65eaa16d5caf..36d0d432ff52 100644 --- a/sys-cluster/lam-mpi/Manifest +++ b/sys-cluster/lam-mpi/Manifest @@ -1,25 +1,19 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 187c8edb459070bbbc2428cd7d877008 ChangeLog 6653 +MD5 d0945c010e2b492922a24f02ec937f89 p3 934 +MD5 74a4f93a4a855ce5f78a87832ddfaa0f lam-mpi-7.0.4-r1.ebuild 1695 +MD5 861dcc1aa59b0e097079f547c7fe6b88 lam-mpi-7.0.6.ebuild 1616 +MD5 2fd75cb9d36d397b7b3bcfa6a5c07a0a lam-mpi-7.1.1-r1.ebuild 1662 +MD5 91ae6039d587b4c2204f222c32c3ef7d lam-mpi-7.1.1-r1.ebuild.tmp 1828 MD5 ae841b28d60b0120213eb738f4a05c73 lam-mpi-7.1.ebuild 1619 MD5 3153a7853eaf73aa32f5fc141111ba3a lam-mpi-7.1.1.ebuild 1455 -MD5 2fd75cb9d36d397b7b3bcfa6a5c07a0a lam-mpi-7.1.1-r1.ebuild 1662 +MD5 126b9a50a13bd59a5c63f067d990f9e3 lam-mpi-7.1.1-r2.ebuild 2304 MD5 09cdcdb1957de0316945e360f642c9f2 lam-mpi-7.0.4.ebuild 1442 +MD5 187c8edb459070bbbc2428cd7d877008 ChangeLog 6653 MD5 cde8b4e93c9339eb99fe3ad45941c99b metadata.xml 160 -MD5 74a4f93a4a855ce5f78a87832ddfaa0f lam-mpi-7.0.4-r1.ebuild 1695 -MD5 861dcc1aa59b0e097079f547c7fe6b88 lam-mpi-7.0.6.ebuild 1616 MD5 8f2271274cdef6f58358e701c71663c9 files/digest-lam-mpi-7.1 61 -MD5 3af34eb73976278d39527a330bb6c7b2 files/digest-lam-mpi-7.1.1 63 MD5 14d6b11ac532da9b84fb41053033edd2 files/lam-mpi-7.1.1-shared-romio.patch 1427 -MD5 1d7b0bf28395a80f386bf8ea489c69b8 files/digest-lam-mpi-7.0.4 63 MD5 1d7b0bf28395a80f386bf8ea489c69b8 files/digest-lam-mpi-7.0.4-r1 63 -MD5 38b6624ba4098ca823b9d317705ca44c files/digest-lam-mpi-7.0.6 63 MD5 3af34eb73976278d39527a330bb6c7b2 files/digest-lam-mpi-7.1.1-r1 63 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCywjp5mJXAu5GbtIRAt3KAJ9bWHGhkai480UeDH9NWORdIUGozwCeMT5+ -Fq+3IBZYYWsUIterfRJflyc= -=GPOE ------END PGP SIGNATURE----- +MD5 3af34eb73976278d39527a330bb6c7b2 files/digest-lam-mpi-7.1.1-r2 63 +MD5 1d7b0bf28395a80f386bf8ea489c69b8 files/digest-lam-mpi-7.0.4 63 +MD5 38b6624ba4098ca823b9d317705ca44c files/digest-lam-mpi-7.0.6 63 +MD5 3af34eb73976278d39527a330bb6c7b2 files/digest-lam-mpi-7.1.1 63 diff --git a/sys-cluster/lam-mpi/files/digest-lam-mpi-7.1.1-r2 b/sys-cluster/lam-mpi/files/digest-lam-mpi-7.1.1-r2 new file mode 100644 index 000000000000..280f97bd3d73 --- /dev/null +++ b/sys-cluster/lam-mpi/files/digest-lam-mpi-7.1.1-r2 @@ -0,0 +1 @@ +MD5 0a3eee53281884a063ce2c44793672b3 lam-7.1.1.tar.bz2 7589413 diff --git a/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild b/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild new file mode 100644 index 000000000000..d6a3fcd84604 --- /dev/null +++ b/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild,v 1.1 2005/07/05 23:53:27 robbat2 Exp $ + +inherit fortran flag-o-matic + +# LAM is a PITA with PBS. If it's detected, there is NO way to turn it off! +# Likewise for the other SSI boot modules (globus/slurm/tm are affected) +IUSE="crypt pbs fortran" + +MY_P=${P/-mpi} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="the LAM MPI parallel computing environment" +SRC_URI="http://www.lam-mpi.org/download/files/${MY_P}.tar.bz2" +HOMEPAGE="http://www.lam-mpi.org" +PROVIDE="virtual/mpi" +DEPEND="virtual/libc + pbs? ( virtual/pbs ) + !virtual/mpi" +# 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 ~ppc" +LICENSE="as-is" + +src_unpack() { + unpack ${A} + + # Taken out for the moment. I'll address this as soon as possible. + # Seems like romio needs (all?) ADIOI libraries built as shared libs + # as well. + # Danny van Dyk <kugelfang@gentoo.org> 2005/07/06 + #epatch ${FILESDIR}/${P}-shared-romio.patch + cd ${S}/romio/util/ + sed -i "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in + + for i in ${S}/share/memory/{ptmalloc,ptmalloc2,darwin7}/Makefile.in; do + sed -i -e 's@^\(docdir = \)\$(datadir)/lam/doc@\1'/usr/share/doc/${PF}'@' ${i} + done +} + +src_compile() { + + local myconf + + if use crypt; then + myconf="${myconf} --with-rsh=ssh" + else + myconf="${myconf} --with-rsh=rsh" + fi + + use pbs && append-ldflags -L/usr/lib/pbs + + if use fortran; then + myconf="${myconf} --with-fc=g77" + else + myconf="${myconf} --without-fc" + fi + + econf \ + --sysconfdir=/etc/lam-mpi \ + --enable-shared \ + --with-threads=posix \ + ${myconf} || die + + # sometimes parallel doesn't finish since it gets ahead of itself :) + + emake -j1 || die +} + +src_install () { + + make DESTDIR="${D}" install || die + + # There are a bunch more tex docs we could make and install too, + # but they might be replicated in the pdf. + # They are replicated in the pdfs! Thus remove this comment? + dodoc README HISTORY LICENSE VERSION + cd ${S}/doc + dodoc {user,install}.pdf + + # install examples + cd ${S}/examples + mkdir -p ${D}/usr/share/${P}/examples + find -name README -or -iregex '.*\.[chf][c]?$' >${T}/testlist + while read p; do + cp --parents $p ${D}/usr/share/${P}/examples; + done < ${T}/testlist +} |