1) I want to know how can I run parallelcomputetool menu from hoc?
2) I understand reading forum I can change number of threads using this command.
ex. if I want 2 threads --> ParallelComputeTool[0].nthread(2)
3) how can I change number of cpus without using refresh and GUI?
4) how to activate multisplite and busy waiting in that menu from hoc?
How to run "parallelcomputetool" menu from hoc?
Moderator: hines
-
- Site Admin
- Posts: 6300
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: How to run "parallelcomputetool" menu from hoc?
Please see http://www.neuron.yale.edu/neuron/stati ... ml#Threads and the hoc source code for the tool, which is in nrn/lib/hoc/parcom.hoc
Buy a new PC. If you mean "how do I discover how many useful cpus are in my PC" the answer is to create an instance of the ParallelContext class and then call pc.thread_how_many_proc() (described at the URL listed above).how can I change number of cpus