1 |
commit: 88d2849dec7a6e6d712927c5d803bd452823afbb |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 21 17:27:32 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 21 17:39:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=88d2849d |
7 |
|
8 |
sci-libs/mkl: remove old 2013 SP1 ebuilds |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
sci-libs/mkl/mkl-11.1.0.080-r2.ebuild | 143 ---------------------------------- |
13 |
sci-libs/mkl/mkl-11.1.1.106-r1.ebuild | 143 ---------------------------------- |
14 |
sci-libs/mkl/mkl-11.1.2.144-r1.ebuild | 143 ---------------------------------- |
15 |
3 files changed, 429 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/mkl/mkl-11.1.0.080-r2.ebuild b/sci-libs/mkl/mkl-11.1.0.080-r2.ebuild |
18 |
deleted file mode 100644 |
19 |
index 2797c3b..0000000 |
20 |
--- a/sci-libs/mkl/mkl-11.1.0.080-r2.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,143 +0,0 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-INTEL_DPN=parallel_studio_xe |
30 |
-INTEL_DID=3447 |
31 |
-INTEL_DPV=2013_sp1 |
32 |
-INTEL_SUBDIR=composerxe |
33 |
-INTEL_SINGLE_ARCH=false |
34 |
-INTEL_SKIP_LICENSE=true |
35 |
- |
36 |
-inherit intel-sdp multilib alternatives-2 |
37 |
- |
38 |
-DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions" |
39 |
-HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/" |
40 |
- |
41 |
-IUSE="" |
42 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
43 |
- |
44 |
-DEPEND="" |
45 |
-RDEPEND=">=dev-libs/intel-common-13" |
46 |
- |
47 |
-CHECKREQS_DISK_BUILD=2500M |
48 |
- |
49 |
-INTEL_BIN_RPMS=" |
50 |
- mkl mkl-devel |
51 |
- mkl-cluster mkl-cluster-devel |
52 |
- mkl-f95-devel |
53 |
- mkl-gnu mkl-gnu-devel |
54 |
- mkl-pgi mkl-pgi-devel" |
55 |
-# single arch packages |
56 |
-# mkl-mic mkl-mic-devel |
57 |
-# mkl-sp2dp mkl-sp2dp-devel |
58 |
-INTEL_DAT_RPMS="mkl-common mkl-cluster-common mkl-f95-common" |
59 |
- |
60 |
-src_prepare() { |
61 |
- chmod u+w -R opt |
62 |
-} |
63 |
- |
64 |
-mkl_add_prof() { |
65 |
- local pcname=${1} libs cflags x |
66 |
- shift |
67 |
- [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 |
68 |
- cat <<-EOF > ${pcname}.pc |
69 |
- prefix=${INTEL_SDP_EDIR}/mkl |
70 |
- libdir=\${prefix}/lib/${IARCH} |
71 |
- libdir_comp=${INTEL_SDP_EDIR}/compiler/lib/${IARCH} |
72 |
- includedir=\${prefix}/include |
73 |
- Name: ${pcname} |
74 |
- Description: ${DESCRIPTION} |
75 |
- Version: ${PV} |
76 |
- URL: ${HOMEPAGE} |
77 |
- Libs: -L\${libdir} -L\${libdir_comp} ${libs} |
78 |
- Cflags: -I\${includedir} ${cflags} |
79 |
- EOF |
80 |
- insinto /usr/$(get_libdir)/pkgconfig |
81 |
- doins ${pcname}.pc |
82 |
- for x in $*; do |
83 |
- alternatives_for ${x} ${pcname/-${x}} 0 \ |
84 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc |
85 |
- done |
86 |
-} |
87 |
- |
88 |
-# mkl_prof [_ilp64 or _lp64] |
89 |
-# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ |
90 |
-mkl_prof() { |
91 |
- local bits="" |
92 |
- if [[ ${IARCH} == intel64 ]]; then |
93 |
- bits=_lp64 |
94 |
- [[ ${1} == int64 ]] && bits=_ilp64 |
95 |
- fi |
96 |
- local gf="-Wl,--no-as-needed -Wl,--start-group -lmkl_gf${bits}" |
97 |
- local gc="-Wl,--no-as-needed -Wl,--start-group -lmkl_intel${bits}" |
98 |
- local intel="-Wl,--start-group -lmkl_intel${bits}" |
99 |
- local core="-lmkl_core -Wl,--end-group" |
100 |
- local prof=mkl${IARCH:((${#IARCH} - 2)):2} |
101 |
- [[ ${1} == int64 ]] && prof=${prof}-int64 |
102 |
- local libs |
103 |
- |
104 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
105 |
- mkl_add_prof ${prof}-gfortran blas lapack |
106 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
107 |
- mkl_add_prof ${prof}-intel blas lapack cblas lapacke |
108 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
109 |
- mkl_add_prof ${prof}-gfortran-openmp blas lapack |
110 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
111 |
- mkl_add_prof ${prof}-gcc-openmp cblas lapacke |
112 |
- libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ |
113 |
- mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke |
114 |
- libs="-lmkl_rt -lpthread" \ |
115 |
- mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke |
116 |
- libs="-lmkl_rt -liomp5 -lpthread" \ |
117 |
- mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke |
118 |
- |
119 |
- # blacs and scalapack |
120 |
- local scal="-lmkl_scalapack${bits:-_core}" |
121 |
- local blacs="-lmkl_blacs_intelmpi${bits}" |
122 |
- core="-lmkl_core ${blacs} -Wl,--end-group" |
123 |
- |
124 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
125 |
- mkl_add_prof ${prof}-gfortran-blacs blacs |
126 |
- libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ |
127 |
- mkl_add_prof ${prof}-gfortran-scalapack scalapack |
128 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
129 |
- mkl_add_prof ${prof}-intel-blacs blacs |
130 |
- libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ |
131 |
- mkl_add_prof ${prof}-intel-scalapack scalapack |
132 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
133 |
- mkl_add_prof ${prof}-gfortran-openmp-blacs blacs |
134 |
- libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
135 |
- mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack |
136 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
137 |
- mkl_add_prof ${prof}-gcc-openmp-blacs blacs |
138 |
- libs="${scal} ${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
139 |
- mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack |
140 |
- libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
141 |
- mkl_add_prof ${prof}-intel-openmp-blacs blacs |
142 |
- libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
143 |
- mkl_add_prof ${prof}-intel-openmp-scalapack scalapack |
144 |
- libs="-lmkl_rt ${blacs} -lpthread" \ |
145 |
- mkl_add_prof ${prof}-dynamic-blacs blacs |
146 |
- libs="${scal} -lmkl_rt ${blacs} -lpthread" \ |
147 |
- mkl_add_prof ${prof}-dynamic-scalapack scalapack |
148 |
- libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ |
149 |
- mkl_add_prof ${prof}-dynamic-openmp-blacs blacs |
150 |
- libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ |
151 |
- mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack |
152 |
-} |
153 |
- |
154 |
-src_install() { |
155 |
- intel-sdp_src_install |
156 |
- echo -n > 35mkl "LDPATH=" |
157 |
- for IARCH in ${INTEL_ARCH}; do |
158 |
- mkl_prof |
159 |
- sed -i -e '/mkl/s/$/:/' 35mkl |
160 |
- echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" |
161 |
- [[ ${IARCH} == intel64 ]] && mkl_prof int64 |
162 |
- done |
163 |
- echo >> 35mkl |
164 |
- doenvd 35mkl |
165 |
-} |
166 |
|
167 |
diff --git a/sci-libs/mkl/mkl-11.1.1.106-r1.ebuild b/sci-libs/mkl/mkl-11.1.1.106-r1.ebuild |
168 |
deleted file mode 100644 |
169 |
index 9af2b40..0000000 |
170 |
--- a/sci-libs/mkl/mkl-11.1.1.106-r1.ebuild |
171 |
+++ /dev/null |
172 |
@@ -1,143 +0,0 @@ |
173 |
-# Copyright 1999-2015 Gentoo Foundation |
174 |
-# Distributed under the terms of the GNU General Public License v2 |
175 |
-# $Id$ |
176 |
- |
177 |
-EAPI=5 |
178 |
- |
179 |
-INTEL_DPN=parallel_studio_xe |
180 |
-INTEL_DID=3644 |
181 |
-INTEL_DPV=2013_sp1_update1 |
182 |
-INTEL_SUBDIR=composerxe |
183 |
-INTEL_SINGLE_ARCH=false |
184 |
-INTEL_SKIP_LICENSE=true |
185 |
- |
186 |
-inherit intel-sdp multilib alternatives-2 |
187 |
- |
188 |
-DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions" |
189 |
-HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/" |
190 |
- |
191 |
-IUSE="" |
192 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
193 |
- |
194 |
-DEPEND="" |
195 |
-RDEPEND=">=dev-libs/intel-common-13" |
196 |
- |
197 |
-CHECKREQS_DISK_BUILD=2500M |
198 |
- |
199 |
-INTEL_BIN_RPMS=" |
200 |
- mkl mkl-devel |
201 |
- mkl-cluster mkl-cluster-devel |
202 |
- mkl-f95-devel |
203 |
- mkl-gnu mkl-gnu-devel |
204 |
- mkl-pgi mkl-pgi-devel" |
205 |
-# single arch packages |
206 |
-# mkl-mic mkl-mic-devel |
207 |
-# mkl-sp2dp mkl-sp2dp-devel |
208 |
-INTEL_DAT_RPMS="mkl-common mkl-cluster-common mkl-f95-common" |
209 |
- |
210 |
-src_prepare() { |
211 |
- chmod u+w -R opt |
212 |
-} |
213 |
- |
214 |
-mkl_add_prof() { |
215 |
- local pcname=${1} libs cflags x |
216 |
- shift |
217 |
- [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 |
218 |
- cat <<-EOF > ${pcname}.pc |
219 |
- prefix=${INTEL_SDP_EDIR}/mkl |
220 |
- libdir=\${prefix}/lib/${IARCH} |
221 |
- libdir_comp=${INTEL_SDP_EDIR}/compiler/lib/${IARCH} |
222 |
- includedir=\${prefix}/include |
223 |
- Name: ${pcname} |
224 |
- Description: ${DESCRIPTION} |
225 |
- Version: ${PV} |
226 |
- URL: ${HOMEPAGE} |
227 |
- Libs: -L\${libdir} -L\${libdir_comp} ${libs} |
228 |
- Cflags: -I\${includedir} ${cflags} |
229 |
- EOF |
230 |
- insinto /usr/$(get_libdir)/pkgconfig |
231 |
- doins ${pcname}.pc |
232 |
- for x in $*; do |
233 |
- alternatives_for ${x} ${pcname/-${x}} 0 \ |
234 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc |
235 |
- done |
236 |
-} |
237 |
- |
238 |
-# mkl_prof [_ilp64 or _lp64] |
239 |
-# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ |
240 |
-mkl_prof() { |
241 |
- local bits="" |
242 |
- if [[ ${IARCH} == intel64 ]]; then |
243 |
- bits=_lp64 |
244 |
- [[ ${1} == int64 ]] && bits=_ilp64 |
245 |
- fi |
246 |
- local gf="-Wl,--no-as-needed -Wl,--start-group -lmkl_gf${bits}" |
247 |
- local gc="-Wl,--no-as-needed -Wl,--start-group -lmkl_intel${bits}" |
248 |
- local intel="-Wl,--start-group -lmkl_intel${bits}" |
249 |
- local core="-lmkl_core -Wl,--end-group" |
250 |
- local prof=mkl${IARCH:((${#IARCH} - 2)):2} |
251 |
- [[ ${1} == int64 ]] && prof=${prof}-int64 |
252 |
- local libs |
253 |
- |
254 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
255 |
- mkl_add_prof ${prof}-gfortran blas lapack |
256 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
257 |
- mkl_add_prof ${prof}-intel blas lapack cblas lapacke |
258 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
259 |
- mkl_add_prof ${prof}-gfortran-openmp blas lapack |
260 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
261 |
- mkl_add_prof ${prof}-gcc-openmp cblas lapacke |
262 |
- libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ |
263 |
- mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke |
264 |
- libs="-lmkl_rt -lpthread" \ |
265 |
- mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke |
266 |
- libs="-lmkl_rt -liomp5 -lpthread" \ |
267 |
- mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke |
268 |
- |
269 |
- # blacs and scalapack |
270 |
- local scal="-lmkl_scalapack${bits:-_core}" |
271 |
- local blacs="-lmkl_blacs_intelmpi${bits}" |
272 |
- core="-lmkl_core ${blacs} -Wl,--end-group" |
273 |
- |
274 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
275 |
- mkl_add_prof ${prof}-gfortran-blacs blacs |
276 |
- libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ |
277 |
- mkl_add_prof ${prof}-gfortran-scalapack scalapack |
278 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
279 |
- mkl_add_prof ${prof}-intel-blacs blacs |
280 |
- libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ |
281 |
- mkl_add_prof ${prof}-intel-scalapack scalapack |
282 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
283 |
- mkl_add_prof ${prof}-gfortran-openmp-blacs blacs |
284 |
- libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
285 |
- mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack |
286 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
287 |
- mkl_add_prof ${prof}-gcc-openmp-blacs blacs |
288 |
- libs="${scal} ${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
289 |
- mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack |
290 |
- libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
291 |
- mkl_add_prof ${prof}-intel-openmp-blacs blacs |
292 |
- libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
293 |
- mkl_add_prof ${prof}-intel-openmp-scalapack scalapack |
294 |
- libs="-lmkl_rt ${blacs} -lpthread" \ |
295 |
- mkl_add_prof ${prof}-dynamic-blacs blacs |
296 |
- libs="${scal} -lmkl_rt ${blacs} -lpthread" \ |
297 |
- mkl_add_prof ${prof}-dynamic-scalapack scalapack |
298 |
- libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ |
299 |
- mkl_add_prof ${prof}-dynamic-openmp-blacs blacs |
300 |
- libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ |
301 |
- mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- intel-sdp_src_install |
306 |
- echo -n > 35mkl "LDPATH=" |
307 |
- for IARCH in ${INTEL_ARCH}; do |
308 |
- mkl_prof |
309 |
- sed -i -e '/mkl/s/$/:/' 35mkl |
310 |
- echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" |
311 |
- [[ ${IARCH} == intel64 ]] && mkl_prof int64 |
312 |
- done |
313 |
- echo >> 35mkl |
314 |
- doenvd 35mkl |
315 |
-} |
316 |
|
317 |
diff --git a/sci-libs/mkl/mkl-11.1.2.144-r1.ebuild b/sci-libs/mkl/mkl-11.1.2.144-r1.ebuild |
318 |
deleted file mode 100644 |
319 |
index 713999d..0000000 |
320 |
--- a/sci-libs/mkl/mkl-11.1.2.144-r1.ebuild |
321 |
+++ /dev/null |
322 |
@@ -1,143 +0,0 @@ |
323 |
-# Copyright 1999-2015 Gentoo Foundation |
324 |
-# Distributed under the terms of the GNU General Public License v2 |
325 |
-# $Id$ |
326 |
- |
327 |
-EAPI=5 |
328 |
- |
329 |
-INTEL_DPN=parallel_studio_xe |
330 |
-INTEL_DID=3949 |
331 |
-INTEL_DPV=2013_sp1_update2 |
332 |
-INTEL_SUBDIR=composerxe |
333 |
-INTEL_SINGLE_ARCH=false |
334 |
-INTEL_SKIP_LICENSE=true |
335 |
- |
336 |
-inherit intel-sdp multilib alternatives-2 |
337 |
- |
338 |
-DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions" |
339 |
-HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/" |
340 |
- |
341 |
-IUSE="" |
342 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
343 |
- |
344 |
-DEPEND="" |
345 |
-RDEPEND=">=dev-libs/intel-common-13" |
346 |
- |
347 |
-CHECKREQS_DISK_BUILD=2500M |
348 |
- |
349 |
-INTEL_BIN_RPMS=" |
350 |
- mkl mkl-devel |
351 |
- mkl-cluster mkl-cluster-devel |
352 |
- mkl-f95-devel |
353 |
- mkl-gnu mkl-gnu-devel |
354 |
- mkl-pgi mkl-pgi-devel" |
355 |
-# single arch packages |
356 |
-# mkl-mic mkl-mic-devel |
357 |
-# mkl-sp2dp mkl-sp2dp-devel |
358 |
-INTEL_DAT_RPMS="mkl-common mkl-cluster-common mkl-f95-common" |
359 |
- |
360 |
-src_prepare() { |
361 |
- chmod u+w -R opt |
362 |
-} |
363 |
- |
364 |
-mkl_add_prof() { |
365 |
- local pcname=${1} libs cflags x |
366 |
- shift |
367 |
- [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 |
368 |
- cat <<-EOF > ${pcname}.pc |
369 |
- prefix=${INTEL_SDP_EDIR}/mkl |
370 |
- libdir=\${prefix}/lib/${IARCH} |
371 |
- libdir_comp=${INTEL_SDP_EDIR}/compiler/lib/${IARCH} |
372 |
- includedir=\${prefix}/include |
373 |
- Name: ${pcname} |
374 |
- Description: ${DESCRIPTION} |
375 |
- Version: ${PV} |
376 |
- URL: ${HOMEPAGE} |
377 |
- Libs: -L\${libdir} -L\${libdir_comp} ${libs} |
378 |
- Cflags: -I\${includedir} ${cflags} |
379 |
- EOF |
380 |
- insinto /usr/$(get_libdir)/pkgconfig |
381 |
- doins ${pcname}.pc |
382 |
- for x in $*; do |
383 |
- alternatives_for ${x} ${pcname/-${x}} 0 \ |
384 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc |
385 |
- done |
386 |
-} |
387 |
- |
388 |
-# mkl_prof [_ilp64 or _lp64] |
389 |
-# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ |
390 |
-mkl_prof() { |
391 |
- local bits="" |
392 |
- if [[ ${IARCH} == intel64 ]]; then |
393 |
- bits=_lp64 |
394 |
- [[ ${1} == int64 ]] && bits=_ilp64 |
395 |
- fi |
396 |
- local gf="-Wl,--no-as-needed -Wl,--start-group -lmkl_gf${bits}" |
397 |
- local gc="-Wl,--no-as-needed -Wl,--start-group -lmkl_intel${bits}" |
398 |
- local intel="-Wl,--start-group -lmkl_intel${bits}" |
399 |
- local core="-lmkl_core -Wl,--end-group" |
400 |
- local prof=mkl${IARCH:((${#IARCH} - 2)):2} |
401 |
- [[ ${1} == int64 ]] && prof=${prof}-int64 |
402 |
- local libs |
403 |
- |
404 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
405 |
- mkl_add_prof ${prof}-gfortran blas lapack |
406 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
407 |
- mkl_add_prof ${prof}-intel blas lapack cblas lapacke |
408 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
409 |
- mkl_add_prof ${prof}-gfortran-openmp blas lapack |
410 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
411 |
- mkl_add_prof ${prof}-gcc-openmp cblas lapacke |
412 |
- libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ |
413 |
- mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke |
414 |
- libs="-lmkl_rt -lpthread" \ |
415 |
- mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke |
416 |
- libs="-lmkl_rt -liomp5 -lpthread" \ |
417 |
- mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke |
418 |
- |
419 |
- # blacs and scalapack |
420 |
- local scal="-lmkl_scalapack${bits:-_core}" |
421 |
- local blacs="-lmkl_blacs_intelmpi${bits}" |
422 |
- core="-lmkl_core ${blacs} -Wl,--end-group" |
423 |
- |
424 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
425 |
- mkl_add_prof ${prof}-gfortran-blacs blacs |
426 |
- libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ |
427 |
- mkl_add_prof ${prof}-gfortran-scalapack scalapack |
428 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
429 |
- mkl_add_prof ${prof}-intel-blacs blacs |
430 |
- libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ |
431 |
- mkl_add_prof ${prof}-intel-scalapack scalapack |
432 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
433 |
- mkl_add_prof ${prof}-gfortran-openmp-blacs blacs |
434 |
- libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
435 |
- mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack |
436 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
437 |
- mkl_add_prof ${prof}-gcc-openmp-blacs blacs |
438 |
- libs="${scal} ${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
439 |
- mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack |
440 |
- libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
441 |
- mkl_add_prof ${prof}-intel-openmp-blacs blacs |
442 |
- libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
443 |
- mkl_add_prof ${prof}-intel-openmp-scalapack scalapack |
444 |
- libs="-lmkl_rt ${blacs} -lpthread" \ |
445 |
- mkl_add_prof ${prof}-dynamic-blacs blacs |
446 |
- libs="${scal} -lmkl_rt ${blacs} -lpthread" \ |
447 |
- mkl_add_prof ${prof}-dynamic-scalapack scalapack |
448 |
- libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ |
449 |
- mkl_add_prof ${prof}-dynamic-openmp-blacs blacs |
450 |
- libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ |
451 |
- mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack |
452 |
-} |
453 |
- |
454 |
-src_install() { |
455 |
- intel-sdp_src_install |
456 |
- echo -n > 35mkl "LDPATH=" |
457 |
- for IARCH in ${INTEL_ARCH}; do |
458 |
- mkl_prof |
459 |
- sed -i -e '/mkl/s/$/:/' 35mkl |
460 |
- echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" |
461 |
- [[ ${IARCH} == intel64 ]] && mkl_prof int64 |
462 |
- done |
463 |
- echo >> 35mkl |
464 |
- doenvd 35mkl |
465 |
-} |