Commit 9c97cc92 authored by Sergey Litvinov's avatar Sergey Litvinov
Browse files

minor

parent 3373d3c8
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
updated 08 May 2018 updated 08 May 2018
uDeviceX requires libraries and command line tools. In the following uDeviceX requires libraries and command line tools. In the following
the library are installed in '$HOME/prefix' and command line tools are the library are installed in `$HOME/prefix` and command line tools are
in '$HOME/bin'. in `$HOME/bin`.
== Install necessary libraries == Install necessary libraries
...@@ -19,10 +19,11 @@ make ...@@ -19,10 +19,11 @@ make
make install make install
---- ----
Also add the last line (export ...) to ~/.bashrc file. Also add the last line (export ...) to `$HOME/.profile` file.
[source, shell] [source, shell]
---- ----
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/prefix/libconfig/lib/pkgconfig PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/prefix/libconfig/lib/pkgconfig
export PKG_CONFIG_PATH
---- ----
=== atest === atest
......
= comm unit = comm unit
:lext: .adoc :lext: .adoc
a send/recv unit with the 26 neighbors using link:../dev/modules/comm{lext}[comm module] a send/recv unit with the 26 neighbors using
link:../dev/modules/comm{lext}[comm module]
...@@ -6,6 +6,7 @@ a unit to test linear algebra functions ...@@ -6,6 +6,7 @@ a unit to test linear algebra functions
Run from src/ Run from src/
[source, shell]
---- ----
u.conf0 u/linal u.conf0 u/linal
---- ----
...@@ -14,12 +15,13 @@ u.conf0 u/linal ...@@ -14,12 +15,13 @@ u.conf0 u/linal
Invert symmetric 3x3 matrix Invert symmetric 3x3 matrix
[source, shell]
---- ----
u.run ./udx -- 2 1 5 3 4 -2 u.run ./udx -- 2 1 5 3 4 -2
2.857143e-01 -2.857143e-01 1.428571e-01 3.766234e-01 3.896104e-02 -6.493507e-02 2.857143e-01 -2.857143e-01 1.428571e-01 3.766234e-01 3.896104e-02 -6.493507e-02
---- ----
compare to octave/matlab compare to 'octave/matlab'
---- ----
>> C = [2,1,5;1,3,4;5,4,-2] >> C = [2,1,5;1,3,4;5,4,-2]
>> C^(-1) >> C^(-1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment