diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-08-31 17:26:17 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-08-31 17:26:17 +0000 |
commit | d782a7aff0a584d363faed2b0eeb54c282124bd1 (patch) | |
tree | a89a2da9520d202954b030968edf45a6acff889c /sys-cluster/openmpi | |
parent | Version bump for bug #381169 (diff) | |
download | historical-d782a7aff0a584d363faed2b0eeb54c282124bd1.tar.gz historical-d782a7aff0a584d363faed2b0eeb54c282124bd1.tar.bz2 historical-d782a7aff0a584d363faed2b0eeb54c282124bd1.zip |
[sys-cluster/openmpi] Version bump
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r-- | sys-cluster/openmpi/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/openmpi/Manifest | 24 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.5.4.ebuild | 121 |
3 files changed, 148 insertions, 7 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index a8583b5c3e1d..18a7e2ae0f6d 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/openmpi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.91 2011/07/10 17:03:37 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.92 2011/08/31 17:26:17 alexxy Exp $ + + 31 Aug 2011; Alexey Shvetsov <alexxy@gentoo.org> +openmpi-1.5.4.ebuild: + Version bump + +*openmpi-1.5.4 (31 Aug 2011) + + 31 Aug 2011; Alexey Shvetsov <alexxy@gentoo.org> +openmpi-1.5.4.ebuild: + Version bump 10 Jul 2011; Alexis Ballier <aballier@gentoo.org> openmpi-1.5.3-r2.ebuild: keyword ~x86-fbsd, bug #372885 diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index bde7f54a25b6..7c4a068e7a37 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -1,22 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX openmpi-1.4.1-r22513.patch 2460 RMD160 94c6ca7c7d869039e73f1dbd5402ccd0d5949f11 SHA1 a924c63a94546f25a25beb15328ff2ee18c388e8 SHA256 083528f3ccdda8e1654accd5a6d3c79231d7d727cbd1f05293d7850a32503379 AUX openmpi-r24328.patch 1707 RMD160 4db5f60d692268e1e42ebbc5379cec245b14daa5 SHA1 25a3ac77307b4681e3f917e61ff88daa58dab508 SHA256 3149f47463057e3263a242b2df88b588074f07395d437b585c5ce37f84aadf83 DIST openmpi-1.4.2.tar.bz2 6630550 RMD160 2c9fbcc8f77e7fa28e2bd062875d484548cc0b79 SHA1 3e85092433d0e399cc7a51c018f9d13562f78b80 SHA256 19129e3d51860ad0a7497ede11563908ba99c76b3a51a4d0b8801f7e2db6cd80 DIST openmpi-1.4.3.tar.bz2 6626909 RMD160 087532de57244c03941421162caa9e5537b4eba1 SHA1 9d24b6969d73605904855eb32d40d6b07e231932 SHA256 220b72b1c7ee35469ff74b4cfdbec457158ac6894635143a33e9178aa3981015 DIST openmpi-1.5.3.tar.bz2 7589097 RMD160 c1d0950c9a5c53c8543838adadf6a7477abe3989 SHA1 669565c708deab82ad4069d82675b2020eb0e0c6 SHA256 70745806cdbe9b945d47d9fa058f99e072328e41e40c0ced6dd75220885c5263 +DIST openmpi-1.5.4.tar.bz2 7629620 RMD160 6e172309b102cf6382b4b516d07e0133466485b3 SHA1 81f7736a83b2134ba20c2e5c380b4d267cfd9d9c SHA256 81126a95a51b8af4bb0ad28790f852c30d22d989713ec30ad22e9e0a79587ef6 EBUILD openmpi-1.4.2.ebuild 2755 RMD160 5be40f5b45218df0650df27b24d33a5ec1e60164 SHA1 a58f360b08cec0343d27e9d7de239f8dcb3a5f8d SHA256 b9c496e2acf4b01687ed4224b440f81536245295a18779396cbceebe3334d7ca EBUILD openmpi-1.4.3.ebuild 2744 RMD160 02938b75b03428624d1164872db274dd75ede792 SHA1 15d0a7c5a28570eb70d430e9e54fc53e83b749cd SHA256 78434f6a7137ed809324c9428ec3e74a9f0ad7c3fea81d3a9ae4800f38e6aae2 EBUILD openmpi-1.5.3-r1.ebuild 3038 RMD160 27c44dd4cf4e18caf3e9bec1bab08b92dab68ec9 SHA1 31d2084063e966a8691b2d996a2de0a737f87da0 SHA256 bc5297bb77d8e34bbccfd8a6c66d3aec43db68cff505e76771eff5995c3bf212 EBUILD openmpi-1.5.3-r2.ebuild 3150 RMD160 e1c86d7768a03d6b8bc41179c57be490018fefc7 SHA1 a96868b3c815c0b532f097c09e97534d96e84427 SHA256 82758c65eae163f21bb7a1ef77deaa2aea3c45c86078d79b7589780b8131f90d EBUILD openmpi-1.5.3.ebuild 2866 RMD160 05ea9a199fdebbea163219e59a286c45f7385308 SHA1 ccdddf8f49328cedc1a5f58fcda8e568cb5ca52e SHA256 aabfd0213c13ce3eecb45bd6eaafc25a777cf8e9470b36609208716453adcaec -MISC ChangeLog 13677 RMD160 55fcaa8a3d7984de0f60c2c60ad47d427848663b SHA1 2859a902d6d015560b41c9d7a3e5fed47aaf3343 SHA256 24b3bae22e0cb4d770692aaf09d2c2ee496f19d1bf8d8d4547d6be80882b5111 +EBUILD openmpi-1.5.4.ebuild 3163 RMD160 08ef9dff9ca9b6841f4e169873dd44b34fd66ca0 SHA1 f7914d3af94e2a9db11e9a99eefbb26a3a55f679 SHA256 c0ac7ea59a092908aaaa858879ac9fc29087796f7e9faf61a48b50902a46f1f0 +MISC ChangeLog 13885 RMD160 dd5d72ff47dbbd5551272cb93779624b667542da SHA1 7b3a904c61f905fa4f7e1285180ad01c209b6694 SHA256 bd64c285e9807f4dcf6492ec6293d65dc4efb4447f52be2f9657414ef02cd62b MISC metadata.xml 694 RMD160 426659426d5466df5a01f809fa25a9736908358d SHA1 46f709ae3e6e046e5f2db69e00455291c486380c SHA256 ed1283fc3e7bbb2a52e2e1444cf7f9c9bffb71df9d78ce551110efa80babc072 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk4aBZ8ACgkQvFcC4BYPU0ovbwCfVHl6BIS5vieiwouwoDFbpPTU -OIMAoM4a5gy+70N72gIiYdC7Bu3lVqR6 -=pR0J +iQIcBAEBCAAGBQJOXm6iAAoJEOf+E+/4L5LmmuYP/iNihqHpVHahssjdKzmqMxIc +pFAcPfU9hLmOB/nOdjZ34jS57gQY/LUBJNnN+OZWV4c50ZPozurSceTYjrqL1oXL +a73rBHp6+Ns7+yWx60+XtZ0DYKcRnPwtXD08kqhF6ekrKephVo+c8QabCxJ6n1on +mdFv+/acI3eSwmBU39VrR9Zsi3xOCfmmlpHfzoUb9E8Onf07DL0AzOoobVDXDI1Y +ue/GNOBOAm7TvaucP5qvy9ZPrjcRYEDzJk6b/EywkEspl1XUIylmsvMvfI8XkFZA +eF5CpHmDKnpc2PIlaZxyVw08nvHY0tufw89b8uYOeJHjkyDVgoWl0E28jma8o2XG +XLt0c/BoIeBOqv/78Wd+ht9gYMiDSU1bW9CaEMlUIu10dXxzaM6jaUIh+E8C6DAY +iyQ+c+pc9nimbbih7djfp2C+DUuHI26n0/9PeYNFWAyATsPqlkYQmAeCohnoNQn1 +3akO1UO8bMT+taRLddXTHXICsCgv7I+ooVWZDjIOK+1SdSH8WGP5g+aXFC/K5Im4 +dQY6qbM1hcjjgJp5yKnyZE9Wi1aqwjFlKZmgHJnVQKmkcTfQm+F9WIX29H9GM5qz +V3FYEEdNh2uE4BcParCWB3CKW9iaVq5a6QYMGIZKubKKCXNiv8o6YE/KGLTe7eqt +MhOambMbMdiO1f8BlX7F +=h5cm -----END PGP SIGNATURE----- diff --git a/sys-cluster/openmpi/openmpi-1.5.4.ebuild b/sys-cluster/openmpi/openmpi-1.5.4.ebuild new file mode 100644 index 000000000000..6233adb7e5ed --- /dev/null +++ b/sys-cluster/openmpi/openmpi-1.5.4.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.5.4.ebuild,v 1.1 2011/08/31 17:26:17 alexxy Exp $ + +EAPI=4 +inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs + +MY_P=${P/-mpi} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A high-performance message passing library (MPI)" +HOMEPAGE="http://www.open-mpi.org" +SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" +IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs + romio sctp slurm threads vt" + +REQUIRED_USE="^^ ( + ( !slurm !pbs ) + ( slurm !pbs ) + ( !slurm pbs ) + )" + +RDEPEND=" + fortran? ( virtual/fortran ) + pbs? ( sys-cluster/torque ) + infiniband? ( sys-infiniband/openib ) + sctp? ( net-misc/lksctp-tools ) + vt? ( + !dev-libs/libotf + !app-text/lcdf-typetools + ) + elibc_FreeBSD? ( dev-libs/libexecinfo ) + >=sys-apps/hwloc-1.1.1 + !sys-cluster/mpich + !sys-cluster/lam-mpi + !sys-cluster/mpich2 + !sys-cluster/mpiexec" +DEPEND="${RDEPEND}" + +pkg_setup() { + use fortran && fortran-2_pkg_setup + if use mpi-threads; then + echo + ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by" + ewarn "default and officially unsupported by upstream." + ewarn "You may stop now and set USE=-mpi-threads" + echo + fi + + echo + elog "OpenMPI has an overwhelming count of configuration options." + elog "Don't forget the EXTRA_ECONF environment variable can let you" + elog "specify configure options if you find them necessary." + echo +} + +src_prepare() { + # Necessary for scalibility, see + # http://www.open-mpi.org/community/lists/users/2008/09/6514.php + if use threads; then + echo 'oob_tcp_listen_mode = listen_thread' \ + >> opal/etc/openmpi-mca-params.conf + fi + + epatch "${FILESDIR}"/openmpi-r24328.patch +} + +src_configure() { + local myconf=( + --sysconfdir="${EPREFIX}/etc/${PN}" + --enable-pretty-print-stacktrace + --enable-orterun-prefix-by-default + --with-hwloc="${EPREFIX}/usr" + ) + + if use mpi-threads; then + myconf+=( + --enable-mpi-thread-multiple + --enable-opal-multi-threads + ) + fi + + if use fortran; then + if [[ $(tc-getFC) =~ g77 ]]; then + myconf+=(--disable-mpi-f90) + elif [[ $(tc-getFC) =~ if ]]; then + # Enabled here as gfortran compile times are huge with this enabled. + myconf+=(--with-mpi-f90-size=medium) + fi + else + myconf+=(--disable-mpi-f90 --disable-mpi-f77) + fi + + ! use vt && myconf+=(--enable-contrib-no-build=vt) + + econf "${myconf[@]}" \ + $(use_enable cxx mpi-cxx) \ + $(use_enable romio io-romio) \ + $(use_enable heterogeneous) \ + $(use_with pbs tm) \ + $(use_with slurm) \ + $(use_enable ipv6) \ + $(use_with infiniband openib) \ + $(use_with sctp sctp) +} + +src_install () { + emake DESTDIR="${D}" install || die "make install failed" + # From USE=vt see #359917 + rm "${D}"/usr/share/libtool &> /dev/null + dodoc README AUTHORS NEWS VERSION || die +} + +src_test() { + # Doesn't work with the default src_test as the dry run (-n) fails. + cd "${S}" + emake -j1 check || die "emake check failed" +} |