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