1 |
jsbronder 12/02/03 20:44:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openmpi-1.4.4.ebuild |
5 |
Log: |
6 |
version bump (#398383) |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.97 sys-cluster/openmpi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.97&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.97&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/ChangeLog?r1=1.96&r2=1.97 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v |
20 |
retrieving revision 1.96 |
21 |
retrieving revision 1.97 |
22 |
diff -u -r1.96 -r1.97 |
23 |
--- ChangeLog 3 Feb 2012 20:16:12 -0000 1.96 |
24 |
+++ ChangeLog 3 Feb 2012 20:44:18 -0000 1.97 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-cluster/openmpi |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.96 2012/02/03 20:16:12 jsbronder Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.97 2012/02/03 20:44:18 jsbronder Exp $ |
30 |
+ |
31 |
+*openmpi-1.4.4 (03 Feb 2012) |
32 |
+ |
33 |
+ 03 Feb 2012; Justin Bronder <jsbronder@g.o> +openmpi-1.4.4.ebuild: |
34 |
+ version bump (#398383) |
35 |
|
36 |
03 Feb 2012; Justin Bronder <jsbronder@g.o> -openmpi-1.5.3.ebuild, |
37 |
-openmpi-1.5.3-r1.ebuild, -openmpi-1.5.3-r2.ebuild, -openmpi-1.5.4.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/openmpi/openmpi-1.4.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: openmpi-1.4.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.4.ebuild,v 1.1 2012/02/03 20:44:18 jsbronder Exp $ |
51 |
|
52 |
EAPI=3 |
53 |
inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs |
54 |
|
55 |
MY_P=${P/-mpi} |
56 |
S=${WORKDIR}/${MY_P} |
57 |
|
58 |
DESCRIPTION="A high-performance message passing library (MPI)" |
59 |
HOMEPAGE="http://www.open-mpi.org" |
60 |
SRC_URI="http://www.open-mpi.org/software/ompi/v1.4/downloads/${MY_P}.tar.bz2" |
61 |
LICENSE="BSD" |
62 |
SLOT="0" |
63 |
RESTRICT="mpi-threads? ( test )" |
64 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads pbs romio threads vt" |
66 |
RDEPEND=" |
67 |
fortran? ( virtual/fortran ) |
68 |
pbs? ( sys-cluster/torque ) |
69 |
vt? ( |
70 |
!dev-libs/libotf |
71 |
!app-text/lcdf-typetools |
72 |
) |
73 |
elibc_FreeBSD? ( dev-libs/libexecinfo ) |
74 |
!sys-cluster/mpich |
75 |
!sys-cluster/lam-mpi |
76 |
!sys-cluster/mpich2 |
77 |
!sys-cluster/mpiexec" |
78 |
DEPEND="${RDEPEND}" |
79 |
|
80 |
pkg_setup() { |
81 |
use fortran && fortran-2_pkg_setup |
82 |
if use mpi-threads; then |
83 |
echo |
84 |
ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by" |
85 |
ewarn "default and officially unsupported by upstream." |
86 |
ewarn "You may stop now and set USE=-mpi-threads" |
87 |
echo |
88 |
fi |
89 |
|
90 |
echo |
91 |
elog "OpenMPI has an overwhelming count of configuration options." |
92 |
elog "Don't forget the EXTRA_ECONF environment variable can let you" |
93 |
elog "specify configure options if you find them necessary." |
94 |
echo |
95 |
} |
96 |
|
97 |
src_prepare() { |
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_configure() { |
107 |
local myconf=( |
108 |
--sysconfdir="${EPREFIX}/etc/${PN}" |
109 |
--enable-pretty-print-stacktrace |
110 |
--enable-orterun-prefix-by-default |
111 |
--without-slurm) |
112 |
|
113 |
if use mpi-threads; then |
114 |
myconf+=(--enable-mpi-threads |
115 |
--enable-progress-threads) |
116 |
fi |
117 |
|
118 |
if use fortran; then |
119 |
if [[ $(tc-getFC) =~ g77 ]]; then |
120 |
myconf+=(--disable-mpi-f90) |
121 |
elif [[ $(tc-getFC) =~ if ]]; then |
122 |
# Enabled here as gfortran compile times are huge with this enabled. |
123 |
myconf+=(--with-mpi-f90-size=medium) |
124 |
fi |
125 |
else |
126 |
myconf+=(--disable-mpi-f90 --disable-mpi-f77) |
127 |
fi |
128 |
|
129 |
! use vt && myconf+=(--enable-contrib-no-build=vt) |
130 |
|
131 |
econf "${myconf[@]}" \ |
132 |
$(use_enable cxx mpi-cxx) \ |
133 |
$(use_enable romio io-romio) \ |
134 |
$(use_enable heterogeneous) \ |
135 |
$(use_with pbs tm) \ |
136 |
$(use_enable ipv6) |
137 |
} |
138 |
|
139 |
src_install () { |
140 |
emake DESTDIR="${D}" install || die "make install failed" |
141 |
dodoc README AUTHORS NEWS VERSION || die |
142 |
} |
143 |
|
144 |
src_test() { |
145 |
# Doesn't work with the default src_test as the dry run (-n) fails. |
146 |
emake -j1 check || die "emake check failed" |
147 |
} |