summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2009-06-13 20:38:47 +0000
committerJustin Bronder <jsbronder@gentoo.org>2009-06-13 20:38:47 +0000
commitc6a830fc7c15522faf38aec2a9a70ff4215ec567 (patch)
treeeaf47ccad0220539aff7feaf6d7b1763aaa55c8f /sys-cluster/hpl
parentUpdated 1.3.6 version icluding fixes for bug #273960 #246843. Some (diff)
downloadhistorical-c6a830fc7c15522faf38aec2a9a70ff4215ec567.tar.gz
historical-c6a830fc7c15522faf38aec2a9a70ff4215ec567.tar.bz2
historical-c6a830fc7c15522faf38aec2a9a70ff4215ec567.zip
Bump sys-cluster/hpl-2.0, #262204
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/hpl')
-rw-r--r--sys-cluster/hpl/ChangeLog9
-rw-r--r--sys-cluster/hpl/Manifest13
-rw-r--r--sys-cluster/hpl/hpl-2.0.ebuild57
3 files changed, 76 insertions, 3 deletions
diff --git a/sys-cluster/hpl/ChangeLog b/sys-cluster/hpl/ChangeLog
index 5015c7e62ef3..c6e0c4f24603 100644
--- a/sys-cluster/hpl/ChangeLog
+++ b/sys-cluster/hpl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/hpl
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.11 2007/04/26 06:04:44 dberkholz Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.12 2009/06/13 20:38:47 jsbronder Exp $
+
+*hpl-2.0 (13 Jun 2009)
+
+ 13 Jun 2009; Justin Bronder <jsbronder@gentoo.org> +hpl-2.0.ebuild:
+ Version bump, #262204
26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
Update for cluster herd split to hp-cluster and ha-cluster.
diff --git a/sys-cluster/hpl/Manifest b/sys-cluster/hpl/Manifest
index c82f4ed807ba..8d4eafbe0fec 100644
--- a/sys-cluster/hpl/Manifest
+++ b/sys-cluster/hpl/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST hpl.tgz 523139 RMD160 3a2baecfe746d8ab5b5a9d6e1579a1aa5d249294 SHA1 42ae3b5173b22be41282568effccf46041079c1c SHA256 c0a08079a4c54e0ac32901d68d135fe17fffc3df322c95fbd9b23cb5d400827e
EBUILD hpl-1.0-r2.ebuild 1832 RMD160 3ba7d54bd6dab1c111455074688c5eca14e8771d SHA1 455adc496309a4812316e121112522f89a02f25b SHA256 d155e5ca6ae0756582e234227a811e65ce16707ed7c6836d25a7fbac6c4d97f7
-MISC ChangeLog 1638 RMD160 40d3b94559f5afce31bdd34dfe9894ab697456ad SHA1 cbda6d6a4dcbe42e91f287f1dd7e85c8ece858a0 SHA256 65d2dd91847824d207be6bef6fbf26d217a6d56bb7a5c67e2a3e750baa42298f
+EBUILD hpl-2.0.ebuild 1854 RMD160 be41915109ac28179ba3fde0ccc6d5393ba146d7 SHA1 67c19617434688ba5501ffe9fed55af5bd509985 SHA256 cc2d7ddaac4130867af94612fc00aa890f66ae4baf63cc1f6a828a8d3cb464aa
+MISC ChangeLog 1757 RMD160 ef5342394ef1b5c8794adf84c60b7535211e671b SHA1 d63339e6abf1e8129dbbd5e31a08d80ae7239259 SHA256 bc946444027ffd74fc7f874ff17ffde9dec661570e24d50afcf1aa6b36bc608b
MISC metadata.xml 315 RMD160 12fe02dce4baa2046922f5865314c98555bd4132 SHA1 14bfa132c839c12f26e4ac1106227d2303c69e43 SHA256 d95f6835d819d4bf1bb74ac46c8259d1db23b0cfb8cd49a2a436b601f8953bd5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAko0DmUACgkQ4MrvBE1wQ8nbMACcDwpHsD9quPxpn2JFLXWw3A80
+UawAn0ouS313aHK+3o4eeEA8iMLvpdo0
+=hiEF
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/hpl/hpl-2.0.ebuild b/sys-cluster/hpl/hpl-2.0.ebuild
new file mode 100644
index 000000000000..9d3c2c4645a6
--- /dev/null
+++ b/sys-cluster/hpl/hpl-2.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-2.0.ebuild,v 1.1 2009/06/13 20:38:47 jsbronder Exp $
+
+inherit eutils
+
+DESCRIPTION="A Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers"
+HOMEPAGE="http://www.netlib.org/benchmark/hpl/"
+SRC_URI="http://www.netlib.org/benchmark/hpl/hpl.tgz"
+LICENSE="HPL"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+S="${WORKDIR}/${PN}"
+
+DEPEND="virtual/mpi
+ virtual/blas
+ virtual/lapack"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86
+ sed -i \
+ -e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \
+ -e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \
+ -e '/^MPdir\>/s,= .*,=,' \
+ -e '/^MPlib\>/s,= .*,=,' \
+ -e "/^LAlib\>/s,= .*,= /usr/$(get_libdir)/libblas.so /usr/$(get_libdir)/liblapack.so," \
+ -e '/^LINKER\>/s,= .*,= mpicc,' \
+ -e '/^CC\>/s,= .*,= mpicc,' \
+ Make.gentoo_hpl_fblas_x86
+}
+
+src_compile() {
+ # do NOT use emake here
+ HOME=${WORKDIR} make arch=gentoo_hpl_fblas_x86 || die "Failed to build"
+}
+
+src_install() {
+ doman man/man3/*.3
+ dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING
+ dobin bin/gentoo_hpl_fblas_x86/xhpl || die "Failed to install bins"
+ insinto /usr/share/hpl
+ doins bin/gentoo_hpl_fblas_x86/HPL.dat || die "Failed to install HPL parameters"
+ dohtml -r www/*
+ dolib lib/gentoo_hpl_fblas_x86/libhpl.a || die "Failed to install lib"
+}
+
+pkg_postinst() {
+ einfo "Remember to copy /usr/share/hpl/HPL.dat to your working directory first!"
+ einfo "For mpich, run linpack by executing this in your working directory"
+ einfo "\"mpirun -np 4 /usr/bin/xhpl\""
+ einfo "where -np specifies the number of processes."
+ einfo "Other methods are needed lam-mpi etc."
+}