Using nrnpython and adding new mechanism
Posted: Mon Jul 02, 2007 6:25 am
I am using python with the connection nrnpython to using neuron. Everything worked great, but now I wanted to add new mechanisms.
For a simple test I downloaded the NMDA.mod file from myfirstneuron from the Neuron web-site and compiled it with nrnivmodl. that works.
now I have a init.hoc that I call by the python functions:
from neuron import hoc
nrn = hoc.HocObject()
nrn.load_file("init.hoc")
my init hoc file contains the cell definition and pointprocesses.
to be able to load the mechanism I put:
nrn_load_dll("i686/.libs/libnrnmech.so")
so it should load the compiled mechanism (nrniv init.hoc works fine)
But I get the message:
dlopen failed -
undefined symbol: nrnmpi_myid
please help!
thank you!
For a simple test I downloaded the NMDA.mod file from myfirstneuron from the Neuron web-site and compiled it with nrnivmodl. that works.
now I have a init.hoc that I call by the python functions:
from neuron import hoc
nrn = hoc.HocObject()
nrn.load_file("init.hoc")
my init hoc file contains the cell definition and pointprocesses.
to be able to load the mechanism I put:
nrn_load_dll("i686/.libs/libnrnmech.so")
so it should load the compiled mechanism (nrniv init.hoc works fine)
But I get the message:
dlopen failed -
undefined symbol: nrnmpi_myid
please help!
thank you!