PETSc GEMSEO interface.
Project description
gemseo-petsc
Overview
PETSc GEMSEO interface.
This plugin provides an interface to the PETSc linear solvers. They can be used for direct and adjoint linear system resolution in GEMSEO.
Installation
gemseo-petsc relies on petsc4py, the Python bindings for PETSc. PETSc and petsc4py are available on pypi, but no wheel are available. Hence, depending on the initial situation, here are our recommendations:
Linux environment
Using Conda
PETSc and petsc4py are available on the conda-forge repository. If you start from scratch of if you want to install the plugin in a pre-existing conda environment, you can use the following command in your current conda environment before installing gemseo-petsc:
conda install -c conda-forge petsc4py
Using pip
PETSc and petsc4py can be build from their sources by using pip. To do so, use the following commands in your Python environment.
pip install petsc petsc4py
By building PETSc and petsc4py from sources
It is also possible to build PETSc and petsc4py from the PETSc sources. To do so, please follow the information provided in the PETSc installation manual, and do not forget to enable the compilation of petsc4py.
Although it has not be tested, it is possible to build PETSc and petsc4py under a Windows environment, and hence to have the gemseo-petsc plugin working. A description of the procedure to build these dependencies can be found here
Bugs and questions
Please use the gitlab issue tracker to submit bugs or questions.
Contributing
See the contributing section of GEMSEO.
Contributors
- François Gallard
- Jean-Christophe Giret
- Antoine Dechaume
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file gemseo_petsc-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: gemseo_petsc-4.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40c45d062c11a6829e928135203e15aae1bd4011a703e9f0460d906915e5fb5 |
|
MD5 | 6e4277922ee5be29206cbae65ee42798 |
|
BLAKE2b-256 | 43d8ce87d1ccd8e4b556b1757ec47fad20da897eb24f8609a6b43a6ce529afef |