diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2008-03-17 16:21:32 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2008-03-17 16:21:32 +0000 |
commit | 76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch) | |
tree | 94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sys-cluster/hpl | |
parent | move stuff to root (diff) | |
download | sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2 sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip |
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sys-cluster/hpl')
-rw-r--r-- | sys-cluster/hpl/ChangeLog | 46 | ||||
-rw-r--r-- | sys-cluster/hpl/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/hpl/hpl-1.0-r3.ebuild | 60 | ||||
-rw-r--r-- | sys-cluster/hpl/metadata.xml | 10 |
4 files changed, 120 insertions, 0 deletions
diff --git a/sys-cluster/hpl/ChangeLog b/sys-cluster/hpl/ChangeLog new file mode 100644 index 000000000..7033a849a --- /dev/null +++ b/sys-cluster/hpl/ChangeLog @@ -0,0 +1,46 @@ +# ChangeLog for sys-cluster/hpl +# Copyright 2000-2008 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 $ + + 29 Feb 2008; Justin Bronder <jsbronder@gentoo.org> ChangeLog: + Use mpi.eclass for empi support. Add ~amd64 + + 26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: + Update for cluster herd split to hp-cluster and ha-cluster. + + 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: + Regenerate digest in Manifest2 format. + + 28 Jan 2006; Simon Stelling <blubb@gentoo.org> + -files/Make.gentoo_hpl_cblas_x86.diff.bz2: + remove unneeded files + + 21 Nov 2005; Michael Imhof <tantive@gentoo.org> -hpl-1.0.ebuild, + -hpl-1.0-r1.ebuild: + Cleaned out old ebuilds. + + 17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: + Converted to UTF-8, fixed encoding screwups + +*hpl-1.0-r2 (01 Sep 2005) + + 01 Sep 2005; Peter Bienstman <pbienst@gentoo.org> +hpl-1.0-r2.ebuild: + Move to virtual/blas and virtual/lapack. + +*hpl-1.0-r1 (06 Jul 2005) + + 06 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> +hpl-1.0-r1.ebuild: + Update hpl build to work with virtual/mpi including fixing it to compile via + mpicc so it works with lam-mpi. Also include parameters to /usr/share/hpl + and force the user to copy them instead of polluting /usr/bin. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> hpl-1.0.ebuild: + Dependency update: dev-libs/atlas -> sci-libs/atlas. + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> hpl-1.0.ebuild: + Add inherit eutils + +*hpl-1.0 (26 Mar 2004) + + 26 Mar 2004; Michael Imhof <tantive@gentoo.org> hpl-1.0.ebuild: + Initial release. Made with the help of Kristian Jerpetjøn <unsolo@sysrq.no>. diff --git a/sys-cluster/hpl/Manifest b/sys-cluster/hpl/Manifest new file mode 100644 index 000000000..521421514 --- /dev/null +++ b/sys-cluster/hpl/Manifest @@ -0,0 +1,4 @@ +DIST hpl.tgz 523139 RMD160 3a2baecfe746d8ab5b5a9d6e1579a1aa5d249294 SHA1 42ae3b5173b22be41282568effccf46041079c1c SHA256 c0a08079a4c54e0ac32901d68d135fe17fffc3df322c95fbd9b23cb5d400827e +EBUILD hpl-1.0-r3.ebuild 1930 RMD160 ee1f0b3a4f13baeb6c92ca762909f65b343ffff6 SHA1 af28d2fc34b5327b3d9e69216134111e7ac21fff SHA256 8f1c4ca7dd00540ff741fb680fe82c6e2fc6ad444c0370bb4a68064220e10e52 +MISC ChangeLog 1750 RMD160 5b22e29ff7cc0dbfd43a3508b0f37dbdfa6a54c3 SHA1 02f432ba400ec04eff6fbe8b305fb3d35aa7b1bf SHA256 a058874be27eee0c726d4a0dfada6ffd4b6711aab277a6195f5f09a075940d9d +MISC metadata.xml 315 RMD160 12fe02dce4baa2046922f5865314c98555bd4132 SHA1 14bfa132c839c12f26e4ac1106227d2303c69e43 SHA256 d95f6835d819d4bf1bb74ac46c8259d1db23b0cfb8cd49a2a436b601f8953bd5 diff --git a/sys-cluster/hpl/hpl-1.0-r3.ebuild b/sys-cluster/hpl/hpl-1.0-r3.ebuild new file mode 100644 index 000000000..bd0ac0056 --- /dev/null +++ b/sys-cluster/hpl/hpl-1.0-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-1.0-r2.ebuild,v 1.1 2005/09/01 11:59:18 pbienst Exp $ + +inherit eutils mpi + +DESCRIPTION="HPL - 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" +S="${WORKDIR}/${PN}" + +DEPEND="$(mpi_pkg_deplist) + virtual/blas + virtual/lapack" + +src_unpack() { + local mpicc_path="$(get_eselect_var MPI_CC)" + 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_path}," \ + -e "/^CC\>/s,= .*,= ${mpicc_path}," \ + Make.gentoo_hpl_fblas_x86 + +} + +src_compile() { + # do NOT use emake here + mpi_make_cmd="make" + mpi_make_args="arch=gentoo_hpl_fblas_x86" + HOME=${WORKDIR} mpi_do_make || die +} + +src_install() { + local d=$(get_mpi_dir) + mpi_dobin bin/gentoo_hpl_fblas_x86/xhpl || die "Failed to install bins" + mpi_dolib.a lib/gentoo_hpl_fblas_x86/libhpl.a || die "Failed to install lib" + mpi_dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \ + bin/gentoo_hpl_fblas_x86/HPL.dat + mpi_dohtml -r www/* + mpi_doman man/man3/*.3 +} + +pkg_postinst() { + einfo "Remember to copy $(get_mpi_dir)/usr/share/doc/${PF}/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." +} diff --git a/sys-cluster/hpl/metadata.xml b/sys-cluster/hpl/metadata.xml new file mode 100644 index 000000000..8123ac072 --- /dev/null +++ b/sys-cluster/hpl/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>hp-cluster</herd> +<maintainer> + <email>tantive@gentoo.org</email> + <name>Michael Imhof</name> + <description>Release manager, patch manager</description> +</maintainer> +</pkgmetadata> |