-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
We are facing problems while setting up spore with python3. We follow the guidelines
from Pattern Matching Experiment readme with following changes:
export PYTHONPATH=$PYTHONPATH:$TARGET_DIR/lib/python3.4/site-packages
export PYTHONPATH=$PYTHONPATH:$TARGET_DIR/lib64/python3.4/site-packages
We use pip3 instead of pip like instructed.
For MUSIC we change the following line:
PYTHON=/usr/bin/python3 ./configure --prefix=$TARGET_DIR --disable-isend
For NEST we change:
cmake -DCMAKE_INSTALL_PREFIX:PATH=$TARGET_DIR -Dwith-music=ON -Dwith-mpi=ON -Dwith-python=3 ..
For SPORE:
cmake -Dwith-python=3 ..
We tested with both master and py3 branches of the spore repository. Also with NEST revision 58fd190f5e4 and latest master. When performing make test we fail two tests:
9/10 Test #9: test_reward_in_proxy .............***Failed 0.23 sec
Start 10: test_music_integration
10/10 Test #10: test_music_integration ...........***Failed 0.31 sec
We encounter no problems for nest.Install("sporemodule") but again for pattern mattching experiment script it fails with:
Traceback (most recent call last):
File "python/zmq_proxy_node.py", line 6, in <module>
import snn_utils.comm.music
File "/home/sinisa/Uni/Project_CI/spore-nest-module/examples/pattern_matching_showcase/python/snn_utils/comm/music/__init__.py", line 4, in <module>
import music
File "/home/sinisa/opt/lib/python3.4/site-packages/music/__init__.py", line 25, in <module>
from .pymusic import *
File "pybuffer.pxd", line 49, in init pymusic (pymusic.cpp:11666)
ImportError: /home/sinisa/opt/lib/python3.4/site-packages/music/pybuffer.so: undefined symbol: PyString_Type
Traceback (most recent call last):
File "python/control_node.py", line 6, in <module>
import music
File "/home/sinisa/opt/lib/python3.4/site-packages/music/__init__.py", line 25, in <module>
from .pymusic import *
File "pybuffer.pxd", line 49, in init pymusic (pymusic.cpp:11666)
ImportError: /home/sinisa/opt/lib/python3.4/site-packages/music/pybuffer.so: undefined symbol: PyString_Type
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 30396 on
node sinisa-Lenovo-V110-15ISK exiting improperly. There are two reasons this could occur:
1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.
2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"
This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels