You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`io4dolfinx` has some optional dependencies for specific backends (like ADIOS2 or H5PY). If you want to use these backends, you can install the library with the appropriate extras:
10
10
11
11
- Test dependencies (for running the test suite):
12
+
12
13
```bash
13
14
python3 -m pip install "io4dolfinx[test]"
14
15
```
15
16
16
17
- Documentation dependencies (for building the docs):
18
+
17
19
```bash
18
20
python3 -m pip install "io4dolfinx[docs]"
19
21
```
20
22
21
23
- For HDF5 support with MPI, you need to have an HDF5 library installed with MPI support, and the `h5py` Python package installed with MPI support. You can install `h5py` with MPI support using pip:
24
+
22
25
```bash
23
26
python3 -m pip install --no-binary=h5py h5py
24
27
```
25
28
26
29
- For pyvista support, you can install the `pyvista` package:
30
+
27
31
```bash
28
32
python3 -m pip install pyvista
29
33
```
34
+
30
35
or equivalently
36
+
31
37
```bash
32
38
python3 -m pip install "io4dolfinx[pyvista]"
33
39
```
34
40
35
-
- For ADIOS2 support you should have ADIOS2 installed with Python bindings, see https://adios2.readthedocs.io/en/latest/setting_up/setting_up.html for more info.
36
-
41
+
- For ADIOS2 support you should have ADIOS2 installed with Python bindings, see https://adios2.readthedocs.io/en/latest/setting_up/setting_up.html for more info.
37
42
38
43
## Spack
39
44
40
-
TBW
45
+
The FEniCS Spack packages uses a separate [spack repo](https://github.com/FEniCS/spack-fenics) to be possible to maintain and keep up to date.
46
+
We do the same for the [packages](https://github.com/scientificcomputing/spack_repos.git) maintained by Scientific Computing at Simula Research Laboratory.
47
+
To install `py-io4dolfinx`, one should first install spack on your system, then use the following commands in a new spack environment:
to get an installation of `io4dolfinx` with all backends installed. If you require further petsc packages you should activate them by adding them to `^petsc+....`.
56
+
See [Spack PETSc](https://packages.spack.io/package.html?name=petsc) for options.
0 commit comments