Search found 8 matches

by mattnolan
Thu Oct 01, 2020 4:12 am
Forum: UNIX/Linux
Topic: Configure fonts, etc in GUI
Replies: 2
Views: 458

Re: Configure fonts, etc in GUI

Hi Ted, thanks for the quick answer. I can't find a file in my installation called nrn.defaults. I'm using a version that's installed via pip3 and called from the Python command line. I'll see if I can figure it out from how it sets up the GUI...
by mattnolan
Wed Sep 30, 2020 4:25 pm
Forum: UNIX/Linux
Topic: Configure fonts, etc in GUI
Replies: 2
Views: 458

Configure fonts, etc in GUI

Hi, I'm planning to use Neuron for some teaching and want to make the fonts in the GUI larger. It's been a while since I used the GUI and I can't find the configuration files. I've found some older forum posts that appear to be redundant. I've also played around with ivoc_style(). This appears to ex...
by mattnolan
Mon Jun 29, 2009 4:05 am
Forum: UNIX/Linux
Topic: nrnivvmodel compile error
Replies: 3
Views: 2293

Re: nrnivvmodel compile error

Thanks. That worked!
by mattnolan
Thu Jun 25, 2009 2:27 pm
Forum: UNIX/Linux
Topic: nrnivvmodel compile error
Replies: 3
Views: 2293

nrnivvmodel compile error

I'm trying to compile mod files with nrnivmodl (Neuron version 7) running on fedora 10 with gcc4.3.2.

I receive the following error message:

/usr/bin/ld: cannotfind -lncurses
make: *** [libnrnmech.la] Error 1

I'm new to fedora so may be missing something simple. Any suggestions?

Thanks,

Matt
by mattnolan
Tue Mar 10, 2009 11:14 am
Forum: Other questions
Topic: time measurements
Replies: 6
Views: 2508

Re: time measurements

Thanks. I've cobbled something together using startsw() and realtime.
by mattnolan
Fri Mar 06, 2009 10:42 am
Forum: Other questions
Topic: time measurements
Replies: 6
Views: 2508

Re: time measurements

stopsw() gives me a value of zero immediately after a call to run() that takes several minutes to complete. This makes me think the stopwatch is reset towards the end of the run() call.

Not sure what to try next. Am I missing something?

Thanks,

Matt
by mattnolan
Fri Mar 06, 2009 6:00 am
Forum: Other questions
Topic: time measurements
Replies: 6
Views: 2508

Re: time measurements

Thanks for the pointer.

startsw() / stopsw() appears to be reset on exit from run(). Is there a way to switch this off?


Example code:
startsw()
for j=0, 10000000 {x = sin(.2)}
print stopsw()


startsw()
for j=0, 10000000 {x = sin(.2)}
run()
print stopsw()
by mattnolan
Thu Mar 05, 2009 11:45 am
Forum: Other questions
Topic: time measurements
Replies: 6
Views: 2508

time measurements

How do I accurately access the actual time from within neuron? E.g. To use as a timestamp or to benchmark simulation times.

Thanks,

Matt