You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NEURON-based python program that uses various compiled .mod files to build a network.
The program is unable to run once it hits these code lines at the end of the program: h.finitialize(-65) h.continuerun(100)
At the first run of the program, the result of the execution is a segmentation fault error: Segmentation Fault: 11.
The second run of the program does not give a segmentation fault error and instead does not print anything and continues to run indefinitely until VSCode stops the program.
I have tried using the nrniv -debug command to check for any version incompatibilities or under-the-hood runtime errors. The command shows that the .mod files were compiled though an error with importing a method from multiprocessing appears.
I have attached the stacktrace below. Let me know if you would like to see the mod files or any additional code/information.
NEURON setup
Version: NEURON==8.2.6
Installation method: pip
macOS
mod files compiled using the command: nrnivmodl
The text was updated successfully, but these errors were encountered:
As far as I know, -debug is not a valid argument to nrniv. It is being treated as a HOC file and hence can't open -debug.
I'm guessing that test_nigo_pathway.py contains python code that make use of multiprocessing support. If that is the case, it is probably best to launch python test_nigo_pathway.py as it seems more likely that python multiprocessing support will work.
Context
I have a NEURON-based python program that uses various compiled .mod files to build a network.
The program is unable to run once it hits these code lines at the end of the program:
h.finitialize(-65)
h.continuerun(100)
At the first run of the program, the result of the execution is a segmentation fault error: Segmentation Fault: 11.
The second run of the program does not give a segmentation fault error and instead does not print anything and continues to run indefinitely until VSCode stops the program.
I have tried using the nrniv -debug command to check for any version incompatibilities or under-the-hood runtime errors. The command shows that the .mod files were compiled though an error with importing a method from multiprocessing appears.
I have attached the stacktrace below. Let me know if you would like to see the mod files or any additional code/information.
NEURON setup
The text was updated successfully, but these errors were encountered: