-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplecell model: error when making simulator object #396
Comments
Hello @naoch, That does not seem to be an error with BluePyOpt, did you check that NEURON works in python outside of BluePyOpt? For example, you can try to re-create the simplecell outside of BluePyOpt. Also, out of curiosity, are you on M1 or intel CPU ? |
Hi DrTaDa, Thank you for a quick reply! My Mac has M1 CPU. I thought updating NEURON to the latest 8.1a may solve the issue, but some problems happened and I could not update, yet. I will try to figure out, and update what happens... Meantime, I just want to update so far, and thank you for your reply! |
I see. What kind of error did you get when importing the morphology ? In any case, I recommend you to open an issue on the NEURON github page (https://github.com/neuronsimulator/nrn/issues), they are more knowledgeable than I am about NEURON internals. |
I updated to NEURON 8.0 (I don't know why 'pip3 install neuron' did not install 8.1). By the way, if I do everything on NEURON GUI (importing simple.swc, and using Cell Builder and Point of Process), it works fine. So, I think problems on importing swc file with Python is my wrong code. Morphology swc file is fine. Also, this suggests NEURON itself is fine. I wonder even if this simulation does not work, using BluePyOpt itself should not be a problem, am I correct? In real project, I will obtain membrane parameters from actual recorded traces, so this simulation is not required, I think. Thank you again for your time! |
Indeed, if the code to import the simple.swc doesn't work with pure NEURON, it means there shouldn't be anything wrong with BluePyOpt. Let me know if you find what was wrong. |
Thank you, DrTaDa. |
Hello,
I try to run Simple cell model example by typing the code exactly as it is.
When I run following line;
nrn = ephys.simulators.NrnSimulator()
it gives me an error;
dlopen(/Users/naoch/opt/anaconda3/lib/python3.8/site-packages/neuron/hoc.cpython-38-darwin.so, 0x0006): symbol not found in flat namespace '_modl_reg'
When I searched the error message, I found following StackOverflow thread;
https://stackoverflow.com/questions/35006614/what-does-symbol-not-found-expected-in-flat-namespace-actually-mean
According to the answer, it appears a problem of mixing objects compiled with two different c++ compilers.
Is this correct?
How can I solve the issue? (help...)
My environment is Mac OS 12.3.1, Python 3.8.13, Anaconda 2.1.4, NEURON 7.8.2, BluePyOpt 1.12.7.
In this environment, using Spider 5.1.5 as IDE, NEURON simulation system itself works without any problems (so far).
I import bluepyopt, as described in notebook, and code does not give any error before this particular line, and all objects generated by the code before the line appeared to be made properly.
Thank you in advance.
The text was updated successfully, but these errors were encountered: