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://gitlab.com/petsc/petsc $ pip install --no-deps git+https://gitlab.com/petsc/petsc4py
or:
$ pip install Cython numpy mpi4py $ pip install --no-deps https://gitlab.com/petsc/petsc/-/archive/master.tar.gz $ pip install --no-deps https://gitlab.com/petsc/petsc4py/-/archive/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.
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, J. Brown, P. Brune, K. Buschelman, L. Dalcin, A. Dener, V. Eijkhout, W. Gropp, D. Karpeyev, D. Kaushik, M. Knepley, D. May, L. Curfman McInnes, R. Mills, T. Munson, K. Rupp, P. Sanan, B. Smith, S. Zampini, H. Zhang, and H. Zhang, PETSc Users Manual, ANL-95/11 - Revision 3.14, 2020. http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf
Release files for petsc4py 3.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| petsc4py-3.14.1.tar.gz | 2.1 MB | Details |
Release files / petsc4py-3.14.1.tar.gz
| Download URL | petsc4py-3.14.1.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5f8daf3a4cd1dfc945876b0d83a05b25f3c54e08046312eaa3e3036b24139c0
|
|
BLAKE2b-256 checksum How to use checksums |
c173604fe37a9305586ad13807ffc81f2a0535f5c0a2cd2c615f248f769374c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.1
|