<div dir="ltr">Yes, the variables are defined. Using setup.py gives the same error.<div>As a note, I am using a download of the master branch.<br><div><div>Mikhail Khodak</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 7:15 AM, Lisandro Dalcin <span dir="ltr"><<a href="mailto:dalcinl@gmail.com" target="_blank">dalcinl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23 June 2015 at 12:15, Mikhail Khodak <<a href="mailto:mkhodak@princeton.edu">mkhodak@princeton.edu</a>> wrote:<br>
> Thank you for reviewing this. The errors for the command 'pip2 install .'<br>
> inside the petsc4py directory are attached, along with the configure/make<br>
> logs for the PETSc build.<br>
> Best,<br>
> Mikhail Khodak<br>
><br>
<br>
</span>Not sure what's going on.<br>
<br>
Do you have PETSC_DIR and PETSC_ARCH in your environment?<br>
<br>
Does it work if you just do "python setup.py build" ?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Lisandro Dalcin<br>
============<br>
Research Scientist<br>
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)<br>
Numerical Porous Media Center (NumPor)<br>
King Abdullah University of Science and Technology (KAUST)<br>
<a href="http://numpor.kaust.edu.sa/" rel="noreferrer" target="_blank">http://numpor.kaust.edu.sa/</a><br>
<br>
4700 King Abdullah University of Science and Technology<br>
al-Khawarizmi Bldg (Bldg 1), Office # 4332<br>
Thuwal 23955-6900, Kingdom of Saudi Arabia<br>
<a href="http://www.kaust.edu.sa" rel="noreferrer" target="_blank">http://www.kaust.edu.sa</a><br>
<br>
Office Phone: <a href="tel:%2B966%2012%20808-0459" value="+966128080459">+966 12 808-0459</a><br>
</div></div></blockquote></div><br></div>