Page 1 of 1

"Resource unavailable" error messages

Posted: Mon Dec 03, 2007 8:27 am
by jhp
After an upgrade to SuSE 10.3 I was forced to recompile NEURON-6.0 and am now getting a ton of error messages when I run nrngui (this persisted when I compiled newer versions as well):
NEURON -- Release 6.1.1 (1894) 2007-11-24
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html

oc: Resource temporarily unavailable
/local/d0/henning/NEURON/nrn/i686/bin/nrniv: errno set during call of xpanel
in /local/d0/henning/NEURON/nrn/share/nrn/lib/hoc/nrngui.hoc near line 2
nrnmainmenu()
^
oc: Resource temporarily unavailable
/local/d0/henning/NEURON/nrn/i686/bin/nrniv: errno set during call of xmenu
in /local/d0/henning/NEURON/nrn/share/nrn/lib/hoc/nrngui.hoc near line 2
^
oc: Resource temporarily unavailable
/local/d0/henning/NEURON/nrn/i686/bin/nrniv: errno set during call of xbutton
in /local/d0/henning/NEURON/nrn/share/nrn/lib/hoc/nrngui.hoc near line 2
^
oc: Resource temporarily unavailable
/local/d0/henning/NEURON/nrn/i686/bin/nrniv: errno set during call of xpanel
in /local/d0/henning/NEURON/nrn/share/nrn/lib/hoc/nrngui.hoc near line 2
^
oc>
Any ideas what I am doing wrong?

Posted: Sun Dec 16, 2007 4:06 pm
by hines
This could be just prevented by editing the nrn/src/oc/math.c in the region near the end of the file in the hoc_errno_check function. And I might end up doing that in the distributed sources. However, I would prefer diagnosing the location a bit more precisely. If you don't mind working with me on that, then start over by installing the latest tar.gz file from http://www.neuron.yale.edu/ftp/neuron/versions/alpha/
and I will iteratively supply one or two modified files with printf statements that will help figure out where the errno is being set. Let me know by email when and if you are ready to begin

Posted: Wed Jan 09, 2008 8:31 am
by duboismathieu
Hello,

Sorry to reactivate this old topic...

I have compiled NEURON 6.1 under fedora 8 and the same problem occur. It's sometime interfering (for instance with printf statements).

Is there a solution?

Thanks in advance.
Mathieu.

Posted: Wed Jan 09, 2008 8:54 am
by hines
The standard distribution now points to
NEURON -- Release 6.1.2 (1927) 2007-12-30
so if you re-install after downloading as before the problem should go away. See
http://www.neuron.yale.edu/cgi-bin/trac ... geset/1927
for a list of Release 6.1.2 changes. The changeset that got rid of useless "Try again" error messages was 1920.

Posted: Thu Jan 10, 2008 9:42 am
by duboismathieu
It works perfectly with version 6.1.2!

Thanks,
Mathieu