Search found 1690 matches

by hines
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: 14940

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...
by hines
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: 14940

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...
by hines
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: 22948

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.
by hines
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: 22948

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...
by hines
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: 22948

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.
by hines
Thu Aug 25, 2022 10:18 am
Forum: NEURON + Python
Topic: Accessing Pointers instantiated through Python
Replies: 6
Views: 17282

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...
by hines
Mon Jul 11, 2022 8:30 pm
Forum: Other questions
Topic: h.finitialize() fails with a hocobj call error
Replies: 5
Views: 8566

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...
by hines
Thu Jun 23, 2022 1:36 pm
Forum: Optimization
Topic: Why does same model produce different results on PC and MAC?
Replies: 1
Views: 7864

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 ...
by hines
Fri Jun 17, 2022 12:15 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: 'y' is a reserved word?
Replies: 2
Views: 7983

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.
by hines
Fri Jun 17, 2022 12:06 pm
Forum: Other questions
Topic: h.finitialize() fails with a hocobj call error
Replies: 5
Views: 8566

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.
by hines
Fri May 20, 2022 7:07 am
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39287

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.
by hines
Thu May 19, 2022 2:16 pm
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39287

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...
by hines
Thu May 19, 2022 6:12 am
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39287

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...
by hines
Thu May 19, 2022 5:59 am
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39287

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
by hines
Wed May 18, 2022 9:17 pm
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39287

Re: NEURON 7.6.7 - Permission denied. Python not available.

When you temporarily installed the most recent version of NEURON, were you able to successfully launch
nrniv -python
from a command prompt?