File: README.Debian

package info (click to toggle)
slepc4py 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,760 kB
  • sloc: python: 6,916; makefile: 129; ansic: 98; sh: 46
file content (39 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Alternative SLEPc builds for slepc4py
=====================================

slepc4py is available for python3 with support for 
real numbers (python3-slepc4py-real)
and complex numbers (python3-slepc4py-complex).

Either build is accessible at runtime.  By default slepc4py uses the
default SLEPc build set in /usr/lib/slepc (which can be selected with
"update-alternatives --config slepc")

Other SLEPc builds can be selected at runtime by setting (or exporting)
the SLEPC_DIR environment variable.

Examples include:

SLEPC_DIR=/usr/lib/slepcdir/slepc-real
 selects the preferred real-number version of SLEPc, by default the
 latest version, but can be selected with
 "update-alternatives --config libslepc_real.so"

SLEPC_DIR=/usr/lib/slepcdir/slepc-complex
 selects the preferred complex-number version of SLEPc, by default the
 latest version, but can be selected with
 "update-alternatives --config libslepc_complex.so"


Specific SLEPc versions and builds as found under /usr/lib/slepcdir
(or elsewhere) can also be selected with SLEPC_DIR.


For example,
  SLEPC_DIR=/usr/lib/slepcdir/slepc-complex python3 -c "import slepc4py; print(slepc4py.__path__)"
prints the path to the slepc4py module built against the preferred
complex-number build of SLEPc.


The PETSC_DIR environment variable corresponding to the given
SLEPC_DIR should also be set, of course.