Some errors when I run ringtest.py
Posted: Tue Apr 11, 2017 3:43 am
I installed the neruon from github, the python version is 2.7.12. When I tried to run ringtest.py, there arised some errors.
When import neuron, it prints:
When I run "python ringtest.py", it prints: AttributeError 'hoc.HocObject' object has no attribute 'nrnbbcore_write' as follow:
So I try to use special to run ringtest.py. First I use nrnivmodl to generate x86_64/special and it successed, then I run ringtest.py by "x86_64/special ringtest.py", but it still print an error undefined symbol: hoc_register_dparam_semantics as follow:
Could you please tell me how to solve these errors? Thank you!
When import neuron, it prints:
Code: Select all
.libs/libnrnmech.so: undefined symbol: hoc_register_dparam_semantics
Code: Select all
NEURON -- Release 7.4 (1370:16a7055d4a86) 2015-11-09
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2015
See http://www.neuron.yale.edu/neuron/credits
loading membrane mechanisms from x86_64/.libs/libnrnmech.so
dlopen failed -
x86_64/.libs/libnrnmech.so: undefined symbol: hoc_register_dparam_semantics
[10, 20] [1, 1]
nring=16
cell per ring=8
ncell_per_type=8
ntype=16
created coredat/
0.0400002s created rings
2224 non-zero area compartments
0.00999999s initialized
Traceback (most recent call last):
File "ringtest.py", line 181, in <module>
pc.nrnbbcore_write(bbcorewrite_folder)
AttributeError: 'hoc.HocObject' object has no attribute 'nrnbbcore_write'
Code: Select all
loading membrane mechanisms from /home/zyc/Softwares/GPU-Neuron/sources/ringtest/x86_64/.libs/libnrnmech.so
dlopen failed -
/home/zyc/Softwares/GPU-Neuron/sources/ringtest/x86_64/.libs/libnrnmech.so: undefined symbol: hoc_register_dparam_semantics
Traceback (most recent call last):
File "ringtest.py", line 1, in <module>
from args import *
File "args.py", line 1, in <module>
import argparse
File "/usr/lib/python2.7/argparse.py", line 85, in <module>
import collections as _collections
File "/usr/lib/python2.7/collections.py", line 20, in <module>
from _collections import deque, defaultdict
ImportError: /usr/lib/python2.7/_collections.so: undefined symbol: _Py_NotImplementedStruct