I believe the issue is that your FFTW wrappers are linked against your system libm while you should be linking then against the libraries provided by conda if you want to use it with that python install.<div><br></div><div>
You might want to consider writing a conda recipe for your wrappers.  Building a conda package from such a recipe will ensure that it is linking with anaconda's libraries since conda package builds happen in an isolated environment.</div>
<div><br></div><div>I agree that there are issues on Linux with anaconda and binary compatibility and that it's not totally obvious to newcomers how to use anaconda python if they also want to build their own packages under it.  However, given that it simplifies the installation process and gives users an out-of-the box yt install with significantly less hassle than the install script and with very little maintenance on our end,<span></span> I still think it's the way to go moving forward.</div>
<div><br></div><div>If you're going to be doing a lot of development, anaconda's python may not be the best choice.  Instead, you might consider building yt and all it's dependencies using the Ubuntu's system python and packages.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Nathan</div><div><div><br>On Tuesday, October 22, 2013, j s oishi  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>daikaiju:/data/../96_Ra10000 [10:39]$ python 2d_gmode_kx1_kz1.py                                                                                              </div><div>Traceback (most recent call last):</div>

<div>  File "2d_gmode_kx1_kz1.py", line 26, in <module></div><div>    from dedalus.mods import *</div><div>  File "/home/jsoishi/hg-projects/dedalus/dedalus/mods.py", line 30, in <module></div>

<div>    from dedalus.utils.logger import mylog</div><div>  File "/home/jsoishi/hg-projects/dedalus/dedalus/utils/logger.py", line 30, in <module></div><div>    from dedalus.utils.parallelism import com_sys</div>

<div>  File "/home/jsoishi/hg-projects/dedalus/dedalus/utils/parallelism.py", line 52, in <module></div><div>    com_sys = CommunicationSystem()</div><div>  File "/home/jsoishi/hg-projects/dedalus/dedalus/utils/parallelism.py", line 43, in __init__</div>

<div>    from dedalus.utils.fftw import fftw</div><div>ImportError: /home/jsoishi/build/yt-conda/bin/../lib/libm.so.6: version `GLIBC_2.15' not found (required by /home/jsoishi/build/lib/libfftw3.so.3)</div><div><br>
</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 11:39 AM, Nathan Goldbaum <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'nathan12343@gmail.com');" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jeff,<div><br></div><div>Can you paste the error messages you're seeing?</div><span><font color="#888888"><div>

<br></div></font></span><div><span><font color="#888888">Nathan</font></span><div><div><span></span><br><br>On Tuesday, October 22, 2013, j s oishi  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">Hi all,<div><br></div><div>So I've been playing with the new conda installed yt. In principle, I really like the idea: a simple, completely isolated python distribution that does dependency management. However, I'm running into some problems that are potentially big problems for yt down the road. My issue is that I'm trying to install Dedalus into the yt-provided conda install. However, to do that, I need to interface with external libraries--ones that I do *not* want to have built as conda packages. The two that come up first are MPI and FFTW. Since the Dedalus FFTW bindings are actually used in yt for its FFT analysis, this is relevant for yt too.</div>



<div><br></div><div>On a supercomputing center, one would very much want to use their MPI and FFT libraries, rather than some binary blob from conda, I think we need to figure out how to do this. The problem I'm getting specifically is that if I build FFTW (for example) myself, I want to link against the system libm. But conda provides its OWN libm, which, it turns out is not GLIBC compatible with what FFTW was built against. I believe this is because libm from conda was not built against the same glibc as my libm, which FFTW was built against. I don't know how to solve this problem, since I don't really understand dynamic libraries, nor conda. Does anyone have any ideas about this? Is this something I should take up with the conda list?</div>



<div><br></div><div>My apologies if this is unclear. I am not fully sure I understand what is happening myself.</div><div><br></div><div>thanks,</div><div><br></div><div>j</div></div>
</blockquote></div></div></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="javascript:_e({}, 'cvml', 'yt-dev@lists.spacepope.org');" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div>