<div dir="ltr">Dear Mr. Barry and Mr. Lisandro,<div><br></div><div>Thank you very much for the help. I tried installing PETSc4Py independently after installing PETSc and it seems working.</div><div><br></div><div>Best regards,</div>
<div>Amal<br><br><div class="gmail_quote">On Sun, Jun 13, 2010 at 3:38 AM, Lisandro Dalcin <span dir="ltr">&lt;<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 12 June 2010 20:45, Amal Alghamdi &lt;<a href="mailto:amal.ghamdi@kaust.edu.sa">amal.ghamdi@kaust.edu.sa</a>&gt; wrote:<br>
&gt; Dear All,<br>
&gt; I have Mac OS 10.6 and I&#39;d like to ask if any one have tried using PETSc4Py<br>
&gt; with Enthough Python Distribution, EPD. I have tried to build PETSc with the<br>
&gt; option --download-petsc4py but it complained that I am not using the system<br>
&gt; python<br>
&gt; realpath of /usr/lib/libpython.dylib<br>
&gt; (/System/Library/Frameworks/Python.framework/Versions/2.6/Python) does not<br>
&gt; point to Python library path<br>
&gt; (/Library/Frameworks/Python.framework/Versions/6.1/Python) for current<br>
&gt; Python;<br>
&gt;  Are you not using the Apple python?<br>
&gt; Does that mean I should use Apple python or there is a way to make PETSc4Py<br>
&gt; works on EPD.<br>
&gt; Thank you very much<br>
&gt; Amal<br>
<br>
</div></div>You could also try to build petsc4py independently, after building<br>
core PETSc. Just download the tarball release, export PETSC_DIR=...<br>
PETSC_ARCH=..., and then &quot;python setup.py build&quot;. Note however that<br>
you may still run into trouble in this OS X + EPD Python combination.<br>
It&#39;s not my fault, the universal binaries thing in OS X plus the<br>
custom way EPD builds Python is hard to deal with, specially as I do<br>
not have any OS X box to do proper testing. If you cannot make it<br>
work, feel free to contact me privately and be prepared to help me a<br>
bit.<br>
<font color="#888888"><br>
<br>
--<br>
Lisandro Dalcin<br>
---------------<br>
CIMEC (INTEC/CONICET-UNL)<br>
Predio CONICET-Santa Fe<br>
Colectora RN 168 Km 472, Paraje El Pozo<br>
Tel: +54-342-4511594 (ext 1011)<br>
Tel/Fax: +54-342-4511169<br>
</font></blockquote></div><br></div></div>