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.
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, 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.10, 2018. http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file petsc4py-3.10.0.tar.gz
.
File metadata
- Download URL: petsc4py-3.10.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.3.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d4bc6be668052a68dff311c0177171b9ceced69a398252c487f6ad9b790332 |
|
MD5 | d7744f611f455f777c198d0b4d325f21 |
|
BLAKE2b-256 | 45d67103ea2450a5d4171634a3cff5cfd87b535b08ee649b7049e0b230942a2f |