Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemseo-petsc-2.0.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

gemseo_petsc-2.0.0-py2.py3-none-any.whl (12.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gemseo-petsc-2.0.0.tar.gz.

File metadata

  • Download URL: gemseo-petsc-2.0.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for gemseo-petsc-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6d2bc5ee8765c48fae2dbbe301d7f43976a09741bdad6c244b56a05f5a9c14cc
MD5 0382f469a4c64dd7dab831ed2c1b4998
BLAKE2b-256 0b0f0a07b74625bc1244a1b19e90c6a060a8c2cef57ab1580f76d36d4f98b325

See more details on using hashes here.

File details

Details for the file gemseo_petsc-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gemseo_petsc-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 44833bee229e3b61c3effd8cd49aaad547ccba40403ca1e907ac503f94cfbef9
MD5 c4efcee83c050e22de3139ccaf64ceb4
BLAKE2b-256 bb0d3bbd4ebd7d09a1f8d42bb2bac7f9d2d442d2dba203c42a9eae1c6410d2e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page