Search found 1686 matches

by hines
Sat Jul 22, 2006 10:21 am
Forum: Parallel NEURON
Topic: How to write a parallel FitnessPrimitive
Replies: 5
Views: 14296

That was inadvertently left out. I will have to add the save_context, restore_context pair to that class. Or you can try to do it in nrn/lib/hoc/mulfit.hoc/eoneprim.hoc in analogy to eonefunc.hoc. I believe mere empty stubs are not sufficient. But are you sure that your fitting project is significan...
by hines
Wed Jul 12, 2006 7:21 am
Forum: NEURON + Python
Topic: Tip of the day
Replies: 11
Views: 16014

Andrew is correct, all the python code fro NEURON is in the tar.gz file. But to answer your question about CVS. Anonymous CVS broke when the old server broke a month ago and I have not bothered to set it up on the temporary server since I have switched to Subversion. I just have been remiss in updat...
by hines
Tue Jul 11, 2006 8:51 am
Forum: Getting started
Topic: matlab-neuron
Replies: 3
Views: 11877

It is simpler if you can turn things around and have Matlab control NEURON. I presume Matlab can interact with a process via stdin/stdout and you would start NEURON with the string nrniv -nogui -isatty But if your project is conceptually simpler with Matlab controlled by NEURON then you can have NEU...
by hines
Wed Jun 21, 2006 4:52 pm
Forum: MSWin
Topic: Question about getting Neuron run on Grid
Replies: 1
Views: 4992

In principle all you need is c:\nrn59\bin\nrniv.exe and a hoc file which defines the model. In practice you will have to add the nrnmech.dll that gives you your channels unless you were able to define everything with the ChannelBuilder. If you do not use Bill Lytton's loadfiles script that puts all ...
by hines
Wed Jun 07, 2006 11:30 am
Forum: MSWin
Topic: Distributed Mechanism buttons don't work
Replies: 3
Views: 6647

oc: Device or resource busy is probably benign and I believe something has set the errno unexpectedly but without failing. The only possible remedy to avoid the message is for me to ignore that particular errno but that may be a mistake on my part if the device or resource is permanently busy. cann...
by hines
Mon Jun 05, 2006 8:17 pm
Forum: MSWin
Topic: Compiling NEURON under WinXP
Replies: 7
Views: 9488

try again with the latest alpha version. I've been in the process of switching from cvs to subversion and it has taken a while to get some of the administrative scripts ironed out. I just built on mswin from a clean directory using the tar.gz file.
by hines
Thu Jun 01, 2006 9:17 am
Forum: Other questions
Topic: neuron-matlab interface
Replies: 4
Views: 6588

Code: Select all

 ssh -X localhost nrniv -isatty
should tell you everything you need to know
by hines
Tue May 30, 2006 2:48 pm
Forum: UNIX/Linux
Topic: Neuron and Myrinet
Replies: 7
Views: 10864

We are going to have to straighten that out. That is a piece of code that is never supposed to be compiled because HAVE_STL is required nowadays.
Lets deal with this by email. Please send your src/parallel/bbsconf.h file to michael.hines@yale.edu.
by hines
Tue May 30, 2006 12:58 pm
Forum: UNIX/Linux
Topic: Neuron and Myrinet
Replies: 7
Views: 10864

you can avoid changing the .h file by hand by using the configuration argument
always_call_mpi_init=yes
(there is no -- before the name since it is just an environment variable.)
by hines
Tue May 30, 2006 11:00 am
Forum: UNIX/Linux
Topic: Neuron and Myrinet
Replies: 7
Views: 10864

reinstall interviews (get it from the v5.9
directory or the alpha directory or the link in the install page of the web site). Note that if you are running with mpi then all gui is turned off.
In that case interviews is unnecessary and you can configure with the --without-x option
by hines
Sun May 28, 2006 5:27 pm
Forum: UNIX/Linux
Topic: Neuron and Myrinet
Replies: 7
Views: 10864

The problem is not the #if !ALWAYS_CALL_MPI_INIT code section. In fact everything is working in your example except for the benign but annoying error messages. They may just go away if you upgrade to 5.9. If not let me know. Usually the problem traces to failing to reset errno=0 after a call to an m...
by hines
Wed May 24, 2006 6:11 pm
Forum: Getting started
Topic: Neuron simulator in Windows - two questions
Replies: 1
Views: 3788

Of the functions in the neuron executable, only the ones listed in nrn/src/mswin/windll/nrnmech.h and nrnmath.h can be called. You can call functions directly linked with libraries during the building of the nrnmech.dll file as well but that is not often done. ModelDB has an example of a mod file (v...
by hines
Tue May 23, 2006 6:04 am
Forum: Other questions
Topic: Strange CVode constructor behavior
Replies: 2
Views: 3511

That is a bug. I'll decide in the next few days if it is a bug in the documentation and explicitly state that CVode starts out inactive, or else handle the "1" arg appropriately.
by hines
Fri May 19, 2006 6:19 pm
Forum: OS X
Topic: OSX 10.4.6 compiling mod files
Replies: 4
Views: 8116

The nrn-5.8.88 predates the release of i686-apple-darwin
One of the dmg files for apple OS X in the http://www.neuron.yale.edu/ftp/neuron/versions/alpha/
is for the powerpc and one is for the i686. Try http://www.neuron.yale.edu/ftp/neuron/v ... n8.6.1.dmg
by hines
Fri May 19, 2006 6:10 pm
Forum: Optimization
Topic: Out of range variables in MRF
Replies: 1
Views: 4967

Is there a way to circumvent this problem when setting positivle limits on optimized variables?
Edit the nrn/lib/hoc/mulfit/eparmlst.hoc file and search for

Code: Select all

func efun()
and comment out the line

Code: Select all

printf("invalid %s low=%g val=%g high=%g\n",...