Code: Select all
:~/tmp/neuronoo$ nrngui test.hoc
NEURON -- VERSION 6.2.1006 (2048) 2008-04-07 (2051M)
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
nrniv: unable to open font "*helvetica-medium-r-normal*--14*", using "fixed"
loading membrane mechanisms from mod/i686/.libs/libnrnmech.so
Additional mechanisms from files
ampa.mod gabaa.mod NMDA_MgNN.mod pxrglu.mod terminal.mod
1
1
1
add_release(pxrglu[0] )
0
add_mech(AMPA[0] )
0
add_mech(GABAa[0] )
0
add_mech_concent(NMDA_MgNN[0] )
/lhome/nrnsvn/nrn/i686/bin/nrniv: Segmentation violation
in test.hoc near line 13
s.add_mech_concent(new NMDA_MgNN(.5), "glu")
^
Segmentation fault
Code: Select all
~/tmp/neuronoo$ nrngui test.hoc -
NEURON -- VERSION 6.2.1006 (2048) 2008-04-07 (2051M)
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
nrniv: unable to open font "*helvetica-medium-r-normal*--14*", using "fixed"
loading membrane mechanisms from mod/i686/.libs/libnrnmech.so
Additional mechanisms from files
ampa.mod gabaa.mod NMDA_MgNN.mod pxrglu.mod terminal.mod
1
1
1
add_release(pxrglu[0] )
0
add_mech(AMPA[0] )
0
add_mech(GABAa[0] )
0
add_mech_concent(NMDA_MgNN[0] )
pxrglu[0] 0
0
terminal[0] -> AMPA[0] weight=5.2404722 max_g=1.2
0
terminal[0] -> NMDA_MgNN[0] weight=3.2386566 max_g=0.1
0
terminal[0] -> GABAa[0] delay=1
0
oc>
1. one as the above where add "-" in the command line makes it run fine;
2. one runs fine no matter whether or not "-" is added;
3. one always gives a different "Segmentation violation error" compared to the one shown in the first example whether "-" is appended or not, but this time it complains about an list iterator in my code (which is copied from http://www.neuron.yale.edu/neuron/stati ... netconlist):
Code: Select all
~/nrn/neuronoo$ nrngui test.hoc
NEURON -- VERSION 6.2.1006 (2048) 2008-04-07 (2051M)
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
nrniv: unable to open font "*helvetica-medium-r-normal*--14*", using "fixed"
loading membrane mechanisms from mod/i686/.libs/libnrnmech.so
Additional mechanisms from files
ampa2exp.mod ampa.mod gabaa.mod hh3.mod NMDA_MgNN.mod pxrglu.mod terminal.mod
1
1
1
add_release(pxrglu[0] )
0
add_mech(AMPA[0] )
0
add_mech(GABAa[0] )
0
add_mech_concent(NMDA_MgNN[0] )
/home/nrnsvn/nrn/i686/bin/nrniv: Segmentation violation
in test.hoc near line 13
s.add_mech_concent(new NMDA_MgNN(.5), "glu")
^
Synapse[0].ltr(pxrglu[0], List[12])
Synapse[0].add_mech_concent(..., "glu")
initcode failed with 1 left