<div dir="ltr">Hello, I am trying to build petsc4py-3.5.1 using Cygwin on 64-bit Windows 7. I have built PETSc 3.5.4 with shared and dynamic libraries using mpich2-1.2.1 and successfully ran the installation tests. I am using Python 2.7 and NumPy 1.9.2 and have installed mpi4py. However, when I attempt to install petsc4py (both with pip and distutils) I get a mpicc compiler error due to undefined references/symbols. I have attached the output of running<div><br><div>pip install petsc petsc4py --allow-external petsc --allow-external petsc4py</div><div><br></div><div>Thank you in advance for any help,</div><div>Mikhail Khodak</div></div></div>