summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDaniël de Kok <me@danieldk.eu>2020-08-10 15:47:38 +0200
committerDaniël de Kok <me@danieldk.eu>2020-08-10 15:47:38 +0200
commit14ac67cbb3156659c26ad69be743802701e9341b (patch)
treedca53ac5be79d7d71e41ccc85108191497955fea /doc
parent8ffc74313eb930c649a85375bdc89ad5add7566f (diff)
doc/using/overlays.xml: fix some small glitches
Diffstat (limited to 'doc')
-rw-r--r--doc/using/overlays.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/using/overlays.xml b/doc/using/overlays.xml
index 7f7c8bc42b55..7f6ee040c7c7 100644
--- a/doc/using/overlays.xml
+++ b/doc/using/overlays.xml
@@ -178,7 +178,7 @@ self: super:
<para>
<link
xlink:href="https://software.intel.com/en-us/mkl">Intel
- MKL</link> (only works on x86 architecture, unfree)
+ MKL</link> (only works on the x86_64 architecture, unfree)
</para>
<para>
The Nixpkgs attribute is <literal>mkl</literal>.
@@ -201,16 +201,17 @@ self: super:
<para>
Introduced in <link
xlink:href="https://github.com/NixOS/nixpkgs/pull/83888">PR
- #83888</link>, we are able to override the ‘blas’ and ‘lapack’
- packages to use different implementations, through the
- ‘blasProvider’ and ‘lapackProvider’ argument. This can be used
+ #83888</link>, we are able to override the <literal>blas</literal>
+ and <literal>lapack</literal> packages to use different implementations,
+ through the <literal>blasProvider</literal> and
+ <literal>lapackProvider</literal> argument. This can be used
to select a different provider. BLAS providers will have
symlinks in <literal>$out/lib/libblas.so.3</literal> and
<literal>$out/lib/libcblas.so.3</literal> to their respective
BLAS libraries. Likewise, LAPACK providers will have symlinks
in <literal>$out/lib/liblapack.so.3</literal> and
<literal>$out/lib/liblapacke.so.3</literal> to their respective
- LAPCK libraries. For example, Intel MKL is both a BLAS and
+ LAPACK libraries. For example, Intel MKL is both a BLAS and
LAPACK provider. An overlay can be created to use Intel MKL
that looks like:
</para>
@@ -229,8 +230,9 @@ self: super:
<para>
This overlay uses Intel’s MKL library for both BLAS and LAPACK
interfaces. Note that the same can be accomplished at runtime
- using <literal>LD_LIBRARY_PATH</literal> of libblas.so.3 and
- liblapack.so.3. For instance:
+ using <literal>LD_LIBRARY_PATH</literal> of
+ <literal>libblas.so.3</literal> and
+ <literal>liblapack.so.3</literal>. For instance:
</para>
<programlisting>
$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave