1 |
Hi, |
2 |
I am playing with it right now, but I had to patch it this way to make |
3 |
it work with my /etc/portage/package.* directories: |
4 |
|
5 |
--- empi.old 2008-05-14 19:35:00.000000000 +0200 |
6 |
+++ empi.new 2008-05-14 19:39:30.000000000 +0200 |
7 |
@@ -106,7 +106,7 @@ |
8 |
fi |
9 |
|
10 |
if ! grep "[>=<]*${imp}/${atom[1]}" ${gfiles} &>/dev/null; then |
11 |
- grep "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ |
12 |
+ grep -h "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ |
13 |
| sed "s,${atom[0]},${imp}," \ |
14 |
| while read line; do |
15 |
echo "${line}" >> ${f} |
16 |
|
17 |
otherwise grep will produce a wrong output because it will prefix the |
18 |
file name before the found expression and something like this is put |
19 |
inside the keyword file: |
20 |
|
21 |
/etc/portage/package.keywords/base:mpi-test/openmpi ~x86 |
22 |
|
23 |
Thanks, |
24 |
David. |
25 |
|
26 |
On Tue, 2008-02-26 at 10:45 -0500, Justin Bronder wrote: |
27 |
> I've been spending the majority of my Gentoo-related time working on a |
28 |
> solution to bug 44132 [1], basically, trying to find a way to gracefully |
29 |
> handle multiple installs of various MPI implementations at the same time in |
30 |
> Gentoo. Theres more information about the solution in my devspace [2], but |
31 |
> a quick summary is that there is a new package (empi) that is much like |
32 |
> crossdev, a new eselect module for empi, and a new eclass that handles both |
33 |
> mpi implementations and packages depending on mpi. |
34 |
> |
35 |
> So, I think I have pushed this work far enough along for it to actually be |
36 |
> somewhat officially offered. My question then, is where should this be |
37 |
> located? There are several mpi packages in the science overlay already, so |
38 |
> should I push this work to there, or would it be more appropriate to make a |
39 |
> new overlay specifically for hp-cluster? |
40 |
> |
41 |
> Future work related to this project will be getting all mpi implementations |
42 |
> and dependant packages converted in the same overlay before bringing it up on |
43 |
> -dev for discussion about inclusion into the main tree. |
44 |
> |
45 |
> I have no real preference either way, but the science team does already have |
46 |
> an overlay :) Let me know what you think. |
47 |
> |
48 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=44132 |
49 |
> [2] http://dev.gentoo.org/~jsbronder/README.empi.txt |
50 |
> |
51 |
|
52 |
-- |
53 |
gentoo-science@l.g.o mailing list |