Skip to main content

PETSc for Python

Project description

Python bindings for PETSc.

Install

If you have a working MPI implementation and the mpicc compiler wrapper is on your search path, it highly recommended to install mpi4py first:

$ pip install mpi4py

Ensure you have NumPy installed:

$ pip install numpy

and finally:

$ pip install petsc petsc4py

You can also install the in-development version of petsc4py with:

$ pip install Cython numpy mpi4py
$ pip install --no-deps git+https://bitbucket.org/petsc/petsc
$ pip install --no-deps git+https://bitbucket.org/petsc/petsc4py

or:

$ pip install Cython numpy mpi4py
$ pip install --no-deps https://bitbucket.org/petsc/petsc/get/master.tar.gz
$ pip install --no-deps https://bitbucket.org/petsc/petsc4py/get/master.tar.gz

Citations

If PETSc for Python been significant to a project that leads to an academic publication, please acknowledge that fact by citing the project.

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

petsc4py-3.8.1.tar.gz (1.6 MB view details)

Uploaded Source

File details

Details for the file petsc4py-3.8.1.tar.gz.

File metadata

  • Download URL: petsc4py-3.8.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for petsc4py-3.8.1.tar.gz
Algorithm Hash digest
SHA256 d7b72c3337ddc56031d39d0b52d7f28b61ecc41b755ae853d23f34912b4f3c92
MD5 5157220c2b81765c581d2b17c03259f8
BLAKE2b-256 8779d771b9ffa9721eef8fb5a911123e84c04cb49d17e0ab072896a38d30f01a

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