1 |
commit: 4365a7e8057253240533488ba47502419d1488b6 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 21 17:38:49 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 21 17:39:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4365a7e8 |
7 |
|
8 |
sci-libs/mkl: remove old 2015 ebuilds |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
sci-libs/mkl/mkl-11.2.0.090-r1.ebuild | 143 --------------------------------- |
13 |
sci-libs/mkl/mkl-11.2.1.133-r1.ebuild | 145 ---------------------------------- |
14 |
sci-libs/mkl/mkl-11.2.2.164-r1.ebuild | 145 ---------------------------------- |
15 |
3 files changed, 433 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/mkl/mkl-11.2.0.090-r1.ebuild b/sci-libs/mkl/mkl-11.2.0.090-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index ee8fc54..0000000 |
20 |
--- a/sci-libs/mkl/mkl-11.2.0.090-r1.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=4584 |
31 |
-INTEL_DPV=2015 |
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.2.1.133-r1.ebuild b/sci-libs/mkl/mkl-11.2.1.133-r1.ebuild |
168 |
deleted file mode 100644 |
169 |
index 695a551..0000000 |
170 |
--- a/sci-libs/mkl/mkl-11.2.1.133-r1.ebuild |
171 |
+++ /dev/null |
172 |
@@ -1,145 +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=4992 |
181 |
-INTEL_DPV=2015_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 |
- ) |
206 |
-INTEL_AMD64_RPMS=( |
207 |
- mkl-mic mkl-mic-devel |
208 |
- mkl-sp2dp mkl-sp2dp-devel |
209 |
- ) |
210 |
-INTEL_DAT_RPMS=(mkl-common mkl-cluster-common mkl-f95-common) |
211 |
- |
212 |
-src_prepare() { |
213 |
- chmod u+w -R opt |
214 |
-} |
215 |
- |
216 |
-mkl_add_prof() { |
217 |
- local pcname=${1} libs cflags x |
218 |
- shift |
219 |
- [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 |
220 |
- cat <<-EOF > ${pcname}.pc |
221 |
- prefix=${INTEL_SDP_EDIR}/mkl |
222 |
- libdir=\${prefix}/lib/${IARCH} |
223 |
- libdir_comp=${INTEL_SDP_EDIR}/compiler/lib/${IARCH} |
224 |
- includedir=\${prefix}/include |
225 |
- Name: ${pcname} |
226 |
- Description: ${DESCRIPTION} |
227 |
- Version: ${PV} |
228 |
- URL: ${HOMEPAGE} |
229 |
- Libs: -L\${libdir} -L\${libdir_comp} ${libs} |
230 |
- Cflags: -I\${includedir} ${cflags} |
231 |
- EOF |
232 |
- insinto /usr/$(get_libdir)/pkgconfig |
233 |
- doins ${pcname}.pc |
234 |
- for x in $*; do |
235 |
- alternatives_for ${x} ${pcname/-${x}} 0 \ |
236 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc |
237 |
- done |
238 |
-} |
239 |
- |
240 |
-# mkl_prof [_ilp64 or _lp64] |
241 |
-# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ |
242 |
-mkl_prof() { |
243 |
- local bits="" |
244 |
- if [[ ${IARCH} == intel64 ]]; then |
245 |
- bits=_lp64 |
246 |
- [[ ${1} == int64 ]] && bits=_ilp64 |
247 |
- fi |
248 |
- local gf="-Wl,--no-as-needed -Wl,--start-group -lmkl_gf${bits}" |
249 |
- local gc="-Wl,--no-as-needed -Wl,--start-group -lmkl_intel${bits}" |
250 |
- local intel="-Wl,--start-group -lmkl_intel${bits}" |
251 |
- local core="-lmkl_core -Wl,--end-group" |
252 |
- local prof=mkl${IARCH:((${#IARCH} - 2)):2} |
253 |
- [[ ${1} == int64 ]] && prof=${prof}-int64 |
254 |
- local libs |
255 |
- |
256 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
257 |
- mkl_add_prof ${prof}-gfortran blas lapack |
258 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
259 |
- mkl_add_prof ${prof}-intel blas lapack cblas lapacke |
260 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
261 |
- mkl_add_prof ${prof}-gfortran-openmp blas lapack |
262 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
263 |
- mkl_add_prof ${prof}-gcc-openmp cblas lapacke |
264 |
- libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ |
265 |
- mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke |
266 |
- libs="-lmkl_rt -lpthread" \ |
267 |
- mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke |
268 |
- libs="-lmkl_rt -liomp5 -lpthread" \ |
269 |
- mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke |
270 |
- |
271 |
- # blacs and scalapack |
272 |
- local scal="-lmkl_scalapack${bits:-_core}" |
273 |
- local blacs="-lmkl_blacs_intelmpi${bits}" |
274 |
- core="-lmkl_core ${blacs} -Wl,--end-group" |
275 |
- |
276 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
277 |
- mkl_add_prof ${prof}-gfortran-blacs blacs |
278 |
- libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ |
279 |
- mkl_add_prof ${prof}-gfortran-scalapack scalapack |
280 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
281 |
- mkl_add_prof ${prof}-intel-blacs blacs |
282 |
- libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ |
283 |
- mkl_add_prof ${prof}-intel-scalapack scalapack |
284 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
285 |
- mkl_add_prof ${prof}-gfortran-openmp-blacs blacs |
286 |
- libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
287 |
- mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack |
288 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
289 |
- mkl_add_prof ${prof}-gcc-openmp-blacs blacs |
290 |
- libs="${scal} ${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
291 |
- mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack |
292 |
- libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
293 |
- mkl_add_prof ${prof}-intel-openmp-blacs blacs |
294 |
- libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
295 |
- mkl_add_prof ${prof}-intel-openmp-scalapack scalapack |
296 |
- libs="-lmkl_rt ${blacs} -lpthread" \ |
297 |
- mkl_add_prof ${prof}-dynamic-blacs blacs |
298 |
- libs="${scal} -lmkl_rt ${blacs} -lpthread" \ |
299 |
- mkl_add_prof ${prof}-dynamic-scalapack scalapack |
300 |
- libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ |
301 |
- mkl_add_prof ${prof}-dynamic-openmp-blacs blacs |
302 |
- libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ |
303 |
- mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack |
304 |
-} |
305 |
- |
306 |
-src_install() { |
307 |
- intel-sdp_src_install |
308 |
- echo -n > 35mkl "LDPATH=" |
309 |
- for IARCH in ${INTEL_ARCH}; do |
310 |
- mkl_prof |
311 |
- sed -i -e '/mkl/s/$/:/' 35mkl |
312 |
- echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" |
313 |
- [[ ${IARCH} == intel64 ]] && mkl_prof int64 |
314 |
- done |
315 |
- echo >> 35mkl |
316 |
- doenvd 35mkl |
317 |
-} |
318 |
|
319 |
diff --git a/sci-libs/mkl/mkl-11.2.2.164-r1.ebuild b/sci-libs/mkl/mkl-11.2.2.164-r1.ebuild |
320 |
deleted file mode 100644 |
321 |
index 836b39d..0000000 |
322 |
--- a/sci-libs/mkl/mkl-11.2.2.164-r1.ebuild |
323 |
+++ /dev/null |
324 |
@@ -1,145 +0,0 @@ |
325 |
-# Copyright 1999-2015 Gentoo Foundation |
326 |
-# Distributed under the terms of the GNU General Public License v2 |
327 |
-# $Id$ |
328 |
- |
329 |
-EAPI=5 |
330 |
- |
331 |
-INTEL_DPN=parallel_studio_xe |
332 |
-INTEL_DID=5207 |
333 |
-INTEL_DPV=2015_update2 |
334 |
-INTEL_SUBDIR=composerxe |
335 |
-INTEL_SINGLE_ARCH=false |
336 |
-INTEL_SKIP_LICENSE=true |
337 |
- |
338 |
-inherit intel-sdp multilib alternatives-2 |
339 |
- |
340 |
-DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions" |
341 |
-HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/" |
342 |
- |
343 |
-IUSE="" |
344 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
345 |
- |
346 |
-DEPEND="" |
347 |
-RDEPEND=">=dev-libs/intel-common-15" |
348 |
- |
349 |
-CHECKREQS_DISK_BUILD=2500M |
350 |
- |
351 |
-INTEL_BIN_RPMS=( |
352 |
- mkl mkl-devel |
353 |
- mkl-cluster mkl-cluster-devel |
354 |
- mkl-f95-devel |
355 |
- mkl-gnu mkl-gnu-devel |
356 |
- mkl-pgi mkl-pgi-devel |
357 |
- ) |
358 |
-INTEL_AMD64_RPMS=( |
359 |
- mkl-mic mkl-mic-devel |
360 |
- mkl-sp2dp mkl-sp2dp-devel |
361 |
- ) |
362 |
-INTEL_DAT_RPMS=(mkl-common mkl-cluster-common mkl-f95-common) |
363 |
- |
364 |
-src_prepare() { |
365 |
- chmod u+w -R opt |
366 |
-} |
367 |
- |
368 |
-mkl_add_prof() { |
369 |
- local pcname=${1} libs cflags x |
370 |
- shift |
371 |
- [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 |
372 |
- cat <<-EOF > ${pcname}.pc |
373 |
- prefix=${INTEL_SDP_EDIR}/mkl |
374 |
- libdir=\${prefix}/lib/${IARCH} |
375 |
- libdir_comp=${INTEL_SDP_EDIR}/compiler/lib/${IARCH} |
376 |
- includedir=\${prefix}/include |
377 |
- Name: ${pcname} |
378 |
- Description: ${DESCRIPTION} |
379 |
- Version: ${PV} |
380 |
- URL: ${HOMEPAGE} |
381 |
- Libs: -L\${libdir} -L\${libdir_comp} ${libs} |
382 |
- Cflags: -I\${includedir} ${cflags} |
383 |
- EOF |
384 |
- insinto /usr/$(get_libdir)/pkgconfig |
385 |
- doins ${pcname}.pc |
386 |
- for x in $*; do |
387 |
- alternatives_for ${x} ${pcname/-${x}} 0 \ |
388 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc |
389 |
- done |
390 |
-} |
391 |
- |
392 |
-# mkl_prof [_ilp64 or _lp64] |
393 |
-# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ |
394 |
-mkl_prof() { |
395 |
- local bits="" |
396 |
- if [[ ${IARCH} == intel64 ]]; then |
397 |
- bits=_lp64 |
398 |
- [[ ${1} == int64 ]] && bits=_ilp64 |
399 |
- fi |
400 |
- local gf="-Wl,--no-as-needed -Wl,--start-group -lmkl_gf${bits}" |
401 |
- local gc="-Wl,--no-as-needed -Wl,--start-group -lmkl_intel${bits}" |
402 |
- local intel="-Wl,--start-group -lmkl_intel${bits}" |
403 |
- local core="-lmkl_core -Wl,--end-group" |
404 |
- local prof=mkl${IARCH:((${#IARCH} - 2)):2} |
405 |
- [[ ${1} == int64 ]] && prof=${prof}-int64 |
406 |
- local libs |
407 |
- |
408 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
409 |
- mkl_add_prof ${prof}-gfortran blas lapack |
410 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
411 |
- mkl_add_prof ${prof}-intel blas lapack cblas lapacke |
412 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
413 |
- mkl_add_prof ${prof}-gfortran-openmp blas lapack |
414 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
415 |
- mkl_add_prof ${prof}-gcc-openmp cblas lapacke |
416 |
- libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ |
417 |
- mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke |
418 |
- libs="-lmkl_rt -lpthread" \ |
419 |
- mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke |
420 |
- libs="-lmkl_rt -liomp5 -lpthread" \ |
421 |
- mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke |
422 |
- |
423 |
- # blacs and scalapack |
424 |
- local scal="-lmkl_scalapack${bits:-_core}" |
425 |
- local blacs="-lmkl_blacs_intelmpi${bits}" |
426 |
- core="-lmkl_core ${blacs} -Wl,--end-group" |
427 |
- |
428 |
- libs="${gf} -lmkl_sequential ${core} -lpthread" \ |
429 |
- mkl_add_prof ${prof}-gfortran-blacs blacs |
430 |
- libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ |
431 |
- mkl_add_prof ${prof}-gfortran-scalapack scalapack |
432 |
- libs="${intel} -lmkl_sequential ${core} -lpthread" \ |
433 |
- mkl_add_prof ${prof}-intel-blacs blacs |
434 |
- libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ |
435 |
- mkl_add_prof ${prof}-intel-scalapack scalapack |
436 |
- libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
437 |
- mkl_add_prof ${prof}-gfortran-openmp-blacs blacs |
438 |
- libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
439 |
- mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack |
440 |
- libs="${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
441 |
- mkl_add_prof ${prof}-gcc-openmp-blacs blacs |
442 |
- libs="${scal} ${gc} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ |
443 |
- mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack |
444 |
- libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
445 |
- mkl_add_prof ${prof}-intel-openmp-blacs blacs |
446 |
- libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ |
447 |
- mkl_add_prof ${prof}-intel-openmp-scalapack scalapack |
448 |
- libs="-lmkl_rt ${blacs} -lpthread" \ |
449 |
- mkl_add_prof ${prof}-dynamic-blacs blacs |
450 |
- libs="${scal} -lmkl_rt ${blacs} -lpthread" \ |
451 |
- mkl_add_prof ${prof}-dynamic-scalapack scalapack |
452 |
- libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ |
453 |
- mkl_add_prof ${prof}-dynamic-openmp-blacs blacs |
454 |
- libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ |
455 |
- mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack |
456 |
-} |
457 |
- |
458 |
-src_install() { |
459 |
- intel-sdp_src_install |
460 |
- echo -n > 35mkl "LDPATH=" |
461 |
- for IARCH in ${INTEL_ARCH}; do |
462 |
- mkl_prof |
463 |
- sed -i -e '/mkl/s/$/:/' 35mkl |
464 |
- echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" |
465 |
- [[ ${IARCH} == intel64 ]] && mkl_prof int64 |
466 |
- done |
467 |
- echo >> 35mkl |
468 |
- doenvd 35mkl |
469 |
-} |