Search found 1661 matches
- Tue Dec 20, 2022 8:39 pm
- Forum: Parallel NEURON
- Topic: NEURON: The total number of cells, 1, is different than the number of user partition cells, 0
- Replies: 2
- Views: 280
Re: NEURON: The total number of cells, 1, is different than the number of user partition cells, 0
parcom.hoc is only for load balancing an already existing network model (or large cell). To make your 4 line fragment work , the 4 lines must be moved after cell = Section() However, I believe your purpose can be better achieved with pc = h.ParallelContext() pc.nthread(16) # assuming you have 16 cor...
- Tue Nov 15, 2022 7:39 am
- Forum: UNIX/Linux
- Topic: [SOLVED] Unable to run nrniv -python with NEURON 8.0.0 installed via pip
- Replies: 6
- Views: 446
Re: Unable to run nrniv -python with NEURON 8.0.0 installed via pip
The problem is that nrnpyenv.sh cannot figure out the location of the shared python library. (I can't remember how the neuron wheel was configured but assume it was with NRN_ENABLE_DYNAMIC_PYTHON=ON. Please check with nrniv nrnversion(6) ) If that really is the case, then a correct value for the NRN...
- Tue Nov 15, 2022 2:48 am
- Forum: UNIX/Linux
- Topic: [SOLVED] Unable to run nrniv -python with NEURON 8.0.0 installed via pip
- Replies: 6
- Views: 446
Re: Unable to run nrniv -python with NEURON 8.0.0 installed via pip
If you are happy with launching python instead of nrniv, then fine and we can consider the issue closed. If you do wish to resolve the nrniv -python issue then I'm happy to help lead you through the diagnosis and hopefully a solution. To start, I'll need to know the complete output of the above comm...
- Sat Sep 17, 2022 3:26 pm
- Forum: OS X
- Topic: nrngui not opening main menu GUI on startup on M1 Mac
- Replies: 13
- Views: 1903
Re: nrngui not opening main menu GUI on startup on M1 Mac
Hmmm. Maybe anaconda does now have an M1 version.
https://www.anaconda.com/blog/new-relea ... porting-m1
But it is surprising that the filename of the download is Anaconda3-2022.05-MacOSX-x86_64.pkg. so I guess I'm skeptical that that is a universal2 installer.
https://www.anaconda.com/blog/new-relea ... porting-m1
But it is surprising that the filename of the download is Anaconda3-2022.05-MacOSX-x86_64.pkg. so I guess I'm skeptical that that is a universal2 installer.
- Sat Sep 17, 2022 3:18 pm
- Forum: OS X
- Topic: nrngui not opening main menu GUI on startup on M1 Mac
- Replies: 13
- Views: 1903
Re: nrngui not opening main menu GUI on startup on M1 Mac
Please see https://nrn.readthedocs.io/en/latest/install/install_instructions.html#mac-os with special attention to the information that begins Universal2 installers generally “just work” on either an x86_64 or arm64 architecture. Your problem is that nrniv is a universal program that starts up by de...
- Sat Sep 17, 2022 2:45 pm
- Forum: OS X
- Topic: nrngui not opening main menu GUI on startup on M1 Mac
- Replies: 13
- Views: 1903
Re: nrngui not opening main menu GUI on startup on M1 Mac
On Aug 25, 2021 the master was modified so that on the Mac, X11 is looked for at /usr/X11 instead of in /opt/homebrew. I see that version 8.1.0
and more recent versions contain this fix.
and more recent versions contain this fix.
- Thu Aug 25, 2022 10:18 am
- Forum: NEURON + Python
- Topic: Accessing Pointers instantiated through Python
- Replies: 6
- Views: 3126
Re: Accessing Pointers instantiated through Python
One of the problems with POINTER for implementing gap junctions is that it can't work for parallel MPI simulations where the source may be on a different machine than the target. And for multiple threads, it's more difficult to avoid race conditions. So for connecting pieces of a model together with...
- Mon Jul 11, 2022 8:30 pm
- Forum: Other questions
- Topic: h.finitialize() fails with a hocobj call error
- Replies: 5
- Views: 644
Re: h.finitialize() fails with a hocobj call error
Thank you for sending me the zip file with the code. In getting back into context, I did notice above that Could not find module 'C:\Users\jdami\Documents\Year 4\Lazzi\... Could you rerun after modifying the location of your files so that you eliminate the space in "Year 4". Changing to &q...
- Thu Jun 23, 2022 1:36 pm
- Forum: Optimization
- Topic: Why does same model produce different results on PC and MAC?
- Replies: 1
- Views: 413
Re: Why does same model produce different results on PC and MAC?
There are a number of ways that can happen ranging from double precision round off error differences in the pow function for mac and windows that then slowly accumulates in a chaotic model til a spiketime difference becomes apparent; to user error in handling randomness in mpi runs. The most robust ...
- Fri Jun 17, 2022 12:15 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: 'y' is a reserved word?
- Replies: 2
- Views: 477
Re: 'y' is a reserved word?
y cannot be the name of a STATE as that automatically declares y0 for the initial value. Unfortunately y0() is the Bessel function of the first order and is declared in math.h.
- Fri Jun 17, 2022 12:06 pm
- Forum: Other questions
- Topic: h.finitialize() fails with a hocobj call error
- Replies: 5
- Views: 644
Re: h.finitialize() fails with a hocobj call error
Running the model requires the 8.swc file. Please send that to michael.hines@yale.edu as a an attachment. Or zip file if there are are other files needed to run the model.
- Fri May 20, 2022 7:07 am
- Forum: MSWin
- Topic: NEURON 7.6.7 - Permission denied. Python not available.
- Replies: 21
- Views: 2958
Re: NEURON 7.6.7 - Permission denied. Python not available.
https://github.com/chlubba/PyPNS/pull/6 has been merged to master. The expectation is that all versions of NEURON will now produce the same results modulo nondeterministic use of random variables.
- Thu May 19, 2022 2:16 pm
- Forum: MSWin
- Topic: NEURON 7.6.7 - Permission denied. Python not available.
- Replies: 21
- Views: 2958
Re: NEURON 7.6.7 - Permission denied. Python not available.
When I use NEURON-8.1.0 with python3.9 on my linux desktop and install PyPNS from github and run python -i test.py I get (pypns-39) hines@hines-t7500:~/tmp/pypns$ python -i test.py 1 Creating axon 0 Myelinated fiber diameter: [0.97982345] Number of segments for myelinated axon: 2208 Starting simulat...
- Thu May 19, 2022 6:12 am
- Forum: MSWin
- Topic: NEURON 7.6.7 - Permission denied. Python not available.
- Replies: 21
- Views: 2958
Re: NEURON 7.6.7 - Permission denied. Python not available.
Yes, I got this message but for version 8.0. NEURON -- VERSION 7.6.7-3-gef035d9b 7.6 (ef035d9b) 2019-04-28 That confuses me.I can't reconcile the "version 8.0" with the 7.6.7 banner. Anyway, I suppose it is potentially possible for me to rebuild a version of 7.6.7 that has a python 3.8 in...
- Thu May 19, 2022 5:59 am
- Forum: MSWin
- Topic: NEURON 7.6.7 - Permission denied. Python not available.
- Replies: 21
- Views: 2958
Re: NEURON 7.6.7 - Permission denied. Python not available.
i.e. nrn-7.6.7.w64-mingw-py-37-36-35-27-setup.exe
Sorry, it was staring me in the face the whole time. That installer does not have an interface dll for Python3.8