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-1.0.0.post0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

gemseo_petsc-1.0.0.post0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file gemseo-petsc-1.0.0.post0.tar.gz.

File metadata

  • Download URL: gemseo-petsc-1.0.0.post0.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

Hashes for gemseo-petsc-1.0.0.post0.tar.gz
Algorithm Hash digest
SHA256 848a26427dea69a253df494970fb48601f59b1d79deeab084e3d293b78627313
MD5 50c2d3625f21b67babed5f0417da8bed
BLAKE2b-256 0dde0434d852e5ffef92069665135f08314cc8f5300cd6c4279b7999cee2ee90

See more details on using hashes here.

File details

Details for the file gemseo_petsc-1.0.0.post0-py3-none-any.whl.

File metadata

  • Download URL: gemseo_petsc-1.0.0.post0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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

Hashes for gemseo_petsc-1.0.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 7277b664b9cd1fb2d64726b2d921538fc1565ae9ae76bb8bc2817b870c4739bf
MD5 79fa83ef1fc7f9266af903a72b504e8f
BLAKE2b-256 10b847cefb259f14e4f61b174c191c4e83fac60087f2b52d5105dba3f7d3073c

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