NEURON installation was fine, now somewhat broken [resolved]
Posted: Sat Sep 07, 2013 2:27 pm
Hello, I have the 32-bit Cygwin installation on my Windows 8 machine. It's been working fine for months. Then, yesterday it began exhibiting problems. I think the only thing I did yesterday was install Java JDK and NeuroConstruct, and alter the NeuroConstruct settings so that it could find and work with NEURON. Not sure if that is related or not, but now when I try to use NEURON, I have these troubles:
1. At the Cygwin command line, enter:
Then it displays the banner message and shows the NEURON menubar, but if I click on the menubar, NEURON hangs and never responds, graying it out. The command prompt still works though.
2. At the Cygwin command line, enter:
Then it displays the banner message and seems to work okay.
3. In the Start menu, choose NEURON 7.3>nrngui:
Then the following message appears:
4. From MATLAB, execute a system call for nrniv
Displays the banner message plus an error message:
I tried restoring my system to a time before installation of neuroConstruct and Java SDK, as well as restarting my computer, and uninstalling and reinstalling NEURON. I've also tried various combinations of values for my environmental variables, appending any one of the following to the path and setting NEURONHOME to one of them:
I realize I must have done something that broke the installation, I just can't recall what... and since the problem is still there after the NEURON reinstall, I don't know how to fix it. I appreciate your assistance.
1. At the Cygwin command line, enter:
Code: Select all
nrniv /cygdrive/c/nrn73/lib/hoc/nrngui.hoc
2. At the Cygwin command line, enter:
Code: Select all
nrniv
3. In the Start menu, choose NEURON 7.3>nrngui:
Then the following message appears:
The menubar is not loaded but NEURON seems to work fine at the command prompt. I checked and stdgui.hoc is located in the same directory as nrngui.hoc, so I don't know why it can't find it (seems to be some issue with slashes both directions in the path).Can't load NEURON resources from C:\nrn73\bin/lib/nrn.def[aults]
NEURON -- Release 7.3 (849:5be3d097b917) 2013-04-11
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2013
See http://www.neuron.yale.edu/neuron/credits
nrniv: Couldn't find: stdgui.hoc
in /cygdrive/c/nrn73/lib/hoc/nrngui.hoc near line 1
{load_file("stdgui.hoc")}
^
nrniv: nrnmainmenu undefined function
in /cygdrive/c/nrn73/lib/hoc/nrngui.hoc near line 2
nrnmainmenu()
^
nrnmainmenu( )
oc>
4. From MATLAB, execute a system call for nrniv
Code: Select all
system('nrniv')
I'm not sure why executing nrniv as a system call in MATLAB is now producing different behavior than #2 above, executing nrniv from a Cygwin window.Can't load NEURON resources from C:\nrn73\bin/lib/nrn.def[aults]
I tried restoring my system to a time before installation of neuroConstruct and Java SDK, as well as restarting my computer, and uninstalling and reinstalling NEURON. I've also tried various combinations of values for my environmental variables, appending any one of the following to the path and setting NEURONHOME to one of them:
Code: Select all
C:\nrn73
Code: Select all
C:\nrn73\bin
Code: Select all
/cygdrive/c/nrn73
Code: Select all
/cygdrive/c/nrn73/bin