diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2012-10-07 17:53:28 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2012-10-07 17:53:28 +0000 |
commit | a0bb167c7d4e08328875fdf8950b5a994b34a6d8 (patch) | |
tree | 041474066c49e17c2d92f1eb9f60f99b24a539dc /sys-cluster | |
parent | dev-tcltk/itk: Drop old; fix dep versions (diff) | |
download | historical-a0bb167c7d4e08328875fdf8950b5a994b34a6d8.tar.gz historical-a0bb167c7d4e08328875fdf8950b5a994b34a6d8.tar.bz2 historical-a0bb167c7d4e08328875fdf8950b5a994b34a6d8.zip |
[sys-cluster/openmpi] Version bump
Package-Manager: portage-2.2.0_alpha135/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/openmpi/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/openmpi/Manifest | 20 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.6.2.ebuild | 156 |
3 files changed, 178 insertions, 6 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index 87a106b8aa15..d15f9ec828ff 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/openmpi # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.110 2012/09/24 22:11:12 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.111 2012/10/07 17:53:28 alexxy Exp $ + +*openmpi-1.6.2 (07 Oct 2012) + + 07 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> +openmpi-1.6.2.ebuild: + [sys-cluster/openmpi] Version bump 24 Sep 2012; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.4.2.ebuild, -openmpi-1.5.4-r3.ebuild: @@ -455,4 +460,3 @@ binaries, not to also build static libraries. Changed SLOT to 0 from 6 in the overlay. Removed the hack for PGI compilers, that needs to happen in fortran.eclass. Use epause() from eutils.eclass rather than sleep. - diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index 2bd4fa92a581..7e4fd93cf0b8 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -8,18 +8,30 @@ DIST openmpi-1.4.3.tar.bz2 6626909 SHA256 220b72b1c7ee35469ff74b4cfdbec457158ac6 DIST openmpi-1.4.4.tar.bz2 6653048 SHA256 9ad125304a89232d5b04da251f463fdbd8dcd997450084ba4227e7f7a095c3ed DIST openmpi-1.5.5.tar.bz2 10055601 SHA256 660e6e49315185f88a87b6eae3d292b81774eab7b29a9b058b10eb35d892ff23 DIST openmpi-1.6.1.tar.bz2 10194684 SHA256 077240dd1ab10f0caf26931e585db73848e9815c7119b993f91d269da5901e3a SHA512 928f818d423701b80755eb00824acb78abda67e6a8093e75bce10e44746e487e2d868008c519148867609ef776a611e19d4162de3a4757831213536f77f8ede3 WHIRLPOOL 47e82953df5c4c1ee2c0b3930a4bb6ec462c6ad7151d48480c5a2998dd410427bd2cbd602df4d5c924b390a69d46e8be2d0ef0cbcb53afb2980b63fc852d1bd7 +DIST openmpi-1.6.2.tar.bz2 10198489 SHA256 5cc7744c6cc4ec2c04bc76c8b12717c4011822a2bd7236f2ea511f09579a714a SHA512 5301a59f7c956c3a91ecb6c047e1d3322e7c54bf2b53afc59c15f495b86c42130ae02b51c0905066d2a001d751e98d4cfa7999a25617a4abdb8aab6c81d84433 WHIRLPOOL 93a35663a010d9b6c0a41f8e3b929347db9abdce2e0b058af01829f1ccefc91296938c187827f0772284a06a9c0dcd05f7e64377527be3e893ebc542470035cf DIST openmpi-1.6.tar.bz2 10034857 SHA256 6e0d8b336543fb9ab78c97d364484923167857d30b266dfde1ccf60f356b9e0e EBUILD openmpi-1.4.3.ebuild 2700 SHA256 dd8eac053aec77d6b0b86e66e4a5a86532fe40b11f34db5c9313443cc45b3f8c SHA512 45dec4faadc9b35c09cfe2691cab968f3a00d2d7078a8e45177a297d5e5b9d2887341f2bb4ba88ca66e15efe5d673391834ad576ffc95af742b259735d8a3abe WHIRLPOOL 4f5b97364c3296e85af8e73f4b263d4a94da79ddadc861fbe8d6464240092375425b74ccf7f8de629bde5da40a30983910898b16995606553daf3a4ee0a1044d EBUILD openmpi-1.4.4.ebuild 2695 SHA256 515c178365be4c5fa75c40f0484b6601921d4fe76b299d64eb46d271027f7d46 SHA512 061b0de0ec79519679f7ee0df6424c878cfde8ca4d68f73d09071e0e5b2ba660a570219c54ce5488c7dbca357d389db4daabf838db01ca45cdc4d6a58e9a4216 WHIRLPOOL 43c8417463036f86bb01d0965b89605bfc32bd835dd97d67bc11f1a44cc16972a7d7f4b76d23289c922923735042db913532a7470ac947f639650a132a132f96 EBUILD openmpi-1.5.5.ebuild 4981 SHA256 c114c8bde5b6275f3a8a11755a0b46a619406bfe359c52c92c13a78276bee6d6 SHA512 f22f0dc1caa2916f8f2f70d9553155fa9fe316153f7703c96afd93c274285372aeb7b6b2a1dbab7d947bc1470ab405b062647f1e2a81f279c7626be155e87a74 WHIRLPOOL 081954a1f093f7f2652b25cbedd42d6c64c04cd5a2bdab3a6c8f3b8154b0fdfa50c60d395e33114100a234fcf358371565b7e60993bbe2e014dfd7623b8a71db EBUILD openmpi-1.6-r1.ebuild 4992 SHA256 76ff3080d98594a30cc87b1b560466cebe71721f41c6cadb5f629173cdbe5106 SHA512 46671249c6fae64ed6adeb6aa0e831a67950635ab8c7feccf7ac59b11400a6bdb42bc0d54b73ec22e5ee3264d7809bfb899a1809334f5cb231ecc30fe36e5346 WHIRLPOOL c35a43a31d535d942ffeb3e72d9ff0ac6b5211aac2a419ba5a71ba7f2e9667662b4f1d001e1d540afe2da8b3b46975fb06298f870137e9d8b51b95a6940000b1 EBUILD openmpi-1.6.1.ebuild 5032 SHA256 1f127730f786abd4fe0fffaf092338e7844fce71a69e2e7ca235fce33527643f SHA512 3af5c4865740878a9f17f7274627f21eed702a6f21c09ec9f0d3d8f88355e8bfa2a8753d60edd67ee12728f7df3708bb1edbe5229cfb5ce5ffb42fe7a8646661 WHIRLPOOL 6b4113bda09ad0788f5608c7339863efbb4696e67123ad2a882f413526da1fa533f79201d0cbb932d17864f882dd16e8bb6e38f0a144b45bc2489bb596fe50b0 -MISC ChangeLog 16625 SHA256 dc31be1a8d9906d099b244975914802621c0c45e17b3f7392c4d79aa3e75802e SHA512 d3a498e59fd8ab62d396295efc0d204d8f0979a5c02dc891f9e8eec81e475df293ea5fbd963c936f7b7aa0909ab1736822a122914b284fc95bb544eaefcf5a57 WHIRLPOOL ac447b24724de5c8d5824b95f2be238d366ffc5eba13ad82ac55ad9a124af0aa85b58b162b3da695059138a32bc3ce4e5d9ae568a5b57f1712332d24dd2faf30 +EBUILD openmpi-1.6.2.ebuild 5029 SHA256 1bd14c60487c6e2afb582dd4c07da258e9f631c8270ee2ebe1c1d8a728c85f9c SHA512 8045fabc5f1e70ef80b0f66d1c161c1632f4719828f9310fa882f1be141ed4ca7a2e2e382cc4f1308bbf9880c149375fee4bc078069d5d1f09d2414f5ad32ac3 WHIRLPOOL 6d66a0e60cdbe80c1493759f81a9cb0ae8db59522634c616b5e9e47aa0e9e438208d60f62fd86402ab492158404ace856774769577349b326eb783163076a233 +MISC ChangeLog 16763 SHA256 029c467db674681558d0a9dec8abac9cd94c82a738b987f26a1a22529efa19ff SHA512 b9e8867ca890de0dd7e50b9201a109f3c996fb73d9f4deb84774b1bd69dc5f3243faa1474e7f48eef4f17c38bf2805da66207d6ecad71c9083bf637af1d1b2c1 WHIRLPOOL 9e732b004f37dc3b44bfd30893e9a64a25cfd00dbda7c3176afe93d458013b6571b12e09eebbd4ef5c005627f733967a8404a01b4dd000dec4e5620cd40499e3 MISC metadata.xml 597 SHA256 a366b9394dfb038cf8913c7710395ea5d38609b268361320cb64346ca413e18a SHA512 d3bf1a59a1e4ab34ade883b194fa68fb6dbe5e62a1504df3f876fef15e17cbd0317091e2e2c8f31ac2fc16beb724c4add64326066e9d219658dcd1cca6ed415b WHIRLPOOL 75b4e1dbf70ab3ae32f2a9747704e4032e58b5bed583398e7892bff72e4fb5b63893c42bd7a85ba9830b1e0ec5325ea062234814d1716bde02c4ec87d0ef0148 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlBg2oYACgkQ4MrvBE1wQ8mQLACfTtlbE7WP7nRJuwhC4XY8mrPT -IpEAn0/HvhZdbmiwie08zne7b8c3Radg -=tiBy +iQIcBAEBCAAGBQJQccHHAAoJEOf+E+/4L5LmYLkP/3vRgWbn2eeqGZmU9LZbTa30 +xdbWe/Upp57WGEs2/gZUS0/dKm99csE6IBU92kpP+rubgxd0sGN0++RubgOaBVlw +oagCpVpI37+W94b4XUYO133mWQJ/NMoW/OuXXqxim+LpInXkJpmbMfhQuR2FBIsl +ZIRy1JyOBwgEx+aexgeZBMjW1qqAeBkIjxECh2K/28l7KLa6T7SsTgTElaEy/L6G +iKMKVkr+/0TyKXtFFNuYFygknpbc5fTsT852vKqH8e6X09k55lhLIKZevt5RoK8y +zyjyE/YAEoXqv2sBJDBIrtXJs/xlxQyGI34VbPn8IDCJpetU/fLG3bnJ4CWkwl1w +Piva8bSm2dN28jalqhoIYZFRMngBTPiAuUXcZolVZsfgbd+MhuYRDBRN8BjFh8ul +RvIpIPz3Np80fTXqpcsC9Y3jVeRLwPtt/bFhwbeQprPd77ZY3zitfYET7+G6nWx0 +zo6GMBr0UovisCY6qHlWGjqGXN2jPHDNKs0vG0CWpiIxAN6U8cn1zhISbzKQeS1n +OIoPh6/uls8e92CpCHDfyfnfFCxkf30xdWJflOqc5G9LZXpQxDMV23eHb9+YHqCQ +uKNvnXLZnAaGsP37duzOD89ZWT9fOcOq6Nez0/TsFC35llioImUaoUTW5F/76jmS +dx/jY9ZFMxNO0WR6JL/o +=aYi4 -----END PGP SIGNATURE----- diff --git a/sys-cluster/openmpi/openmpi-1.6.2.ebuild b/sys-cluster/openmpi/openmpi-1.6.2.ebuild new file mode 100644 index 000000000000..86f98e43cd4e --- /dev/null +++ b/sys-cluster/openmpi/openmpi-1.6.2.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.6.2.ebuild,v 1.1 2012/10/07 17:53:28 alexxy Exp $ + +EAPI=4 +inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs versionator + +MY_P=${P/-mpi} +S=${WORKDIR}/${MY_P} + +IUSE_OPENMPI_FABRICS=" + openmpi_fabrics_dapl + openmpi_fabrics_ofed + openmpi_fabrics_knem + openmpi_fabrics_open-mx + openmpi_fabrics_psm + openmpi_fabrics_sctp" + +IUSE_OPENMPI_RM=" + openmpi_rm_pbs + openmpi_rm_slurm" + +IUSE_OPENMPI_OFED_FEATURES=" + openmpi_ofed_features_control-hdr-padding + openmpi_ofed_features_connectx-xrc + openmpi_ofed_features_rdmacm + openmpi_ofed_features_dynamic-sl + openmpi_ofed_features_failover + " + +DESCRIPTION="A high-performance message passing library (MPI)" +HOMEPAGE="http://www.open-mpi.org" +SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux" +IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt + ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}" + +REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs ) + openmpi_rm_pbs? ( !openmpi_rm_slurm ) + openmpi_fabrics_psm? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )" + +RDEPEND=" + !sys-cluster/mpich2 + !sys-cluster/mpiexec + >=sys-apps/hwloc-1.3 + elibc_FreeBSD? ( dev-libs/libexecinfo ) + openmpi_fabrics_dapl? ( sys-infiniband/dapl ) + openmpi_fabrics_ofed? ( sys-infiniband/ofed ) + openmpi_fabrics_knem? ( sys-cluster/knem ) + openmpi_fabrics_open-mx? ( sys-cluster/open-mx ) + openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm ) + openmpi_fabrics_sctp? ( net-misc/lksctp-tools ) + openmpi_rm_pbs? ( sys-cluster/torque ) + openmpi_rm_slurm? ( sys-cluster/slurm ) + openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) + fortran? ( virtual/fortran ) + vt? ( + !dev-libs/libotf + !app-text/lcdf-typetools + ) + " +DEPEND="${RDEPEND}" +# TODO: Newer releases of Vampir use otf2 which would resolve the above blockers. + +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 +} + +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_enable ipv6) \ + $(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \ + $(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \ + $(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \ + $(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \ + $(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \ + $(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \ + $(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \ + $(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \ + $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ + $(use_enable openmpi_ofed_features_failover btl-openib-failover) \ + $(use_with openmpi_fabrics_sctp sctp) \ + $(use_with openmpi_rm_pbs tm) \ + $(use_with openmpi_rm_slurm slurm) +} + +src_install () { + emake DESTDIR="${D}" install || die "make install failed" + # From USE=vt see #359917 + rm "${ED}"/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. + emake -j1 check || die "emake check failed" +} |