1PETSc for Python 2================ 3 4Python bindings for PETSc. 5 6Install 7------- 8 9If you have a working MPI implementation and the ``mpicc`` compiler 10wrapper is on your search path, it is highly recommended to install 11``mpi4py`` first:: 12 13 $ pip install mpi4py 14 15Ensure you have NumPy installed:: 16 17 $ pip install numpy 18 19and finally:: 20 21 $ pip install petsc petsc4py 22 23 24Citations 25--------- 26 27If PETSc for Python been significant to a project that leads to an 28academic publication, please acknowledge that fact by citing the 29project. 30 31* L. Dalcin, P. Kler, R. Paz, and A. Cosimo, 32 *Parallel Distributed Computing using Python*, 33 Advances in Water Resources, 34(9):1124-1139, 2011. 34 http://dx.doi.org/10.1016/j.advwatres.2011.04.013 35 36* S. Balay, S. Abhyankar, M. Adams, S. Benson, J. Brown, 37 P. Brune, K. Buschelman, E. Constantinescu, L. Dalcin, A. Dener, 38 V. Eijkhout, J. Faibussowitsch, W. Gropp, V. Hapla, T. Isaac, P. Jolivet, 39 D. Karpeyev, D. Kaushik, M. Knepley, F. Kong, S. Kruger, 40 D. May, L. Curfman McInnes, R. Mills, L. Mitchell, T. Munson, 41 J. Roman, K. Rupp, P. Sanan, J Sarich, B. Smith, H. Suh, 42 S. Zampini, H. Zhang, and H. Zhang, J. Zhang, 43 *PETSc/TAO Users Manual*, ANL-21/39 - Revision 3.24, 2025. 44 https://doi.org/10.2172/2998643, 45 https://petsc.org/release/docs/manual/manual.pdf 46