1 |
I just checked the acml ebuild and it looks like it does the right thing. |
2 |
Can you give me the output of the following commands: |
3 |
eselect blas list |
4 |
pkg-config --libs-only-L blas |
5 |
cat /usr/lib64/pkgconfig/blas.pc |
6 |
ls -la /usr/lib64/pkgconfig/blas.pc |
7 |
|
8 |
Francois |
9 |
|
10 |
On Tue, 10 Jun 2014 09:33:37 François Bissey wrote: |
11 |
> OK, thanks for the file. I think it is a bug in the pkgconfig file for |
12 |
> blas with acml. You should also have |
13 |
> library_dirs = //opt/acml5.3.1/gfortran64/lib:/usr/lib64 |
14 |
> in the blas section, not just in the lapack one. Do you have a |
15 |
> Gentoo bugzilla account? If not I'll fill the report. |
16 |
> |
17 |
> Francois |
18 |
> |
19 |
> On Mon, 09 Jun 2014 20:41:35 Bastian Löffler wrote: |
20 |
> > Hi, |
21 |
> > |
22 |
> > this is |
23 |
> > |
24 |
> > /var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7/site.cf |
25 |
> > g: |
26 |
> > |
27 |
> > [blas] |
28 |
> > include_dirs = |
29 |
> > library_dirs = :/usr/lib64 |
30 |
> > blas_libs = |
31 |
> > [lapack] |
32 |
> > library_dirs = //opt/acml5.3.1/gfortran64/lib:/usr/lib64 |
33 |
> > lapack_libs = acml |
34 |
> > |
35 |
> > Buliding numpy is ago. This is any scipy update. |
36 |
> > |
37 |
> > Am 09.06.2014 13:51, schrieb François Bissey: |
38 |
> > > numpy not bumpy. Sorry for the noise. |
39 |
> > > |
40 |
> > > On 9/06/2014, at 23:42, François Bissey <frp.bissey@×××××.com> wrote: |
41 |
> > >> Hi, |
42 |
> > >> |
43 |
> > >> Could you post the file: |
44 |
> > >> /var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7/site |
45 |
> > >> .c |
46 |
> > >> fg |
47 |
> > >> for our perusal? You obviously managed to merge bumpy which |
48 |
> > >> fundamentally |
49 |
> > >> should have the exact same problem. |
50 |
> > >> Was it just before scipy or a while ago? |
51 |
> > >> |
52 |
> > >> François |
53 |
> > >> |
54 |
> > >> On 9/06/2014, at 23:25, Bastian Löffler <Bastian_Loeffler@×××××.de> |
55 |
> |
56 |
> wrote: |
57 |
> > >>> Hi all, |
58 |
> > >>> |
59 |
> > >>> I can not build scipy 0.14.0 agaonst the currenct aclm since it |
60 |
> > >>> complains a missing blas: |
61 |
> > >>> |
62 |
> > >>> numpy.distutils.system_info.BlasNotFoundError: |
63 |
> > >>> Blas ( |
64 |
> > >>> |
65 |
> > >>> http://www.netlib.org/blas/ |
66 |
> > >>> ) libraries not found. |
67 |
> > >>> |
68 |
> > >>> Directories to search for the libraries can be specified in the |
69 |
> > >>> numpy/distutils/site.cfg file (section [blas]) or by setting |
70 |
> > >>> the BLAS environment variable. |
71 |
> > >>> |
72 |
> > >>> * ERROR: sci-libs/scipy-0.14.0::gentoo failed (compile phase): |
73 |
> > >>> * (no error message) |
74 |
> > >>> * |
75 |
> > >>> * Call stack: |
76 |
> > >>> * ebuild.sh, line 93: Called src_compile |
77 |
> > >>> * environment, line 4075: Called distutils-r1_src_compile |
78 |
> > >>> * environment, line 1421: Called _distutils-r1_run_foreach_impl |
79 |
> > >>> 'python_compile' |
80 |
> > >>> * environment, line 312: Called python_parallel_foreach_impl |
81 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
82 |
> > >>> * environment, line 3808: Called |
83 |
> > >>> multibuild_parallel_foreach_variant |
84 |
> > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' |
85 |
> > >>> * environment, line 2855: Called multibuild_foreach_variant |
86 |
> > >>> '_multibuild_parallel' '_python_multibuild_wrapper' |
87 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
88 |
> > >>> * environment, line 2798: Called _multibuild_run |
89 |
> > >>> '_multibuild_parallel' '_python_multibuild_wrapper' |
90 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
91 |
> > >>> * environment, line 2796: Called _multibuild_parallel |
92 |
> > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' |
93 |
> > >>> * environment, line 2846: Called _python_multibuild_wrapper |
94 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
95 |
> > >>> * environment, line 914: Called distutils-r1_run_phase |
96 |
> > >>> 'python_compile' |
97 |
> > >>> * environment, line 1412: Called python_compile |
98 |
> > >>> * environment, line 3315: Called distutils-r1_python_compile |
99 |
> > >>> 'config_fc' '--noopt' '--noarch' |
100 |
> > >>> * environment, line 1292: Called esetup.py 'build' 'config_fc' |
101 |
> > >>> '--noopt' '--noarch' |
102 |
> > >>> * environment, line 1862: Called die |
103 |
> > >>> * The specific snippet of code: |
104 |
> > >>> * "${@}" || die |
105 |
> > >>> * |
106 |
> > >>> * If you need support, post the output of `emerge --info |
107 |
> > >>> '=sci-libs/scipy-0.14.0::gentoo'`, |
108 |
> > >>> * the complete build log and the output of `emerge -pqv |
109 |
> > >>> '=sci-libs/scipy-0.14.0::gentoo'`. |
110 |
> > >>> * The complete build log is located at |
111 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/build.log'. |
112 |
> > >>> * The ebuild environment file is located at |
113 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/environment'. |
114 |
> > >>> * Working directory: |
115 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7' |
116 |
> > >>> * S: '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0' |
117 |
> > >>> /usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (6675) - |
118 |
> > >>> No such process |
119 |
> > >>> blas_opt_info: |
120 |
> > >>> |
121 |
> > >>> system_info: |
122 |
> > >>> NOT AVAILABLE |
123 |
> > >>> |
124 |
> > >>> blas_info: |
125 |
> > >>> libraries not found in ['/usr/lib64'] |
126 |
> > >>> NOT AVAILABLE |
127 |
> > >>> |
128 |
> > >>> blas_src_info: |
129 |
> > >>> NOT AVAILABLE |
130 |
> > >>> |
131 |
> > >>> /usr/lib64/python3.3/distutils/dist.py:258: UserWarning: Unknown |
132 |
> > >>> distribution option: 'test_suite' |
133 |
> > >>> |
134 |
> > >>> warnings.warn(msg) |
135 |
> > >>> |
136 |
> > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1511 |
137 |
> > >>> : |
138 |
> > >>> |
139 |
> > >>> UserWarning: |
140 |
> > >>> Atlas ( |
141 |
> > >>> |
142 |
> > >>> http://math-atlas.sourceforge.net/ |
143 |
> > >>> ) libraries not found. |
144 |
> > >>> |
145 |
> > >>> Directories to search for the libraries can be specified in the |
146 |
> > >>> numpy/distutils/site.cfg file (section [atlas]) or by setting |
147 |
> > >>> the ATLAS environment variable. |
148 |
> > >>> |
149 |
> > >>> warnings.warn(AtlasNotFoundError.__doc__) |
150 |
> > >>> |
151 |
> > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:566: |
152 |
> > >>> UserWarning: Specified path is invalid. |
153 |
> > >>> |
154 |
> > >>> warnings.warn('Specified path %s is invalid.' % d) |
155 |
> > >>> |
156 |
> > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1520 |
157 |
> > >>> : |
158 |
> > >>> |
159 |
> > >>> UserWarning: |
160 |
> > >>> Blas ( |
161 |
> > >>> |
162 |
> > >>> http://www.netlib.org/blas/ |
163 |
> > >>> ) libraries not found. |
164 |
> > >>> |
165 |
> > >>> Directories to search for the libraries can be specified in the |
166 |
> > >>> numpy/distutils/site.cfg file (section [blas]) or by setting |
167 |
> > >>> the BLAS environment variable. |
168 |
> > >>> |
169 |
> > >>> warnings.warn(BlasNotFoundError.__doc__) |
170 |
> > >>> |
171 |
> > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1523 |
172 |
> > >>> : |
173 |
> > >>> |
174 |
> > >>> UserWarning: |
175 |
> > >>> Blas ( |
176 |
> > >>> |
177 |
> > >>> http://www.netlib.org/blas/ |
178 |
> > >>> ) sources not found. |
179 |
> > >>> |
180 |
> > >>> Directories to search for the sources can be specified in the |
181 |
> > >>> numpy/distutils/site.cfg file (section [blas_src]) or by setting |
182 |
> > >>> the BLAS_SRC environment variable. |
183 |
> > >>> |
184 |
> > >>> warnings.warn(BlasSrcNotFoundError.__doc__) |
185 |
> > >>> |
186 |
> > >>> Traceback (most recent call last): |
187 |
> > >>> File "setup.py", line 237, in <module> |
188 |
> > >>> |
189 |
> > >>> setup_package() |
190 |
> > >>> |
191 |
> > >>> File "setup.py", line 234, in setup_package |
192 |
> > >>> |
193 |
> > >>> setup(**metadata) |
194 |
> > >>> |
195 |
> > >>> File "/usr/lib64/python3.3/site-packages/numpy/distutils/core.py", |
196 |
> > >>> |
197 |
> > >>> line 135, in setup |
198 |
> > >>> |
199 |
> > >>> config = configuration() |
200 |
> > >>> |
201 |
> > >>> File "setup.py", line 173, in configuration |
202 |
> > >>> |
203 |
> > >>> config.add_subpackage('scipy') |
204 |
> > >>> |
205 |
> > >>> File |
206 |
> > >>> |
207 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
208 |
> > >>> line |
209 |
> > >>> 966, in add_subpackage |
210 |
> > >>> |
211 |
> > >>> caller_level = 2) |
212 |
> > >>> |
213 |
> > >>> File |
214 |
> > >>> |
215 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
216 |
> > >>> line |
217 |
> > >>> 935, in get_subpackage |
218 |
> > >>> |
219 |
> > >>> caller_level = caller_level + 1) |
220 |
> > >>> |
221 |
> > >>> File |
222 |
> > >>> |
223 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
224 |
> > >>> line |
225 |
> > >>> 872, in _get_configuration_from_setup_py |
226 |
> > >>> |
227 |
> > >>> config = setup_module.configuration(*args) |
228 |
> > >>> |
229 |
> > >>> File "scipy/setup.py", line 12, in configuration |
230 |
> > >>> |
231 |
> > >>> config.add_subpackage('integrate') |
232 |
> > >>> |
233 |
> > >>> File |
234 |
> > >>> |
235 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
236 |
> > >>> line |
237 |
> > >>> 966, in add_subpackage |
238 |
> > >>> |
239 |
> > >>> caller_level = 2) |
240 |
> > >>> |
241 |
> > >>> File |
242 |
> > >>> |
243 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
244 |
> > >>> line |
245 |
> > >>> 935, in get_subpackage |
246 |
> > >>> |
247 |
> > >>> caller_level = caller_level + 1) |
248 |
> > >>> |
249 |
> > >>> File |
250 |
> > >>> |
251 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", |
252 |
> > >>> line |
253 |
> > >>> 872, in _get_configuration_from_setup_py |
254 |
> > >>> |
255 |
> > >>> config = setup_module.configuration(*args) |
256 |
> > >>> |
257 |
> > >>> File "scipy/integrate/setup.py", line 12, in configuration |
258 |
> > >>> |
259 |
> > >>> blas_opt = get_info('blas_opt',notfound_action=2) |
260 |
> > >>> |
261 |
> > >>> File |
262 |
> > >>> |
263 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py", |
264 |
> > >>> line 340, in get_info |
265 |
> > >>> |
266 |
> > >>> return cl().get_info(notfound_action) |
267 |
> > >>> |
268 |
> > >>> File |
269 |
> > >>> |
270 |
> > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py", |
271 |
> > >>> line 499, in get_info |
272 |
> > >>> |
273 |
> > >>> raise self.notfounderror(self.notfounderror.__doc__) |
274 |
> > >>> |
275 |
> > >>> numpy.distutils.system_info.BlasNotFoundError: |
276 |
> > >>> Blas ( |
277 |
> > >>> |
278 |
> > >>> http://www.netlib.org/blas/ |
279 |
> > >>> ) libraries not found. |
280 |
> > >>> |
281 |
> > >>> Directories to search for the libraries can be specified in the |
282 |
> > >>> numpy/distutils/site.cfg file (section [blas]) or by setting |
283 |
> > >>> the BLAS environment variable. |
284 |
> > >>> |
285 |
> > >>> * ERROR: sci-libs/scipy-0.14.0::gentoo failed (compile phase): |
286 |
> > >>> * (no error message) |
287 |
> > >>> * |
288 |
> > >>> * Call stack: |
289 |
> > >>> * ebuild.sh, line 93: Called src_compile |
290 |
> > >>> * environment, line 4075: Called distutils-r1_src_compile |
291 |
> > >>> * environment, line 1421: Called _distutils-r1_run_foreach_impl |
292 |
> > >>> 'python_compile' |
293 |
> > >>> * environment, line 312: Called python_parallel_foreach_impl |
294 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
295 |
> > >>> * environment, line 3808: Called |
296 |
> > >>> multibuild_parallel_foreach_variant |
297 |
> > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' |
298 |
> > >>> * environment, line 2855: Called multibuild_foreach_variant |
299 |
> > >>> '_multibuild_parallel' '_python_multibuild_wrapper' |
300 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
301 |
> > >>> * environment, line 2798: Called _multibuild_run |
302 |
> > >>> '_multibuild_parallel' '_python_multibuild_wrapper' |
303 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
304 |
> > >>> * environment, line 2796: Called _multibuild_parallel |
305 |
> > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' |
306 |
> > >>> * environment, line 2846: Called _python_multibuild_wrapper |
307 |
> > >>> 'distutils-r1_run_phase' 'python_compile' |
308 |
> > >>> * environment, line 914: Called distutils-r1_run_phase |
309 |
> > >>> 'python_compile' |
310 |
> > >>> * environment, line 1412: Called python_compile |
311 |
> > >>> * environment, line 3315: Called distutils-r1_python_compile |
312 |
> > >>> 'config_fc' '--noopt' '--noarch' |
313 |
> > >>> * environment, line 1292: Called esetup.py 'build' 'config_fc' |
314 |
> > >>> '--noopt' '--noarch' |
315 |
> > >>> * environment, line 1862: Called die |
316 |
> > >>> * The specific snippet of code: |
317 |
> > >>> * "${@}" || die |
318 |
> > >>> * |
319 |
> > >>> * If you need support, post the output of `emerge --info |
320 |
> > >>> '=sci-libs/scipy-0.14.0::gentoo'`, |
321 |
> > >>> * the complete build log and the output of `emerge -pqv |
322 |
> > >>> '=sci-libs/scipy-0.14.0::gentoo'`. |
323 |
> > >>> * The complete build log is located at |
324 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/build.log'. |
325 |
> > >>> * The ebuild environment file is located at |
326 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/environment'. |
327 |
> > >>> * Working directory: |
328 |
> > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python3_3' |
329 |
> > >>> * S: '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0' |
330 |
> > >>> /usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (6675) - |
331 |
> > >>> No such process |
332 |
> > >>> |
333 |
> > >>>>>> Failed to emerge sci-libs/scipy-0.14.0, Log file: |