nrngui vs nrniv
Posted: Thu Aug 23, 2012 12:03 pm
When I run "nrngui orientkeys.hoc" everything works fine as shown below:
When I run "nrniv orientkeys.hoc -", I get the following error:
I looked at nrngui.hoc and thought I should add "{load_file("stdgui.hoc")}" to the start of my orientkeys.hoc script. However, this produced the same error.
The reason I would like to use "nrniv orientkeys.hoc -" is to not have the mainmenu appear. I run several instances of nrn and I want the menu to appear only when I need it by running nrnmainmenu().
How can I get code that runs perfectly well under nrngui to work under nrniv?
Thanks,
Pierre
Code: Select all
pfortier@uric:[OrientKeys]$ nrngui orientkeys.hoc
NEURON -- Release 7.1 (359:7f113b76a94b) 2009-10-26
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008
See http://www.neuron.yale.edu/credits.html
loading membrane mechanisms from /home/pfortier/all/keys/docs/research/write/Papers/OrientKeys/i686/.libs/libnrnmech.so
Additional mechanisms from files
Gfluct.mod IM.mod ITGHK.mod amda.mod ampa.mod cadecay.mod gaba.mod hh2.mod nmda.mod
oc>
Code: Select all
pfortier@uric:[OrientKeys]$ nrniv orientkeys.hoc -
NEURON -- Release 7.1 (359:7f113b76a94b) 2009-10-26
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008
See http://www.neuron.yale.edu/credits.html
nrniv: syntax error
in orientkeys.hoc near line 406
insert hh2
^
oc>
The reason I would like to use "nrniv orientkeys.hoc -" is to not have the mainmenu appear. I run several instances of nrn and I want the menu to appear only when I need it by running nrnmainmenu().
How can I get code that runs perfectly well under nrngui to work under nrniv?
Thanks,
Pierre