Search found 1713 matches

by hines
Wed Aug 06, 2025 7:52 am
Forum: Parallel NEURON
Topic: Parallelized simulations result in PythonObject accumulation when using the bulletin-board-style parallelization
Replies: 4
Views: 523

Re: Parallelized simulations result in PythonObject accumulation when using the bulletin-board-style parallelization

Although my diagnosis of the memory leak is incomplete, I can give you a temporary work-around so that you can continue your simulations without running out of memory and continue to use your existing NEURON version. Meanwhile, I'll work on repairing the internal reference counting bug. The problem ...
by hines
Mon Aug 04, 2025 8:16 pm
Forum: Parallel NEURON
Topic: Parallelized simulations result in PythonObject accumulation when using the bulletin-board-style parallelization
Replies: 4
Views: 523

Re: Parallelized simulations result in PythonObject accumulation when using the bulletin-board-style parallelization

Running your model on my desktop with 8.2.7, I do see the steady increase in memory usage. I will try to diagnose the cause and get back when I know more.
by hines
Tue Jun 17, 2025 2:01 pm
Forum: MSWin
Topic: [SOLVED] Install NEURON from the commandline non-interactively
Replies: 2
Views: 4635

Re: Install NEURON from the commandline non-interactively

I'm not as familiar as I'd like with all the continuous integration files but https://github.com/neuronsimulator/nrn/blob/master/ci/win_install_neuron.cmd seems promising if you have downloaded the and installer. In particular :: run installer start /b /wait .\nrn-nightly-AMD64.exe /S /D=C:\nrn_test
by hines
Thu Feb 20, 2025 7:55 am
Forum: NEURON + Python
Topic: Python Section syntax error
Replies: 5
Views: 22229

Re: Python Section syntax error

I see that >>> for sec in secList: print(f"{sec}_spine_neck") ... soma[0]_spine_neck dend[0]_spine_neck dend[1]_spine_neck dend[2]_spine_neck ... So you can see that those are all invalid variable names. You need a bit more text processing to get the array index at the end of the name or e...
by hines
Thu Feb 20, 2025 7:26 am
Forum: NEURON + Python
Topic: Python Section syntax error
Replies: 5
Views: 22229

Re: Python Section syntax error

Code: Select all

spine_neck = h.Section(name= f''{sec}_spine_neck'')
Just curious. What is the value of the string

Code: Select all

f''{sec}_spine_neck''
By the way, I didn't try to run your code fragment in your initiating message as it seemed incomplete (what is secList) and improperly indented.
by hines
Thu Jan 23, 2025 7:45 am
Forum: OS X
Topic: NEURON 8.2 install / OS X 15.2 Sequoia / Python 3.12.7 Anaconda installation difficulties
Replies: 3
Views: 50625

Re: NEURON 8.2 install / OS X 15.2 Sequoia / Python 3.12.7 Anaconda installation difficulties

For several years now, we've been having a great deal of trouble maintaining the neuron.yale.edu website.It crashes every 8 days for an unknown reason. Only one or two persons, not me, know how to change content (and not all the types of content at that). Almost all user facing information, the exce...
by hines
Thu Dec 05, 2024 1:44 pm
Forum: Other questions
Topic: Question about HOC syntax and section connection
Replies: 2
Views: 26568

Re: Question about HOC syntax and section connection

nrniv.exe: stack underflow The connect child, parent syntax is unfortunately limited in that the parent cannot be of the form obj.sec as the sequence of tokens syntactically conflicts with other syntax in the HOC language. That is, with that form of the connect statement, the parent must be a liter...
by hines
Tue Oct 22, 2024 1:49 pm
Forum: UNIX/Linux
Topic: Flags to enable Avx256 and 512 compiling
Replies: 3
Views: 35119

Re: Flags to enable Avx256 and 512 compiling

I wrote to pkumbhar and hope Pramod can chime in on this.
by hines
Tue Oct 22, 2024 1:38 pm
Forum: MSWin
Topic: Python cannot import neuron library on Windows install
Replies: 9
Views: 96856

Re: Python cannot import neuron library on Windows install

NEURON + python can work only if the python version is one of those listed in the name of the neuron installer. Presently the installer one gets from https://nrn.readthedocs.io/en/latest/ or https://nrn.readthedocs.io/en/8.2.6/ is https://github.com/neuronsimulator/nrn/releases/download/8.2.6/nrn-8....
by hines
Fri Sep 27, 2024 7:36 am
Forum: MSWin
Topic: NEURON cann't open hoc
Replies: 5
Views: 28657

Re: NEURON cann't open hoc

Just to help isolate the problem... Please remove the two spaces from the "data driven model" folder name and try again (you can replace with - or _). If your model involves mod files, you may also have to rerun mknrndll or nrnivmodl. When you launch neuron, what banner is printed. Our int...
by hines
Wed Sep 25, 2024 9:59 am
Forum: UNIX/Linux
Topic: os.execv
Replies: 8
Views: 31399

Re: os.execv

Another detail that gave me a bit of an itch but we can ignore for now is File "/home/pfortier/project/x86_64/special.nrn", line 123, in <module> os.execv(exe, sys.argv) FileNotFoundError: [Errno 2] No such file or directory I interpret that as a failure with respect to the value of exe. I...
by hines
Wed Sep 25, 2024 7:14 am
Forum: UNIX/Linux
Topic: os.execv
Replies: 8
Views: 31399

Re: os.execv

The only change made was to the file permission of gstim.mod from 664 to 750 so I must assume that this was the problem. I glad the problem went away. That's not a bad reason to move on. However I'm quite puzzled how that change could fix a FileNotFoundError: [Errno 2] No such file or directory whe...
by hines
Mon Sep 16, 2024 12:39 pm
Forum: Parallel NEURON
Topic: Presyns vs InputPresyns
Replies: 1
Views: 51689

Re: Presyns vs InputPresyns

Different numbers of InputPresyn are expected. InputPresyn is a memory optimized version of PreSyn and does not need to act as a threshold detector as it receives a spike from a PreSyn that was generated on another MPI rank. The number of InputPresyn on a rank is equal to the number of distinct gid ...
by hines
Mon Sep 16, 2024 9:30 am
Forum: NEURON + Python
Topic: Type annotation of NEURON objects
Replies: 3
Views: 48248

Re: Type annotation of NEURON objects

Types for built in hoc classes (eg. Vector, File, etc.) have been augmented with a HocClass metaclass in order to recover the HOC internal indexing for object indexing of classes that had been broken by the change to the development version mentioned by ramcdougal above . The original (up through ve...