load_proc and run() command in oc

Post Reply
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

load_proc and run() command in oc

Post by JimH »

I am using Neuron 5.9.10 and trying to get the run() command to work. Based on the Neuron Programming Tutorial #1 from neuron.duke.edu I am under the impression that I need to load the standard run library, to access this command.

Inserting load_proc("nrnmainmenu") into my file to accomplish this, or running this in oc, I get the following error

Code: Select all

oc>load_proc("nrnmainmenu")
egrep: not found
egrep: not found
egrep: not found
sed: can't read /cygdrive/c/tmp/oc1.hl: No such file or directory
nrniv: can't run: $NEURONHOME/lib/hocload.sh proc nrnmainmenu 1
 near line 25
 load_proc("nrnmainmenu")
                         ^
load_proc("nrnmainmenu")
This is after downloading Neuron for the first time onto my computer. Any thoughts? I've tried run() without load_proc and gotten

Code: Select all

oc>run()
nrniv: run undefined function
 near line 26
 run()
      ^
run( )
Thanks
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Don't use load_proc() under MSWin. To get the standard run system and other useful hoc
libraries, do
load_file("noload.hoc")
Post Reply