Skip to main content

Python bindings for PETSc.

Install

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

$ pip install mpi4py

Ensure you have NumPy installed:

$ pip install numpy

and finally:

$ pip install petsc petsc4py

Citations

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

  • L. Dalcin, P. Kler, R. Paz, and A. Cosimo, Parallel Distributed Computing using Python, Advances in Water Resources, 34(9):1124-1139, 2011. http://dx.doi.org/10.1016/j.advwatres.2011.04.013

  • S. Balay, S. Abhyankar, M. Adams, S. Benson, J. Brown, P. Brune, K. Buschelman, E. Constantinescu, L. Dalcin, A. Dener, V. Eijkhout, J. Faibussowitsch, W. Gropp, V. Hapla, T. Isaac, P. Jolivet, D. Karpeyev, D. Kaushik, M. Knepley, F. Kong, S. Kruger, D. May, L. Curfman McInnes, R. Mills, L. Mitchell, T. Munson, J. Roman, K. Rupp, P. Sanan, J Sarich, B. Smith, H. Suh, S. Zampini, H. Zhang, and H. Zhang, J. Zhang, PETSc/TAO Users Manual, ANL-21/39 - Revision 3.25, 2026. https://doi.org/10.2172/2998643, https://petsc.org/release/docs/manual/manual.pdf

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.25.5.tar.gz (487.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: petsc4py-3.25.5.tar.gz
  • Upload date:
  • Size: 487.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.7

File hashes

Hashes for petsc4py-3.25.5.tar.gz
Algorithm Hash digest
SHA256 a542fcdcd9471f49e996ee251461a81bf0645e299701de45a9433adee94b4489
MD5 c2feceba426a2c18cc6fb2a5d46fc39d
BLAKE2b-256 938ee74cbd55d455903ca5256b2dee9364704851c669237e3c54c88a1ae07ffb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.25.5 This release

1 file

3.25.4

1 file

3.25.3

1 file

3.25.2

1 file

3.25.1

1 file

3.25.0

1 file

3.24.6

1 file

3.24.5

1 file

3.24.4

1 file

3.24.3

1 file

3.24.2

1 file

3.24.1

1 file

3.24.0

1 file

3.23.7

1 file

3.23.6

1 file

3.23.5

1 file

3.23.4

1 file

3.23.3

1 file

3.23.2

1 file

3.23.1

1 file

3.23.0

1 file

3.22.5

1 file

3.22.4

1 file

3.22.3

1 file

3.22.2

1 file

3.22.1

1 file

3.22.0

1 file

3.21.6

1 file

3.21.5

1 file

3.21.4

1 file

3.21.3

1 file

3.21.2

1 file

3.21.1

1 file

3.21.0

1 file

3.20.5

1 file

3.20.4

1 file

3.20.3

1 file

3.20.2

1 file

3.20.1

1 file

3.20.0

1 file

3.19.6

1 file

3.19.5

1 file

3.19.4

1 file

3.19.2

1 file

3.19.1

1 file

3.19.0

1 file

3.18.5

1 file

3.18.4

1 file

3.18.3

1 file

3.18.2

1 file

3.18.1

1 file

3.18.0

1 file

3.17.4

1 file

3.17.3

1 file

3.17.2

1 file

3.17.1

1 file

3.17.0

1 file

3.16.6

1 file

3.16.5

1 file

3.16.4

1 file

3.16.3

1 file

3.16.2

1 file

3.16.1

1 file

3.16.0

1 file

3.15.1

1 file

3.15.0

1 file

3.14.1

1 file

3.14.0

1 file

3.13.0

1 file

3.12.0

1 file

3.11.0

1 file

3.10.1

1 file

3.10.0

1 file

3.9.1

1 file

3.9.0

1 file

3.8.1

1 file

3.8.0

1 file

3.7.0

1 file

3.6.0

1 file

3.5.1

3.5

3.4

3.3.1

3.3

1.2

1.1.2

1.1.1

1.1

1.0.3

1.0.2

1.0.1

0.7.5

0.7.4

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.3

1 file

0.6.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page