diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-cluster/osc-mpiexec |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/osc-mpiexec')
-rw-r--r-- | sys-cluster/osc-mpiexec/Manifest | 5 | ||||
-rw-r--r-- | sys-cluster/osc-mpiexec/metadata.xml | 8 | ||||
-rw-r--r-- | sys-cluster/osc-mpiexec/osc-mpiexec-0.83.ebuild | 63 |
3 files changed, 76 insertions, 0 deletions
diff --git a/sys-cluster/osc-mpiexec/Manifest b/sys-cluster/osc-mpiexec/Manifest new file mode 100644 index 000000000000..de7fcf54d16f --- /dev/null +++ b/sys-cluster/osc-mpiexec/Manifest @@ -0,0 +1,5 @@ +DIST mpiexec-0.83.tgz 207619 SHA256 4485c6f5ced0889ea7fb88b49af001904348dee24a23cd85dd8402f606e2128d SHA512 e82828bad6d6f0cf8b2fa879d239460483af5164f696b26b21b138eeddf0d63a37748f8b540ceba6d328f90a64797a337934ba7152bdf2cbdde40be3f990a57d WHIRLPOOL e498f6e95daa459bdf7697d761b2daedc6005b07350c32a2a19b8ff0a6cb556262acf4012e5036d9efe3dd28487308682afa69b1b715d22a482227498e6d0cd5 +EBUILD osc-mpiexec-0.83.ebuild 1856 SHA256 b16aa951a9ad8e9d04b72b86ec2ad1028492822c3f452ae49033144ebca4a0f2 SHA512 d633f9b437ab6417b8bff2cc8475db8f9ad6111255bb6aeb731226982cb1f947ddfaa8b60fdc00aa16f43c029eb241a946dffaab8a950e70816929b03392e10d WHIRLPOOL 42088087453a4c7ce7b06b628bb104714dd48c2555e4fc3eb69460c328ca1744201820e554c4528b3734da05550448d4c71f3afa1b038d58ef9f484bad99c311 +MISC ChangeLog 2440 SHA256 8f5471ac8835cda0cf0cf2d728b40560f082a771152bde9728110e19f55be697 SHA512 08ffc741dbdc2432c02c4a5622497bdb12ec41aafec78a1461e7f1d0436f072c94dd2c7a9764b5bb23cd16640d7bfc7766e6ef8844a4300e4668a230fd69eaea WHIRLPOOL a43505adcaedfed95a41f301ed1daf2bb4d12b2441524d86081050666f08fbe0713e98a76295e81dbf618d634c64dc4bd0c3e976956e56a0de908f7fefad252a +MISC ChangeLog-2015 1086 SHA256 62233b943c3504e398c2001f80289fdd33a7bc45d5a553736a3437b596a5e441 SHA512 d3b29efe967c8fc6bdfab8aad1d8a105f3fd5046811865bca994a9f4dea7bc271bf79b65085a358bac87d301233c1fee910e27a1489c472a684b1126df610556 WHIRLPOOL bdd982765f0ba630c2c9d439effd63d8a7a211d70f5027e229897400fbf8101c1072577a6e813cddd6d4acba375b6e6a77366af6b9c504183b10a46207c58328 +MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e diff --git a/sys-cluster/osc-mpiexec/metadata.xml b/sys-cluster/osc-mpiexec/metadata.xml new file mode 100644 index 000000000000..4a09d7ba8d61 --- /dev/null +++ b/sys-cluster/osc-mpiexec/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>cluster@gentoo.org</email> + <name>Gentoo Cluster Project</name> +</maintainer> +</pkgmetadata> diff --git a/sys-cluster/osc-mpiexec/osc-mpiexec-0.83.ebuild b/sys-cluster/osc-mpiexec/osc-mpiexec-0.83.ebuild new file mode 100644 index 000000000000..58b0836bf837 --- /dev/null +++ b/sys-cluster/osc-mpiexec/osc-mpiexec-0.83.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +MY_PN=${PN#osc-} +DESCRIPTION="replacement for mpirun, integrates MPI with PBS" +SRC_URI="http://www.osc.edu/~djohnson/mpiexec/${MY_PN}-${PV}.tgz" +HOMEPAGE="http://www.osc.edu/~djohnson/mpiexec/index.php" + +DEPEND="sys-cluster/torque" +RDEPEND="${DEPEND} + net-misc/openssh" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +S="${WORKDIR}"/${MY_PN}-${PV} + +RESTRICT="test" +# The test suite that is included with the source requires +# the ability to qsub a number of jobs. Such behavior +# obviously does not belong in the ebuild. + +src_compile() { + local c="--with-default-comm=mpich-p4 + --with-pbs=/usr/ + --with-mpicc=/usr/bin/mpicc + --with-mpif77=/usr/bin/mpif77" + + # The following at the recommendation of README, Cray specific. + c="${c} --disable-mpich-rai" + + econf ${c} || die + emake || die "compile failed" +} + +src_install() { + local f + emake DESTDIR="${D}" install || die + + # And the following so that osc-mpiexec doesn't conflict with + # the packaged mpiexec's that all the MPI-2 implementations have. + for f in $(find "${D}" -name 'mpiexec*'); do + mv ${f} $(dirname ${f})/osc-$(basename ${f}) \ + || die "Failed to prefix binary ${f} with osc-" + done + + dodoc README README.lam ChangeLog +} + +pkg_postinst() { + elog "The OSC Mpiexec package typically installs it's binaries" + elog "and manpages as 'mpiexec'. However, this ebuild renames" + elog "those to be prefixed with 'osc-' in order to avoid blocking" + elog "against the exact packages that osc-mpiexec is meant to" + elog "work with." + elog + elog "The default communication device has been set to mpich-p4" + elog "(ethernet). If you wish to use another communication" + elog "device, either set MPIEXEC_COMM in your environment or use" + elog "the --comm argument to mpiexec." +} |