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 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.22, 2024. http://dx.doi.org/10.2172/2205494, https://petsc.org/release/docs/manual/manual.pdf

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

Uploaded Source

File details

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

File metadata

  • Download URL: petsc4py-3.22.0.tar.gz
  • Upload date:
  • Size: 428.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for petsc4py-3.22.0.tar.gz
Algorithm Hash digest
SHA256 b35fc833d41c7969be8a530494fcc81741d77e0dc33fba2f4050cdbd0ad881ae
MD5 c7ccd58f982aa29258004db2b9cbd1c1
BLAKE2b-256 5c91519bcac1971fe6152e9ee3a7367f372f3c16d5cc6385dcdf3214a056cbc1

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