PETSc GEMSEO interface
Project description
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.
Windows environment
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/Questions
Bugs can be reported in the PETSc GEMSEO interface issue tracker.
License
The gemseo-petsc plugin is licensed under the GNU Lesser General Public License v3
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 Distribution
Built Distribution
File details
Details for the file gemseo-petsc-1.0.0.tar.gz
.
File metadata
- Download URL: gemseo-petsc-1.0.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad37d728cc8c6a0be51d6cef9bd85931662e847ed6de148853f4bd6b0702c695 |
|
MD5 | 065473f735e0acac5cf37a7d4134dd0d |
|
BLAKE2b-256 | ee24f2bc6130d6ace1eca888c9895e930a08a3f233cfbab02049402d60be4e1d |
File details
Details for the file gemseo_petsc-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: gemseo_petsc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19d04bb53bdca605758a514e05932b1d05fc25ff5fc4d3b73423d6405fd99394 |
|
MD5 | b998e46327ab118f0fabd6f293757b72 |
|
BLAKE2b-256 | 3296817585a2cd0fe6a718a89294b840958212bdf404c77b44254fab20b34931 |