diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2015-05-12 15:10:33 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2015-05-12 15:10:33 +0000 |
commit | 03639e347878c5a56001abe02338894c27fa61e8 (patch) | |
tree | deaf7efb031736cd47664f8577ff5f105b5cd981 /sys-cluster/openmpi | |
parent | Fixed nspr dependency. Removed old (diff) | |
download | historical-03639e347878c5a56001abe02338894c27fa61e8.tar.gz historical-03639e347878c5a56001abe02338894c27fa61e8.tar.bz2 historical-03639e347878c5a56001abe02338894c27fa61e8.zip |
cleanup
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r-- | sys-cluster/openmpi/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/openmpi/Manifest | 14 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.6.5.ebuild | 164 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.7.5.ebuild | 160 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.8.3.ebuild | 163 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild | 170 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild | 170 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.8.4.ebuild | 163 |
8 files changed, 10 insertions, 1001 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index 88b56da00525..821cc619b313 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/openmpi # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.133 2015/05/12 15:05:50 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.134 2015/05/12 15:10:28 jsbronder Exp $ + + 12 May 2015; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.6.5.ebuild, + -openmpi-1.7.5.ebuild, -openmpi-1.8.3.ebuild, -openmpi-1.8.4.ebuild, + -openmpi-1.8.4-r1.ebuild, -openmpi-1.8.4-r2.ebuild: + cleanup *openmpi-1.8.4-r4 (12 May 2015) diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index 6977825babb4..b34beebbf775 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -15,21 +15,15 @@ DIST openmpi-1.8.4.tar.bz2 13488749 SHA256 23158d916e92c80e2924016b746a93913ba7f EBUILD openmpi-1.4.3.ebuild 2687 SHA256 9365fb61ca5888953cc61602d0862489ca50c281395b06c106368c7e14ce0cf8 SHA512 2753f9ba436791cee692e856d4c7d92ac5445230af158b594f08995e61a43b90cbb09625a9374e720890b158d06fb13bc198fb9c0c72de93b7a05fe569a74cc1 WHIRLPOOL efba39e8ed2b252acfe2e573904e3f0490f65f7f2746f7c2eed6d50860321c70a7d55288d146a36536f78b8ecf0f647d9dbb3120b96c67ad5368a38ca130bccd EBUILD openmpi-1.4.5.ebuild 2698 SHA256 4326f9fe35dabb5ed4c15a35edb7389c3a35d12d99bf163ad02aea7c6ce4ce08 SHA512 e81ca3a6e76d448c8ed22dc1de36e11275b2860e0bb7698ca65b4f4fefdc82421b34b0bfb838b73fa273a27acc5a77d7e7c6a4b63257fda6695e213e10f0b2c0 WHIRLPOOL 09e5b23f727a22b6a2a6b3885d5f56a123b1f2c2572966438f52b1f5189b59f89c5d0533ebd9ce61e9d66fc6331477f780171f86ef9727c78bd279c7b5754950 EBUILD openmpi-1.6.5-r1.ebuild 5431 SHA256 575ea177af8bee17b60931ccc6844d4c848bac21e2f03a43e8ed40b427fee9a8 SHA512 d17724df93b14168330d0cc0e7ce8c50a306a7ce295efc11234c8c2db0e5f6187bb3ca4161be183d5487475ca134d9d1c39524ccad5bb0f336fec789c1325878 WHIRLPOOL a0548e15d30aeb97cfc81a180c4eeb1623317ad6bff78c6b1677829364761c44d26aa937782579241b2af17f7ff98510ddfeac8301fb624e64a49c5dc61be574 -EBUILD openmpi-1.6.5.ebuild 5215 SHA256 19eb12b4aedd7c9a8eb3a015100d743c1687d0c3d7ac140e06c2c9f5ed2c29b8 SHA512 2bdfc777f0df9ec6347c7b1d6f1b8b8ae0ffc7775ad0e5b9b0ce12b856492f1695024f3e39518beaebb728350f7d67f58708d96de3fb808384d8283efc27267a WHIRLPOOL eda03f20c1cf682bc6fcdcd82325ade22c1e13d0d206b019b230d372bc732796cda26c76528636c865dabc7770e7a00bda36105bfcf8f1fb9e64ac5525405e5a EBUILD openmpi-1.7.5-r1.ebuild 5122 SHA256 a010918511cf9145a75bfcddea09924b40a9ed8c2b9919bc88a5640542fbe985 SHA512 288e111c5731b9bd0576dc4aad6aba71946541d808405cbfb9140ba9e5bf25140a025e5a13ce2cdbec4695e38ebe7fc20754959f1ff241d1b5804d826bbe8d38 WHIRLPOOL ea6c1dfc5843b008a8eb18e21e015c88b044286a5ec43bf88a59fa8cfd45dc4f5c0fe90daad753a88c779809b0f2481715c61cceb3f10bb2dd5a43d619f88245 -EBUILD openmpi-1.7.5.ebuild 4944 SHA256 ac3a50bb72e67d10ce68d19e7d8e73218a218e1141a933daafc31e4dfcd49e72 SHA512 b0eef019d943d7e5d3a2664bbb2afb2676867dbc160553b3b624e8b4b8e318c291cfef32283f6926d2b901005581eb177889ee7470e9f9bf1a5bf353a1f41dd1 WHIRLPOOL 8540db81a925c0c5656d39bca4ce3027bd8ee50c2eb4b3733a938644afcb4717d8b8c9be6968215b62a14c78ef7fb27ea5e39949793aa97c644056117186a9e1 EBUILD openmpi-1.8.3-r1.ebuild 5157 SHA256 1d09a5c89644a96c9881802cceb8cdcb441904ec701c830763470630ae422f38 SHA512 1153848b0fabf461d192ba88c13d06d7e55d926074dc57d81535b22129ba68ad916ec3db53a95b643ee8b64071d763466251eea1d2213cef42b6c127029efd71 WHIRLPOOL dfa9fffed94999289294394faba216b57892f50583e9994bb3b374113f0a751440de08a1855d4ccc553157347fab96f0e9034c33b792c2d1bcbb24ed139ca98c -EBUILD openmpi-1.8.3.ebuild 4979 SHA256 5b616cb2a56206b96f670d1b2b64b70f25f2bc378c4907bb62327e3944ab13b1 SHA512 6936ecbdaf0fd935f378e1031edff175ec74a71c860a84f85327ee66d6b733de647232db24b9d7355dfda53c50665f3a833a4a424df6301ae49687ce72ed8e7b WHIRLPOOL 3b44fc882eb26d79163e1eaef07ab9fd1fa8a06206a9e6625a4f4bac6c28c9aec795e22f7e34f5c72b48a9c4d800389f41d4997d9fe13f3b97e35106c2119fb1 -EBUILD openmpi-1.8.4-r1.ebuild 5157 SHA256 22160e7f2b82fca297dfc564739bf7d70e37c47973868bdcbef86a0c309b85a2 SHA512 5a26bf7afb33aaa1be1920723f94ab89291bd507857dc9fa6a2bf8b9305621af4f63e40b19019a097315bd4fdf8505ae473dcea7940a19b18c77ab22ced4c39e WHIRLPOOL 1179eabc0445a5b7b1135d2c47a71c061bcc143f2a4dec16606ba3e4266a65730877dbae14b56f22702eb8f6bba0cb6cdcd674d3845494d607385a2a56b9ee77 -EBUILD openmpi-1.8.4-r2.ebuild 5149 SHA256 9707078b5e1b97af59fe4c2729e1dfa648b93571733a8a21d45a94a105c39163 SHA512 097c8eca8da7e5c83d35d2ca9bb375875dd94b8df30c6569e6dcfcbea1f952ce6c630fa9e04c27051e81a42721a9565f948007233a84d9a22e0744d3a81cce5c WHIRLPOOL 5a5f5e74e5b1cb5a6d97ae1a4182a1115ad9448635c9dc50af6d3b6818afdf9aa66e958ebff77d42a3df40e74b3a211fad88ed558ee2664fd27e15d2d38e945f EBUILD openmpi-1.8.4-r4.ebuild 5149 SHA256 3997ee7b53835bfdf1a4a6ad0a854b86c6d2d7e1057919be4c6b575b971ae19a SHA512 ab5dc80ecc43bd7bfc30671a015703c0686158fe706658d921fa86f8fb560ec3f34c7871d9f67d3aff5faab551935a0f628ef5c8462f4b6c14d935aea33fdae5 WHIRLPOOL b8888e033431a9e228507e7761d836f2a3c96d3a461936f04b214ca627c33c1af2cc119e2c5f8ff9d6c01c4fa7bd57d78ec37fe736ca071ffc5e085cbfccf29c -EBUILD openmpi-1.8.4.ebuild 4979 SHA256 b9e45c3090560081a913f42420919df29647b00215571b364296a97667c502cb SHA512 409f2a6419fc2000c8575d17893a4bc6b18c1b1c7c8984e222c3c1c602ac8c06a712b4f54892d468307cf7aa801696f66d4b558c9a1ab490b1726045792eb676 WHIRLPOOL c935ce298c4f5c84bc5391dbdf8811c579ed3db198f9bdb400ef5ec3c2c6339dfac463b86b92b1824e962296b6fc18090a7123be48f00de0ba30a2439ad410a7 -MISC ChangeLog 21117 SHA256 0e8ba8e35dbb4ac0175bd4ad3a7def2a803904c042e0a979710fe2d5b8c0a2df SHA512 13b7414f21b4c19e57f956257d8bf4bc3b9f946ca95c5d630876be4b06fea8986061907f4a18ba8bf38a575ff093decc6f491a3b67828dba12337750a1386646 WHIRLPOOL d639deaa384ece9b5209880bdddfce239fce6da25645f50271d0bd683743c30d27921b792f2113117e1e34d51844d4e6426a00f8191f2f76427de0556228edd2 +MISC ChangeLog 21329 SHA256 033131fdcc583310bb15d001b63ac0eee4e88406e4b1b3043c128e3d3611d50e SHA512 fea4ac821311c8ca25ab9ba2c2e4f51bd24e8a2def971d368ae0e406e419f5c42d5764515f6d5ca918a85429a4d7d13779c7f73cf728d9b7c1c48133d8bc2ac3 WHIRLPOOL dea5a6b49d0288ff3036a458f4677ce6a109833f6c43e33776c3f3006341400a329cfa0a3121158c85c17a3bc58f50653141ff4b18a59edf5acc6788d59b1b73 MISC metadata.xml 791 SHA256 9edc79c0dc5999563fa3840cbba64de2b7061b7aa15fb62b7525944578f0b270 SHA512 0ec140f99b9ece69950b5d9cd283a097b3e4d6962b4c7941343b0eea1a914edf53b9ddfeb8bc2a8cc920219cf8e674b07370a0446136b1f9b416614acbcb97f6 WHIRLPOOL 761b3e76edadd1b7066937c3c9b93ae09c3c224dbf4b1da3771a218d54b92354e86adfa8dc945da049206f1e9b885653a12fd19342a7966ed3458a89df7f54ba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlVSFukACgkQ4MrvBE1wQ8mEpQCdHsi0WylBByPR84apY09qP/Sj -L2EAnR1UroO+Ow+j47nctPguTr+tk88n -=2ClJ +iEYEAREIAAYFAlVSF+UACgkQ4MrvBE1wQ8lvVACfWafp2T4+sYP1YOyKi52XeaPn +yuUAn2qU2HScbBJnmQpRHki7HhxbrV4N +=N2Fj -----END PGP SIGNATURE----- diff --git a/sys-cluster/openmpi/openmpi-1.6.5.ebuild b/sys-cluster/openmpi/openmpi-1.6.5.ebuild deleted file mode 100644 index 0bc0144fedb7..000000000000 --- a/sys-cluster/openmpi/openmpi-1.6.5.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.6.5.ebuild,v 1.1 2013/07/11 01:03:55 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -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/mpich - !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 ) - 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() { - 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 - - # https://svn.open-mpi.org/trac/ompi/ticket/3649 - # https://svn.open-mpi.org/trac/ompi/ticket/3648 - epatch "${FILESDIR}"/hooks-disable-malloc-override-inside-of-Gentoo-sandb.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_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" -} diff --git a/sys-cluster/openmpi/openmpi-1.7.5.ebuild b/sys-cluster/openmpi/openmpi-1.7.5.ebuild deleted file mode 100644 index 4b44dea1e52b..000000000000 --- a/sys-cluster/openmpi/openmpi-1.7.5.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.7.5.ebuild,v 1.2 2014/04/17 14:59:46 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_open-mx - openmpi_fabrics_psm" - -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="cma cuda +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 )" - -MPI_UNCLASSED_DEP_STR=" - vt? ( - !dev-libs/libotf - !app-text/lcdf-typetools - )" - -RDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/mpiexec - dev-libs/libevent - >=sys-apps/hwloc-1.7.2 - cuda? ( dev-util/nvidia-cuda-toolkit ) - elibc_FreeBSD? ( dev-libs/libexecinfo ) - 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_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) - " -DEPEND="${RDEPEND}" - -pkg_setup() { - 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-threads - --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_with cma) \ - $(use_with cuda cuda "$EPREFIX"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(use_with openmpi_fabrics_ofed verbs "${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_rm_pbs tm) \ - $(use_with openmpi_rm_slurm slurm) -} - -src_install () { - emake DESTDIR="${D}" install - # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null - # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null - dodoc README AUTHORS NEWS VERSION || die -} - -src_test() { - # Doesn't work with the default src_test as the dry run (-n) fails. - - # Do not override malloc during build. Works around #462602 - emake -j1 check -} diff --git a/sys-cluster/openmpi/openmpi-1.8.3.ebuild b/sys-cluster/openmpi/openmpi-1.8.3.ebuild deleted file mode 100644 index 4df06ee3f48f..000000000000 --- a/sys-cluster/openmpi/openmpi-1.8.3.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.3.ebuild,v 1.2 2014/10/16 14:59:06 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_open-mx - openmpi_fabrics_psm" - -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_udcm - 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="cma cuda +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_udcm? ( 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 )" - -MPI_UNCLASSED_DEP_STR=" - vt? ( - !dev-libs/libotf - !app-text/lcdf-typetools - )" - -RDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/mpiexec - dev-libs/libevent - >=sys-apps/hwloc-1.7.2 - sys-libs/zlib - cuda? ( dev-util/nvidia-cuda-toolkit ) - elibc_FreeBSD? ( dev-libs/libexecinfo ) - 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_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) - " -DEPEND="${RDEPEND}" - -pkg_setup() { - 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-threads - --enable-opal-multi-threads) - fi - - if use fortran; then - myconf+=(--enable-mpi-fortran=all) - else - myconf+=(--enable-mpi-fortran=no) - fi - - ! use vt && myconf+=(--enable-contrib-no-build=vt) - - econf "${myconf[@]}" \ - $(use_enable cxx mpi-cxx) \ - $(use_with cma) \ - $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(use_with openmpi_fabrics_ofed verbs "${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_udcm openib-udcm) \ - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \ - $(use_with openmpi_rm_pbs tm) \ - $(use_with openmpi_rm_slurm slurm) -} - -src_install () { - emake DESTDIR="${D}" install - - # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null - - # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null - - # Remove la files, no static libs are installed and we have pkg-config - find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete - - 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 -} diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild deleted file mode 100644 index 6e8979b3588f..000000000000 --- a/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4-r1.ebuild,v 1.1 2015/02/04 21:46:32 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit autotools cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_open-mx - openmpi_fabrics_psm" - -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_udcm - 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="cma cuda +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_udcm? ( 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 )" - -MPI_UNCLASSED_DEP_STR=" - vt? ( - !dev-libs/libotf - !app-text/lcdf-typetools - )" - -RDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/mpiexec - dev-libs/libevent - dev-libs/libltdl:0 - >=sys-apps/hwloc-1.9.1 - sys-libs/zlib - cuda? ( dev-util/nvidia-cuda-toolkit ) - elibc_FreeBSD? ( dev-libs/libexecinfo ) - 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_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) - " -DEPEND="${RDEPEND}" - -pkg_setup() { - 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 - - # https://github.com/open-mpi/ompi/issues/163 - epatch "${FILESDIR}"/openmpi-ltdl.patch - - AT_M4DIR=config eautoreconf -} - -src_configure() { - local myconf=( - --sysconfdir="${EPREFIX}/etc/${PN}" - --enable-pretty-print-stacktrace - --enable-orterun-prefix-by-default - --with-hwloc="${EPREFIX}/usr" - --with-libltdl=external - ) - - if use mpi-threads; then - myconf+=(--enable-mpi-threads - --enable-opal-multi-threads) - fi - - if use fortran; then - myconf+=(--enable-mpi-fortran=all) - else - myconf+=(--enable-mpi-fortran=no) - fi - - ! use vt && myconf+=(--enable-contrib-no-build=vt) - - econf "${myconf[@]}" \ - $(use_enable cxx mpi-cxx) \ - $(use_with cma) \ - $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(use_with openmpi_fabrics_ofed verbs "${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_udcm openib-udcm) \ - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \ - $(use_with openmpi_rm_pbs tm) \ - $(use_with openmpi_rm_slurm slurm) -} - -src_install () { - emake DESTDIR="${D}" install - - # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null - - # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null - - # Remove la files, no static libs are installed and we have pkg-config - find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete - - 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 -} diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild deleted file mode 100644 index 701e90753b4f..000000000000 --- a/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4-r2.ebuild,v 1.1 2015/02/17 01:17:41 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit autotools cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_open-mx - openmpi_fabrics_psm" - -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_udcm - 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="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux" -IUSE="cma cuda +cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads numa 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_udcm? ( 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 )" - -MPI_UNCLASSED_DEP_STR=" - vt? ( - !dev-libs/libotf - !app-text/lcdf-typetools - )" - -RDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/mpiexec - dev-libs/libevent - dev-libs/libltdl:0 - >=sys-apps/hwloc-1.9.1[numa?] - sys-libs/zlib - cuda? ( dev-util/nvidia-cuda-toolkit ) - elibc_FreeBSD? ( dev-libs/libexecinfo ) - 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_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) - " -DEPEND="${RDEPEND}" - -pkg_setup() { - 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 - - # https://github.com/open-mpi/ompi/issues/163 - epatch "${FILESDIR}"/openmpi-ltdl.patch - - AT_M4DIR=config eautoreconf -} - -src_configure() { - local myconf=( - --sysconfdir="${EPREFIX}/etc/${PN}" - --enable-pretty-print-stacktrace - --enable-orterun-prefix-by-default - --with-hwloc="${EPREFIX}/usr" - --with-libltdl=external - ) - - if use mpi-threads; then - myconf+=(--enable-mpi-threads - --enable-opal-multi-threads) - fi - - if use fortran; then - myconf+=(--enable-mpi-fortran=all) - else - myconf+=(--enable-mpi-fortran=no) - fi - - ! use vt && myconf+=(--enable-contrib-no-build=vt) - - econf "${myconf[@]}" \ - $(use_enable cxx mpi-cxx) \ - $(use_with cma) \ - $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(use_with openmpi_fabrics_ofed verbs "${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_udcm openib-udcm) \ - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \ - $(use_with openmpi_rm_pbs tm) \ - $(use_with openmpi_rm_slurm slurm) -} - -src_install () { - emake DESTDIR="${D}" install - - # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null - - # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null - - # Remove la files, no static libs are installed and we have pkg-config - find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete - - 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 -} diff --git a/sys-cluster/openmpi/openmpi-1.8.4.ebuild b/sys-cluster/openmpi/openmpi-1.8.4.ebuild deleted file mode 100644 index 09e6cfa969ea..000000000000 --- a/sys-cluster/openmpi/openmpi-1.8.4.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.8.4.ebuild,v 1.1 2015/02/04 05:10:12 jsbronder Exp $ - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_open-mx - openmpi_fabrics_psm" - -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_udcm - 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="cma cuda +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_udcm? ( 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 )" - -MPI_UNCLASSED_DEP_STR=" - vt? ( - !dev-libs/libotf - !app-text/lcdf-typetools - )" - -RDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/mpiexec - dev-libs/libevent - >=sys-apps/hwloc-1.9.1 - sys-libs/zlib - cuda? ( dev-util/nvidia-cuda-toolkit ) - elibc_FreeBSD? ( dev-libs/libexecinfo ) - 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_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm ) - " -DEPEND="${RDEPEND}" - -pkg_setup() { - 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-threads - --enable-opal-multi-threads) - fi - - if use fortran; then - myconf+=(--enable-mpi-fortran=all) - else - myconf+=(--enable-mpi-fortran=no) - fi - - ! use vt && myconf+=(--enable-contrib-no-build=vt) - - econf "${myconf[@]}" \ - $(use_enable cxx mpi-cxx) \ - $(use_with cma) \ - $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(use_with openmpi_fabrics_ofed verbs "${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_udcm openib-udcm) \ - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \ - $(use_with openmpi_rm_pbs tm) \ - $(use_with openmpi_rm_slurm slurm) -} - -src_install () { - emake DESTDIR="${D}" install - - # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null - - # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null - - # Remove la files, no static libs are installed and we have pkg-config - find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete - - 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 -} |