Hi, new forum member here.
I am running neuron version 8.2.2 on Ubuntu, installed using pip. When I turn on the coreneuron feature and train my models using the ParallelContext pc.psolve(h.tstop) method it prints a lot of verbose output to the screen, including some parameters, memory usage, a progress bar, etc.
My question is, is there some way to suppress this extra output?
I've tried redirecting pythons stdout and stderr to /dev/null (https://stackoverflow.com/questions/679 ... out-stderr) during the call to pc.psolve() but that didn't seem to work.
Thanks in advance for any help you can provide.
CoreNeuron verbose output
Moderator: hines
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: CoreNeuron verbose output
Try inserting
coreneuron.verbose = 0
after
coreneuron.enable = True
You might glean some other useful stuff from
https://github.com/neuronsimulator/nrn/ ... _direct.py
coreneuron.verbose = 0
after
coreneuron.enable = True
You might glean some other useful stuff from
https://github.com/neuronsimulator/nrn/ ... _direct.py
Re: CoreNeuron verbose output
Ok, thanks that works.
I had tried h.verbose = False and apparently stopped thinking after that.
I had tried h.verbose = False and apparently stopped thinking after that.
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: CoreNeuron verbose output
Actually, h.verbose could be an interesting feature.
Just out of curiosity: what performance boost are you getting?
Just out of curiosity: what performance boost are you getting?