Lines Matching +full:petsc4py +full:- +full:install
6 Install from PyPI using **pip**
7 -------------------------------
9 You can use :program:`pip` to install :mod:`petsc4py` and its dependencies::
11 $ python -m pip install petsc petsc4py
13 Install from the PETSc source tree
14 ----------------------------------
20 $ python -m pip install src/binding/petsc4py
22 The installation of :mod:`petsc4py` supports multiple `PETSC_ARCH
25 $ PETSC_ARCH='arch-0:...:arch-N' python -m pip install src/binding/petsc4py
27 If you are cross-compiling, and the :mod:`numpy` module cannot be loaded on
32 $ export NUMPY_INCLUDE=/usr/lib/pythonX/site-packages/numpy/core/include
35 -------------------------
37 When installing from source, the petsc4py complete testsuite can be run as::
39 $ cd src/binding/petsc4py
44 $ make test -C src/binding/petsc4py
46 Specific tests can be run using the command-line option ``-k``, e.g.::
48 $ python test/runtests.py -k test_optdb
52 For other command-line options, run::
54 $ python test/runtests.py --help
60 $ mpiexec -n 4 python test/runtests.py
64 $ make test-4 -C src/binding/petsc4py
67 --------------------------
69 Install the documentation dependencies::
71 $ python -m pip install -r src/binding/petsc4py/conf/requirements-docs.txt
75 $ cd src/binding/petsc4py/docs/source