Code: Select all
oc>run()
/Applications/NEURON-7.2/nrn/umac/bin/nrniv.app/Contents/MacOS/nrniv: Bus error See $NEURONHOME/lib/help/oc.help
near line 1
run()
^
finitialize(-65)
init()
stdinit()
run()
* Cycles - the length of the vector which the vecstims play from
* synapses - the length of the list of synapses, netcons, and vecstims.
If I make both = 1, then there are no errors. If i make cycles = 1, and synapses = 2, then I get a different error:
Code: Select all
net_send td-t = -2.75253e-307 SelfEvent target=VecStim[0] 0 flag=1
/myfolder/2011May21-CA1BarragesWithNetstim/umac/special: line 13: 27946 Abort trap "${NRNIV}" -dll "/myfolder/2011May21-CA1BarragesWithNetstim/umac/.libs/libnrnmech.so" "$@"
I've obviously left out a lot of code, because I don't want to just send my code to someone else to labor through. I was hoping that maybe there were enough hints here to maybe steer me in some direction for where to look!
If none of this makes any sense without some outline of a code, here is this outline:
Code: Select all
FREQ = 8
NUMBER_SYNS = 1
CYCLES = 2
printf("\n\n\n\n\n NEURON SIMULATION")
printf("In this simulation we distribute %d synapses across the apical dendrite.\n",NUMBER_SYNS)
printf("The stimulation will occur according to a sinusoidal distribution with frequence %d.\n\n\n",FREQ)
// DISTRIBUTE THE EXP2SYNS STOCHASTICLY ACCORSS GIVEN SECTIONLIST
// USAGE: OUTPUT_SYNAPSE_LIST = distSyns(NUMBER_SYNAPSES,SECTIONLIST,REVERSAL_POTENTIAL,TAU1,TAU2)
objref theSyns
theSyns = distSyns(NUMBER_SYNS,apical_dendrite,0,1,10)
// RETURN A VECTOR OF SINUSOIDAL DISTRIBUTED SPIKE TIMES
// USAGE: OUTPUT_SPIKE_TIMES = sinDist(SYNAPSE_LIST, NUMBER_CYCLES, FREQUENCY)
objref synTimes
synTimes = sinDist(theSyns,CYCLES,FREQ)
// DISTRIBUTE THE INPUT STIMULUS TIMES TO THE SYNAPSES
// USAGE: OUTPUT_VECSTIM_LIST = defStim(SYNAPSE_LIST, SYNAPSE_TIMES, FREQUENCY)
objref stimVec
stimVec = defStim(theSyns,synTimes,FREQ)
// CONNECT THE INPUT STIMULUS TO THE SYNAPSES
// USAGE: OUTPUT_NETCON_LIST = defNC(SYNAPSE_LIST, VECSTIM_LIST)
objref theNCons
theNCons = defNC(theSyns,stimVec)
Thanks,
Adam