<div dir="ltr"><div><div>I am working on 5 different machines and didn't keep good track of which machines had which petsc versions. The machine in question did not have the latest petsc 3.6.1 which was causing the problems. Rebuilding from petsc-dev did the trick, thanks for the help guys.<br><br></div>Justin<br><br></div>PS - Every time I do a git pull of the latest petsc4py, i always have to apply Satish's patch in order to avoid the issue originally posted. Is there a way to update petsc4py master such that it conforms to the latest <span>PetscSectionCreateGlobalSection() format?<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 25, 2015 at 4:44 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 25 July 2015 at 00:12, Justin Chang <<a href="mailto:jychang48@gmail.com">jychang48@gmail.com</a>> wrote:<br>
> ImportError:<br>
> /usr/local/lib/python2.7/dist-packages/petsc4py/lib/arch-linux2-c-opt/PETSc.so:<br>
> undefined symbol: DMShellSetCreateSubDM<br>
> make: *** [unit_sequential] Error 1<br>
<br>
<br>
</span>You need to git pull in branch master of petsc-dev and rebuild.<br>
<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>
</blockquote></div><br></div>