From: Vadim A <ast...@nc...> - 2013-03-15 20:18:02
|
Hi Subha. Sorry for bothering but it seems that we are still missing something. I exported PYTHONPATH and trying to run examples from Demo/snippets but none of them work for me and I am getting errors like this Traceback (most recent call last): File "./Demos/snippets/compartment_net.py", line 53, in <module> from pylab import * …... import numpy as np File "/home/diag/opt/python/lib64/python/numpy/__init__.py", line 130, in <module> import add_newdocs File "/home/diag/opt/python/lib64/python/numpy/add_newdocs.py", line 9, in <module> from lib import add_newdoc File "/home/diag/opt/python/lib64/python/numpy/lib/__init__.py", line 4, in <module> from type_check import * File "/home/diag/opt/python/lib64/python/numpy/lib/type_check.py", line 8, in <module> import numpy.core.numeric as _nx File "/home/diag/opt/python/lib64/python/numpy/core/__init__.py", line 5, in <module> import multiarray ImportError: /home/diag/opt/python/lib64/python/numpy/core/multiarray.so: undefined symbol: Py_InitModule4 Do you know what we might need to adjust ? Also, I see that those snippets use "matplotlib" which we do not have on cluster. Is there any other test examples which we can try ? Thanks a lot in advance for any advice. Vadim. On Mar 12, 2013, at 8:22 PM, Subhasis Ray wrote: > > > > On Wed, Mar 13, 2013 at 2:53 AM, Vadim A <ast...@nc...> wrote: > You saying that I don't really need to do "make install" ? > > after " make BUILD=release USE_HDF5=0" > > return -> pymoose module built. > > > All I need to do just export PYTHONPATH, correct ? > > Yes, that is all :) > |