Verified Commit 8036c265 authored by Adel Kara Slimane's avatar Adel Kara Slimane
Browse files

Simplify install instructions

parent aa5b93b4
Pipeline #35692 passed with stages
in 5 minutes and 26 seconds
......@@ -5,8 +5,8 @@ Install and run
The requirements come from kwant and tkwant. `Install instructions <https://kwant-project.org/doc/1/pre/install>`_ from Kwant have been used to write a more thorough guide in what follows.
Packages for Ubuntu
~~~~~~~~~~~~~~~~~~~
Packages for Ubuntu (≥ 18.04)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Enable the “universe” and “multiverse” repositories: open an
application called “Software & updates”. In “Ubuntu Software” tab,
......@@ -15,12 +15,12 @@ Packages for Ubuntu
2. Install some additional packages
.. code:: shell
$ sudo apt install git cython3 g++ g++-7 libhwloc-dev libibverbs-dev libjs-jquery-ui libblas-dev libmumps-scotch-5.1.2 libnuma-dev libscotch-6.0 libstdc++-7-dev g++ gfortran libmumps-scotch-dev build-essential libopenblas-dev liblapack-dev librsb-dev
$ sudo apt install git cython3 g++ libhwloc-dev libibverbs-dev libblas-dev ~nlibmumps-scotch-* libnuma-dev ~nlibscotch-* ~nlibstdc++-*-dev gfortran libmumps-scotch-dev build-essential libopenblas-dev liblapack-dev
3. Install python dependencies
.. code:: shell
$ sudo apt install python3-pip ipython3 python3-mpi4py python3-dill python3-scipy python3-dev python3-setuptools python3-matplotlib python3-pytest python3-sympy python-matplotlib-data python3-cycler python3-dateutil python3-decorator python3-ipython python3-ipython-genutils python3-mpmath python3-pickleshare python3-prompt-toolkit python3-pygments python3-pyparsing python3-simplegeneric python3-traitlets python3-wcwidth
$ sudo apt install python3-pip python3-mpi4py python3-dill python3-scipy python3-dev python3-matplotlib python3-pytest python3-sympy python3-mpmath python3-pickleshare python3-prompt-toolkit python3-pygments python3-pyparsing python3-simplegeneric python3-traitlets
4. Install python virtualenv to be able to have python virtual environments:
.. code:: shell
......@@ -41,7 +41,7 @@ different names.
2. Python packages
.. code:: shell
$ sudo dnf install python3-pip python3-dill python3-Cython python3-devel python3-scipy python3-setuptools python3-matplotlib python3-pytest python3-sympy python3-cycler python3-dateutil python3-decorator python3-ipython python3-matplotlib python3-mpmath python3-pickleshare python3-pygments python3-pyparsing python3-simplegeneric python3-sympy python3-traitlets python3-wcwidth python3-configparser python3-mpi4py-mpich python3-mpi4py-openmpi``
$ sudo dnf install python3-pip python3-dill python3-Cython python3-devel python3-scipy python3-matplotlib python3-pytest python3-sympy python3-mpmath python3-pickleshare python3-pygments python3-pyparsing python3-simplegeneric python3-traitlets python3-configparser python3-mpi4py-mpich python3-mpi4py-openmpi``
3. Install python virtualenv to be able to have python virtual environments:
.. code:: shell
......@@ -155,7 +155,7 @@ To build locally the documentation of `tkwantoperator`, few additional (on top o
.. code:: shell
$ pip3 install sphinx, jupyter-sphinx
$ pip3 install sphinx jupyter-sphinx
The documentation can then be build directly in the ``doc`` folder of the
local tkwantoperator source code repository from the command line:
......
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