1 |
alexxy 11/07/01 21:55:59 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: openmpi-1.5.3-r1.ebuild |
5 |
Log: |
6 |
[sys-cluster/openmpi] Add infiniband and sctp support |
7 |
|
8 |
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 sys-cluster/openmpi/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/metadata.xml?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/metadata.xml?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/metadata.xml?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/metadata.xml,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- metadata.xml 10 Sep 2010 19:46:09 -0000 1.8 |
24 |
+++ metadata.xml 1 Jul 2011 21:55:59 -0000 1.9 |
25 |
@@ -11,6 +11,7 @@ |
26 |
<flag name='pbs'>Add support for the Portable Batch System (PBS)</flag> |
27 |
<flag name='romio'>Build the ROMIO MPI-IO component</flag> |
28 |
<flag name='mpi-threads'>Enable MPI_THREAD_MULTIPLE</flag> |
29 |
+ <flag name='sctp'>Enable SCTP support</flag> |
30 |
<flag name='vt'>Enable bundled VampirTrace support</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.87 sys-cluster/openmpi/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.87&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.87&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?r1=1.86&r2=1.87 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v |
45 |
retrieving revision 1.86 |
46 |
retrieving revision 1.87 |
47 |
diff -u -r1.86 -r1.87 |
48 |
--- ChangeLog 24 Jun 2011 19:45:54 -0000 1.86 |
49 |
+++ ChangeLog 1 Jul 2011 21:55:59 -0000 1.87 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for sys-cluster/openmpi |
52 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.86 2011/06/24 19:45:54 xarthisius Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.87 2011/07/01 21:55:59 alexxy Exp $ |
55 |
+ |
56 |
+*openmpi-1.5.3-r1 (01 Jul 2011) |
57 |
+ |
58 |
+ 01 Jul 2011; Alexey Shvetsov <alexxy@g.o> +openmpi-1.5.3-r1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Add infiniband and sctp support |
61 |
|
62 |
24 Jun 2011; Kacper Kowalik <xarthisius@g.o> openmpi-1.5.3.ebuild: |
63 |
Dropped ~xf86-fbsd wrt #372885 |
64 |
|
65 |
|
66 |
|
67 |
1.1 sys-cluster/openmpi/openmpi-1.5.3-r1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/openmpi-1.5.3-r1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/openmpi-1.5.3-r1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: openmpi-1.5.3-r1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2011 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.5.3-r1.ebuild,v 1.1 2011/07/01 21:55:59 alexxy Exp $ |
77 |
|
78 |
EAPI=3 |
79 |
inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs |
80 |
|
81 |
MY_P=${P/-mpi} |
82 |
S=${WORKDIR}/${MY_P} |
83 |
|
84 |
DESCRIPTION="A high-performance message passing library (MPI)" |
85 |
HOMEPAGE="http://www.open-mpi.org" |
86 |
SRC_URI="http://www.open-mpi.org/software/ompi/v1.5/downloads/${MY_P}.tar.bz2" |
87 |
LICENSE="BSD" |
88 |
SLOT="0" |
89 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
90 |
IUSE="+cxx elibc_FreeBSD fortran heterogeneous infiniband ipv6 mpi-threads pbs romio sctp threads vt" |
91 |
RDEPEND=" |
92 |
fortran? ( virtual/fortran ) |
93 |
pbs? ( sys-cluster/torque ) |
94 |
infiniband? ( sys-infiniband/openib ) |
95 |
sctp? ( net-misc/lksctp-tools ) |
96 |
vt? ( |
97 |
!dev-libs/libotf |
98 |
!app-text/lcdf-typetools |
99 |
) |
100 |
elibc_FreeBSD? ( dev-libs/libexecinfo ) |
101 |
>=sys-apps/hwloc-1.1.1 |
102 |
!sys-cluster/mpich |
103 |
!sys-cluster/lam-mpi |
104 |
!sys-cluster/mpich2 |
105 |
!sys-cluster/mpiexec" |
106 |
DEPEND="${RDEPEND}" |
107 |
|
108 |
pkg_setup() { |
109 |
use fortran && fortran-2_pkg_setup |
110 |
if use mpi-threads; then |
111 |
echo |
112 |
ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by" |
113 |
ewarn "default and officially unsupported by upstream." |
114 |
ewarn "You may stop now and set USE=-mpi-threads" |
115 |
echo |
116 |
fi |
117 |
|
118 |
echo |
119 |
elog "OpenMPI has an overwhelming count of configuration options." |
120 |
elog "Don't forget the EXTRA_ECONF environment variable can let you" |
121 |
elog "specify configure options if you find them necessary." |
122 |
echo |
123 |
} |
124 |
|
125 |
src_prepare() { |
126 |
# Necessary for scalibility, see |
127 |
# http://www.open-mpi.org/community/lists/users/2008/09/6514.php |
128 |
if use threads; then |
129 |
echo 'oob_tcp_listen_mode = listen_thread' \ |
130 |
>> opal/etc/openmpi-mca-params.conf |
131 |
fi |
132 |
|
133 |
epatch "${FILESDIR}"/openmpi-r24328.patch |
134 |
} |
135 |
|
136 |
src_configure() { |
137 |
local myconf=( |
138 |
--sysconfdir="${EPREFIX}/etc/${PN}" |
139 |
--enable-pretty-print-stacktrace |
140 |
--enable-orterun-prefix-by-default |
141 |
--without-slurm |
142 |
--with-hwloc=/usr |
143 |
) |
144 |
|
145 |
if use mpi-threads; then |
146 |
myconf+=(--enable-mpi-threads |
147 |
--enable-progress-threads) |
148 |
fi |
149 |
|
150 |
if use fortran; then |
151 |
if [[ $(tc-getFC) =~ g77 ]]; then |
152 |
myconf+=(--disable-mpi-f90) |
153 |
elif [[ $(tc-getFC) =~ if ]]; then |
154 |
# Enabled here as gfortran compile times are huge with this enabled. |
155 |
myconf+=(--with-mpi-f90-size=medium) |
156 |
fi |
157 |
else |
158 |
myconf+=(--disable-mpi-f90 --disable-mpi-f77) |
159 |
fi |
160 |
|
161 |
! use vt && myconf+=(--enable-contrib-no-build=vt) |
162 |
|
163 |
econf "${myconf[@]}" \ |
164 |
$(use_enable cxx mpi-cxx) \ |
165 |
$(use_enable romio io-romio) \ |
166 |
$(use_enable heterogeneous) \ |
167 |
$(use_with pbs tm) \ |
168 |
$(use_enable ipv6) \ |
169 |
$(use_with infiniband openib) \ |
170 |
$(use_with sctp sctp) |
171 |
} |
172 |
|
173 |
src_install () { |
174 |
emake DESTDIR="${D}" install || die "make install failed" |
175 |
# From USE=vt see #359917 |
176 |
rm "${D}"/usr/share/libtool &> /dev/null |
177 |
dodoc README AUTHORS NEWS VERSION || die |
178 |
} |
179 |
|
180 |
src_test() { |
181 |
# Doesn't work with the default src_test as the dry run (-n) fails. |
182 |
cd "${S}" |
183 |
emake -j1 check || die "emake check failed" |
184 |
} |