Hi all, <br><br>I've managed to install ipythondistarrays with fftw-3.3.alpha1. My problem is that I get an error when trying to run a simple test:<br>----<br>>>> import distarray as da<br> ---> 16 from distarray.fft import py_fftw<br>
ImportError: libfftw3_mpi.so.3: cannot open shared object file: No such file or directory<br>----<br><br>This happens when the module tries to import py_fftw.so. I've checked that I have libfftw3_mpi.so.3 in /usr/include/lib. Am I missing something? I've tried loading the library directly with ctypes.cdll.LoadLibrary('fftw3_mpi.so.3') but that didn't work either.<br>
<br>Cheers,<br><br>Sam<br><br><br><div class="gmail_quote">On 4 March 2011 18:05, Brian Granger <span dir="ltr"><<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Samuel,<br>
<div class="im"><br>
> First of all thanks for IPython, which I think is a fantastic software. I<br>
> used to work with Matlab but I have switched to Python a couple of years ago<br>
> and never looked back.<br>
<br>
</div>Cool!<br>
<div class="im"><br>
> I'm a postdoc working in fluid dynamics and acoustics and have to compute<br>
> Fourier transforms on very big arrays (~ 4GB). I've stumbled upon this video<br>
> <a href="http://www.youtube.com/watch?v=Sa3SHmiXxbw" target="_blank">http://www.youtube.com/watch?v=Sa3SHmiXxbw</a> which demos distributed arrays in<br>
> Python. It shows how to distribute an array seemlessly over several<br>
> processors, and how to carry out sevral operations (including the fft). I<br>
> was really impressed. This is exactly what I would need.<br>
<br>
</div>Great.<br>
<div class="im"><br>
> However I haven't been able to find more information on this. I've only<br>
> found this old Trac repository<br>
> <a href="http://ipython.scipy.org/ipython/ipython/browser/ipythondistarray/trunk/ipythondistarray?rev=2990" target="_blank">http://ipython.scipy.org/ipython/ipython/browser/ipythondistarray/trunk/ipythondistarray?rev=2990</a>,<br>
> but I don't know how to download or clone it. Is the project still active?<br>
> I'd be happy to help revive this.<br>
<br>
</div>The distributed array stuff has not moved forward at all and has quite<br>
a few bugs in it. But, here is the latest code:<br>
<br>
<a href="https://code.launchpad.net/%7Eipython-dev/ipython/ipythondistarray" target="_blank">https://code.launchpad.net/~ipython-dev/ipython/ipythondistarray</a><br>
<br>
I would also check out the following:<br>
<br>
<a href="http://code.google.com/p/petsc4py/" target="_blank">http://code.google.com/p/petsc4py/</a><br>
<a href="http://trilinos.sandia.gov/packages/pytrilinos/" target="_blank">http://trilinos.sandia.gov/packages/pytrilinos/</a><br>
<a href="http://www.emsl.pnl.gov/docs/global/index.shtml" target="_blank">http://www.emsl.pnl.gov/docs/global/index.shtml</a><br>
<br>
I am sure these have fftw support, but they are much more stable and<br>
it might be easy to add FFTW support.<br>
<br>
Cheers,<br>
<br>
Brian<br>
<div class="im"><br>
> Any pointers would be much appreciated.<br>
><br>
> Sam<br>
><br>
><br>
</div>> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Brian E. Granger, Ph.D.<br>
Assistant Professor of Physics<br>
Cal Poly State University, San Luis Obispo<br>
<a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a><br>
<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
</font></blockquote></div><br>