<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"><<a href="mailto:dalcinl@gmail.com">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;">
<div><div></div><div class="h5">On 12 June 2010 20:45, Amal Alghamdi <<a href="mailto:amal.ghamdi@kaust.edu.sa">amal.ghamdi@kaust.edu.sa</a>> wrote:<br>
> Dear All,<br>
> I have Mac OS 10.6 and I'd like to ask if any one have tried using PETSc4Py<br>
> with Enthough Python Distribution, EPD. I have tried to build PETSc with the<br>
> option --download-petsc4py but it complained that I am not using the system<br>
> python<br>
> realpath of /usr/lib/libpython.dylib<br>
> (/System/Library/Frameworks/Python.framework/Versions/2.6/Python) does not<br>
> point to Python library path<br>
> (/Library/Frameworks/Python.framework/Versions/6.1/Python) for current<br>
> Python;<br>
> Are you not using the Apple python?<br>
> Does that mean I should use Apple python or there is a way to make PETSc4Py<br>
> works on EPD.<br>
> Thank you very much<br>
> 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 "python setup.py build". Note however that<br>
you may still run into trouble in this OS X + EPD Python combination.<br>
It'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>