Gentoo Archives: gentoo-commits

From: "Justin Bronder (jsbronder)" <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/openmpi: ChangeLog openmpi-1.3.2.ebuild
Date: Wed, 22 Apr 2009 20:52:10
Message-Id: E1LwjQN-0001Ij-FU@stork.gentoo.org
1 jsbronder 09/04/22 20:52:07
2
3 Modified: ChangeLog
4 Added: openmpi-1.3.2.ebuild
5 Log:
6 bump openmpi-1.3.2
7 (Portage version: 2.2_rc28/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.46 sys-cluster/openmpi/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 21 Apr 2009 15:55:14 -0000 1.45
23 +++ ChangeLog 22 Apr 2009 20:52:07 -0000 1.46
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-cluster/openmpi
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.45 2009/04/21 15:55:14 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.46 2009/04/22 20:52:07 jsbronder Exp $
29 +
30 +*openmpi-1.3.2 (22 Apr 2009)
31 +
32 + 22 Apr 2009; Justin Bronder <jsbronder@g.o> +openmpi-1.3.2.ebuild:
33 + bump openmpi-1.3.2
34
35 21 Apr 2009; Brent Baude <ranger@g.o> openmpi-1.2.9.ebuild:
36 Marking openmpi-1.2.9 ppc64 for bug 266555
37
38
39
40 1.1 sys-cluster/openmpi/openmpi-1.3.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.3.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.3.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: openmpi-1.3.2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.3.2.ebuild,v 1.1 2009/04/22 20:52:07 jsbronder Exp $
50
51 EAPI=1
52 inherit eutils multilib flag-o-matic toolchain-funcs fortran
53
54 MY_P=${P/-mpi}
55 S=${WORKDIR}/${MY_P}
56
57 DESCRIPTION="A high-performance message passing library (MPI)"
58 HOMEPAGE="http://www.open-mpi.org"
59 SRC_URI="http://www.open-mpi.org/software/ompi/v1.3/downloads/${MY_P}.tar.bz2"
60 LICENSE="BSD"
61 SLOT="0"
62 RESTRICT="mpi-threads? ( test )"
63 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="+cxx fortran heterogeneous ipv6 mpi-threads pbs romio threads"
65 RDEPEND="pbs? ( sys-cluster/torque )
66 !sys-cluster/mpich
67 !sys-cluster/lam-mpi
68 !sys-cluster/mpich2
69 !sys-cluster/mpiexec"
70 DEPEND="${RDEPEND}"
71
72 pkg_setup() {
73 if use mpi-threads; then
74 ewarn
75 ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by"
76 ewarn "default and officially unsupported by upstream."
77 ewarn "You may stop now and set USE=-mpi-threads"
78 ewarn
79 epause 5
80 fi
81
82 elog
83 elog "OpenMPI has an overwhelming count of configuration options."
84 elog "Don't forget the EXTRA_ECONF environment variable can let you"
85 elog "specify configure options if you find them necessary."
86 elog
87
88 if use fortran; then
89 FORTRAN="g77 gfortran ifc"
90 fortran_pkg_setup
91 fi
92 }
93
94 src_unpack() {
95 unpack ${A}
96 cd "${S}"
97
98 # Necessary for scalibility, see
99 # http://www.open-mpi.org/community/lists/users/2008/09/6514.php
100 if use threads; then
101 echo 'oob_tcp_listen_mode = listen_thread' \
102 >> opal/etc/openmpi-mca-params.conf
103 fi
104 }
105
106 src_compile() {
107 local myconf="
108 --sysconfdir=/etc/${PN}
109 --without-xgrid
110 --enable-pretty-print-stacktrace
111 --enable-orterun-prefix-by-default
112 --without-slurm"
113
114 if use mpi-threads; then
115 myconf="${myconf}
116 --enable-mpi-threads
117 --with-progress-threads"
118 fi
119
120 if use fortran; then
121 if [[ "${FORTRANC}" = "g77" ]]; then
122 myconf="${myconf} --disable-mpi-f90"
123 elif [[ "${FORTRANC}" = "gfortran" ]]; then
124 # Because that's just a pain in the butt.
125 myconf="${myconf} --with-wrapper-fflags=-I/usr/include"
126 elif [[ "${FORTRANC}" = if* ]]; then
127 # Enabled here as gfortran compile times are huge with this enabled.
128 myconf="${myconf} --with-mpi-f90-size=medium"
129 fi
130 else
131 myconf="${myconf}
132 --disable-mpi-f90
133 --disable-mpi-f77"
134 fi
135
136 # Push Vampir Trace includes to a subdir.
137 myconf="${myconf} --with-contrib-vt-flags=\"--includedir=/usr/include/vt\""
138
139 econf ${myconf} \
140 $(use_enable cxx mpi-cxx) \
141 $(use_enable romio io-romio) \
142 $(use_enable heterogeneous) \
143 $(use_with pbs tm) \
144 $(use_enable ipv6) \
145 || die "econf failed"
146
147 emake || die "emake failed"
148 }
149
150 src_install () {
151 emake DESTDIR="${D}" install || die "make install failed"
152 dodoc README AUTHORS NEWS VERSION
153 }
154
155 src_test() {
156 # Doesn't work with the default src_test as the dry run (-n) fails.
157 cd "${S}"
158 emake -j1 check || die "emake check failed"
159 }