<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div><div><div><div><div>Hi, <br><br></div>I just installed YT and it's failing at the very start. <br><br>Python 2.7.4 (default, Jun 4 2013, 11:02:31) <br>
[GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>>>> from yt.mods import * <br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>
File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/mods.py", line 60, in <module><br> from yt.data_objects.api import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/data_objects/api.py", line 31, in <module><br>
from grid_patch import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py", line 35, in <module><br> from yt.data_objects.data_containers import YTFieldData<br>
File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 45, in <module><br> from yt.data_objects.derived_quantities import GridChildMaskWrapper<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/data_objects/derived_quantities.py", line 36, in <module><br>
from yt.utilities.parallel_tools.parallel_analysis_interface import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 39, in <module><br>
from yt.utilities.lib import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/utilities/lib/__init__.py", line 35, in <module><br> from .png_writer import *<br>ImportError: libpng16.so.16: cannot open shared object file: No such file or directory<br>
>>> <br><br></div>Adding the path to the libpng16.so.16 library gets me to here (it also seems strange that the .so file was not already in the LD_LIBRARY_PATH - is there a hint in there somewhere?): <br><br>Python 2.7.4 (default, Jun 4 2013, 11:02:31) <br>
[GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> from yt.mods import * <br>Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/mods.py", line 129, in <module><br> from yt.visualization.api import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/visualization/api.py", line 34, in <module><br>
from plot_collection import \<br> File "/nfs/scratch/jr347/2013/YT/yt-x86_64/src/yt-hg/yt/visualization/plot_collection.py", line 26, in <module><br> from matplotlib import figure<br> File "/home/cosmos/users/jr347/2013/YT/yt-x86_64/lib/python2.7/site-packages/matplotlib/figure.py", line 32, in <module><br>
from matplotlib.image import FigureImage<br> File "/home/cosmos/users/jr347/2013/YT/yt-x86_64/lib/python2.7/site-packages/matplotlib/image.py", line 22, in <module><br> import matplotlib._png as _png<br>
ImportError: /home/cosmos/users/jr347/2013/YT/yt-x86_64/lib/python2.7/site-packages/matplotlib/_png.so: undefined symbol: png_set_longjmp_fn<br><br><br></div>Anybody come across this kind of error before. <br></div>The code is built on a shared memory machine, using gcc. icc is actually the default compiler but the YT script seems to pick up gcc by default and it builds (it doesn't build at all with icc). <br>
<br></div>Install script attached in case it's helpful. <br><br></div>Let me know if you need anymore info. Thanks in advance!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
John<br></div><div><div><br><br></div></div></font></span></div>
</div><br></div>