Search found 18 matches

by fietkiewicz
Thu Feb 22, 2024 7:41 am
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

A terminal window does open but does not offer a prompt for commands: <stdin>:149: SyntaxWarning: invalid escape sequence '\.' <stdin>:197: SyntaxWarning: invalid escape sequence '\.' Attempt to fix nrniv failure using: eval "`mk_nrnpyenv.sh`" failed. can't open DISPLAY nrngui exit status ...
by fietkiewicz
Wed Feb 21, 2024 9:40 pm
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

I had some success from the Mac terminal by setting the DISPLAY env var: export DISPLAY=:0 That enables me to run nrngui and neurondemo from the terminal when the XQuartz app is running. It does not enable me to launch the .app versions through the OS GUI. Note that the default value of DISPLAY was ...
by fietkiewicz
Tue Feb 20, 2024 5:07 pm
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

Yes, I can start nrngui from an Xquartz terminal (started from the Xquartz app menu). I hadn't tried this correctly before because, for some reason, I was always typing "nrniv" from the command line in both the Xquartz terminal and Mac terminal. But either way, nrngui does not work for me ...
by fietkiewicz
Tue Feb 20, 2024 1:11 pm
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

On my end, no luck yet after reinstalling Xquartz. The latest version is from January 2023 (same version that I already had installed), but I uninstalled/reinsntalled and still get the same error with xeyes. There are several threads out there on this kind of Xquartz error, but I haven't found any t...
by fietkiewicz
Tue Feb 20, 2024 12:32 pm
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

Ah, there's a clue. Doesn't work from Mac terminal, giving the following error:

Error: Can't open display: /private/tmp/com.apple.launchd.twr4Ugscqx/org.xquartz:0

But it does work from within an Xquartz terminal. I guess I'll try updating/reinstalling Xquartz next.
by fietkiewicz
Tue Feb 20, 2024 11:56 am
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

Re: can't open DISPLAY

Thanks, but unfortunately it didn't work. Using Mac terminal, I still get the same error. Opening nrngui.app through Applications/NEURON produces this version of the error: <stdin>:149: SyntaxWarning: invalid escape sequence '\.' <stdin>:197: SyntaxWarning: invalid escape sequence '\.' Attempt to fi...
by fietkiewicz
Mon Feb 19, 2024 9:52 pm
Forum: OS X
Topic: can't open DISPLAY
Replies: 14
Views: 1553

can't open DISPLAY

I recently installed NEURON on a new computer and am trying to run nrniv, but get the error "can't open DISPLAY". If I run it from an XQuartz terminal, I get an "oc" prompt but no GUI. Environment details are: Mac M2 with Sonoma 14.0, XQuartz 2.8.5, installed NEURON via pip3. Typ...
by fietkiewicz
Thu Jun 23, 2022 1:02 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: 'y' is a reserved word?
Replies: 2
Views: 7759

Re: 'y' is a reserved word?

Thanks for explaining.
by fietkiewicz
Mon Jun 13, 2022 5:54 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: 'y' is a reserved word?
Replies: 2
Views: 7759

'y' is a reserved word?

Is the following invalid because 'y' is a reserved word? NEURON { SUFFIX test5 } STATE { y } BREAKPOINT { SOLVE states METHOD derivimplicit } INITIAL { y = 10.0 } DERIVATIVE states { y' = 0 } I get the following compilation error: test5.c:109:16: error: redefinition of 'y0' as different kind of symb...
by fietkiewicz
Mon Jun 13, 2022 3:45 pm
Forum: NEURON + Python
Topic: Minor typo in tutorial
Replies: 1
Views: 9203

Minor typo in tutorial

Very minor typo in the tutorial "Scripting NEURON basics": https://neuron.yale.edu/neuron/docs/scripting-neuron-basics After the section named "Step 8: Plot the results", we find "Step 8: Saving and loading results". It appears the last section should be "Step 9&qu...
by fietkiewicz
Thu Jun 09, 2022 10:52 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Does POINTER make NET_RECEIVE slower?
Replies: 9
Views: 12007

Re: Does POINTER make NET_RECEIVE slower?

Thanks, Ted! Yes, your version is very faithful to my original. Thanks for taking the time to tweak the logistic parameters and make them work with the original parameters for 'b'. Much nicer than my rough demo.
by fietkiewicz
Tue Jun 07, 2022 12:11 pm
Forum: OS X
Topic: Bad xdarwin link in troubleshooting tip
Replies: 1
Views: 11659

Bad xdarwin link in troubleshooting tip

There's an outdated link in the MacOS installation tips (https://neuron.yale.edu/neuron/download). This is under "Troubleshooting the macOS installer", "Problem: No gui when NEURONDEMO is launched." The link for XDarwin appears to be undesirable. For me, it redirects to a lovely ...
by fietkiewicz
Mon Jun 06, 2022 6:40 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Does POINTER make NET_RECEIVE slower?
Replies: 9
Views: 12007

Re: Does POINTER make NET_RECEIVE slower?

Thanks, Ted! Yes, the squashing function does the trick to enable variable time step. As you pointed out, it's awkward because things must be tailored just right. As a proof of concept, I flipped the sign on the driving force (+b) and scaled it considerably (b0 = 100). For example: NEURON { POINT_PR...
by fietkiewicz
Thu Jun 02, 2022 10:49 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Does POINTER make NET_RECEIVE slower?
Replies: 9
Views: 12007

Re: Does POINTER make NET_RECEIVE slower?

Ted, if it helps, I'll try to condense me questions and recent reply. The questions are: 1. Assuming a hard if-then reset is absolutely necessary, is the best practice to generally ensure the integrator is using fixed time-step? And if so, is it reasonable to use an if statement in the BREAKPOINT bl...
by fietkiewicz
Wed Jun 01, 2022 12:13 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Does POINTER make NET_RECEIVE slower?
Replies: 9
Views: 12007

Re: Does POINTER make NET_RECEIVE slower?

Yes, and yes. It's a somewhat arbitrary test of enforcing boundary limits on a state variable. The variable 'a' could possibly mimic the average firing rate of a neuronal population driven by some other input. In that interpretation, the firing rate should never be negative.