1 |
bicatali 07/12/27 19:35:25 |
2 |
|
3 |
Modified: blas-lapack.xml |
4 |
Log: |
5 |
added examples of working profiles |
6 |
|
7 |
Revision Changes Path |
8 |
1.3 xml/htdocs/proj/en/science/blas-lapack.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml?rev=1.3&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml?rev=1.3&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml?r1=1.2&r2=1.3 |
13 |
|
14 |
Index: blas-lapack.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml,v |
17 |
retrieving revision 1.2 |
18 |
retrieving revision 1.3 |
19 |
diff -u -r1.2 -r1.3 |
20 |
--- blas-lapack.xml 23 Oct 2007 14:14:53 -0000 1.2 |
21 |
+++ blas-lapack.xml 27 Dec 2007 19:35:25 -0000 1.3 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml,v 1.2 2007/10/23 14:14:53 markusle Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/science/blas-lapack.xml,v 1.3 2007/12/27 19:35:25 bicatali Exp $ --> |
27 |
|
28 |
<guide link="/proj/en/science/blas-lapack.xml"> |
29 |
<title>Using multiple versions of BLAS and LAPACK with Gentoo/Linux</title> |
30 |
@@ -183,7 +183,7 @@ |
31 |
</body> |
32 |
</section> |
33 |
<section> |
34 |
-<title>Switching libraries</title> |
35 |
+<title>Choosing libraries</title> |
36 |
<body> |
37 |
|
38 |
<p> |
39 |
@@ -218,8 +218,42 @@ |
40 |
<uri link="http://www.gentoo.org/proj/en/eselect/user-guide.xml">eselect guide</uri> |
41 |
</p> |
42 |
|
43 |
+<p> |
44 |
+When selecting blas, cblas or lapack profiles try to avoid mixing |
45 |
+different implementations since we don't have any mechanism to enforce |
46 |
+reasonable profiles. However, here is a list of well performing |
47 |
+profile combinations that have been used successfully in the past: |
48 |
+</p> |
49 |
+<ul> |
50 |
+ <li> Most CPUs: |
51 |
+ <ul> |
52 |
+ <li>blas,cblas: atlas (or atlas-threads with multi-processor)</li> |
53 |
+ <li>lapack:atlas</li> |
54 |
+ </ul> |
55 |
+ </li> |
56 |
+ <li> Most CPUs: |
57 |
+ <ul> |
58 |
+ <li>blas: goto </li> |
59 |
+ <li>cblas,lapack: reference</li> |
60 |
+ </ul> |
61 |
+ </li> |
62 |
+ <li> AMD based CPUs: |
63 |
+ <ul> |
64 |
+ <li>blas,lapack: acml-gfortran (or acml-gfortran-openmp with |
65 |
+ multi-processors) </li> |
66 |
+ <li>cblas: reference</li> |
67 |
+ </ul> |
68 |
+ </li> |
69 |
+ <li> Intel based CPUs: |
70 |
+ <ul> |
71 |
+ <li>blas,cblas,lapack: mkl-threads</li> |
72 |
+ </ul> |
73 |
+ </li> |
74 |
+</ul> |
75 |
+ |
76 |
</body> |
77 |
</section> |
78 |
+ |
79 |
<section> |
80 |
<title>Choosing a compiler</title> |
81 |
<body> |
82 |
@@ -245,17 +279,17 @@ |
83 |
</p> |
84 |
|
85 |
<p> |
86 |
-Some of the implementations let you specify the IntelĀ® C compiler as well. Please beware that |
87 |
-not all libraries compile with all combinations. |
88 |
-You should receive an error during the emerge in case you have |
89 |
-chosen |
90 |
-an incompatible combination. |
91 |
+Some of the implementations let you specify the IntelĀ® C compiler as |
92 |
+well. Please beware that not all libraries compile with all |
93 |
+combinations. You should receive an error during the emerge in case you have |
94 |
+chosen an incompatible combination. |
95 |
</p> |
96 |
|
97 |
<p> |
98 |
-As usual for Gentoo, there are many combinations of USE flags and compilers with |
99 |
-which you could compile a package. Unfortunately switching compilers between |
100 |
-BLAS and LAPACK might not be always compatible. For example: |
101 |
+As usual for Gentoo, there are many combinations of USE flags and |
102 |
+compilers with which you could compile a package. Unfortunately |
103 |
+switching compilers between BLAS and LAPACK might not be always |
104 |
+compatible. For example: |
105 |
</p> |
106 |
|
107 |
<pre caption="Incompatible combinations"> |
108 |
|
109 |
|
110 |
|
111 |
-- |
112 |
gentoo-commits@g.o mailing list |