1 |
Yes, I know about this bug =) |
2 |
|
3 |
|
4 |
2008/6/27 Eric Thibodeau <kyron@××××××××.com>: |
5 |
> Alexey Shvetsov wrote: |
6 |
> |
7 |
> hi all! |
8 |
> |
9 |
> May be it will be better if we can choose combinations mpi_imp/compiler |
10 |
> for example |
11 |
> mpi-openmpi-gcc |
12 |
> mpi-openmpi-intel |
13 |
> and so on |
14 |
> |
15 |
> for now it can be done manualy specifing CC, Fc and so on env |
16 |
> may be it will be better if it will be done from empi? |
17 |
> |
18 |
> |
19 |
> You might want to go read: http://bugs.gentoo.org/show_bug.cgi?id=44132 |
20 |
> |
21 |
> 2008/6/16 Eric Thibodeau <kyron@××××××××.com>: |
22 |
> |
23 |
> |
24 |
> Justin Bronder wrote: |
25 |
> |
26 |
> On 12/06/08 11:28 -0700, Bryan Green wrote: |
27 |
> |
28 |
> |
29 |
> Hello, |
30 |
> |
31 |
> I'm beginning to give empi/eselect-mpi a try. Bravo, Justin, for making |
32 |
> these! |
33 |
> |
34 |
> |
35 |
> Thanks for trying them out, I'm hoping someone else finds them as useful as |
36 |
> I |
37 |
> have. |
38 |
> |
39 |
> |
40 |
> It is planned to be part of the Gentoo Clustering LiveCD ;) |
41 |
> |
42 |
> |
43 |
> |
44 |
> I've run into one bug in eselect-mpi that effects csh users (a popular |
45 |
> shell where I work). There is simply one setenv line that has bash syntax |
46 |
> rather than csh syntax. I already submitted a bug: its bug 226105. |
47 |
> Here is the patch to fix it: |
48 |
> |
49 |
> ================================================ |
50 |
> --- files/mpi.eselect-0.0.3 (revision 1137) |
51 |
> +++ files/mpi.eselect-0.0.3 (working copy) |
52 |
> @@ -161,7 +161,7 @@ |
53 |
> setenv PATH "${binpath}" |
54 |
> setenv MANPATH "${manpath}" |
55 |
> setenv LD_LIBRARY_PATH "${lld}" |
56 |
> -setenv ESELECT_MPI_IMP="${1}" |
57 |
> +setenv ESELECT_MPI_IMP "${1}" |
58 |
> EOF |
59 |
> |
60 |
> echo "Remember to source ${user_ev_sh} or ${user_ev_csh}" |
61 |
> ================================================ |
62 |
> |
63 |
> |
64 |
> Fixed in eselect-0.0.3-r1. Also found another mistake when setting PATH for |
65 |
> c shells and fixed that as well. |
66 |
> |
67 |
> |
68 |
> |
69 |
> Also, in the README file, the for loop in step 6 is incorrect: |
70 |
> |
71 |
> for i in $(ls ${HOME}/.env.d/*); do |
72 |
> source ${HOME}/.env.d/${i} |
73 |
> done |
74 |
> |
75 |
> Results in: |
76 |
> |
77 |
> -bash: /home/bgreen/.env.d//home/bgreen/.env.d/mpi.csh: No such file or |
78 |
> directory |
79 |
> -bash: /home/bgreen/.env.d//home/bgreen/.env.d/mpi.sh: No such file or |
80 |
> directoryA |
81 |
> |
82 |
> |
83 |
> Also fixed. You might also want to check out the doc I've been working on |
84 |
> lately, http://dev.gentoo.org/~jsbronder/empi.xml. Hopefully it's a little |
85 |
> more up to date. |
86 |
> |
87 |
> |
88 |
> Have to remember that one ;) |
89 |
> |
90 |
> |
91 |
> |
92 |
> On the system where I'm using empi, I've created files in /etc/profile.d to |
93 |
> source the user's .env.d files when they log in. What do you think about |
94 |
> having the eselect-mpi ebuild install these, so mpi users dont have to do |
95 |
> that part manually? They would instead just have to source /etc/profile or |
96 |
> /etc/csh.login after running 'eselect mpi'. |
97 |
> |
98 |
> |
99 |
> Love it, I had not even thought of using this mechanism before even though I |
100 |
> should have. It will also simplify switching from an mpi environment to one |
101 |
> without it. I'll try to get something checked into the overlay soon, |
102 |
> shouldn't be more than a few days.< |
103 |
> |
104 |
> |
105 |
> Keep us posted because I will definitely want that version! |
106 |
> |
107 |
> |
108 |
> |
109 |
> Here are my versions of the files in /etc/profile.d: |
110 |
> |
111 |
> ============== |
112 |
> mpi-config.sh |
113 |
> ============== |
114 |
> if [ -d ${HOME}/.env.d ]; then |
115 |
> for i in ${HOME}/.env.d/*.sh ; do |
116 |
> . "${i}" |
117 |
> done |
118 |
> unset i |
119 |
> fi |
120 |
> |
121 |
> ============== |
122 |
> mpi-config.csh |
123 |
> ============== |
124 |
> if ( -d ${HOME}/.env.d ) then |
125 |
> set nonomatch |
126 |
> foreach i ( ${HOME}/.env.d/*.csh ) |
127 |
> source ${i} |
128 |
> end |
129 |
> unset i nonomatch |
130 |
> endif |
131 |
> |
132 |
> ============== |
133 |
> |
134 |
> -bryan |
135 |
> |
136 |
> |
137 |
> Thanks again for testing and your comments, they're much appreciated. |
138 |
> |
139 |
> |
140 |
> Yeah, thanks you both, multi-mpi-on-1-system has always plagued me too ;) |
141 |
> |
142 |
> |
143 |
> |
144 |
> |
145 |
> |
146 |
|
147 |
|
148 |
|
149 |
-- |
150 |
Gentoo GNU/Linux 2.6.25 |
151 |
|
152 |
Mail to |
153 |
alexxyum@×××××.com |
154 |
alexxy@××××××.ru |
155 |
-- |
156 |
gentoo-cluster@l.g.o mailing list |