Thanks again for all your help before. My new question will be a little bit long, I will tried my best to describe my question clearly:
Recently, I tried to run a simulation with clumps in WOO. There were around 2000 clumps(100000 spheres) in the simulation. Then I found the simulation is very slow (spend 2 days run-time to finish 4 seconds simulation, and my case need to simulate 100 seconds, that means I need 50 days to finish one simulation).
(1)Firstly, I tried to find hotspots in my simulation using the timing function. I added "import woo.timing" and "woo.Scene.timingEnabled = True" into my python input file. and ran the simulation for a while, paused the simulation, then typed " woo.timing,stats()", I got this, it did not show me the time information I planed to get. did I have some mistakes during I used timing function? Thanks!
(2) Before this week, I ran all my simulations by typing "woo inputfile.py". Yesterday, I found I can define the number of CPU cores to use for simulation( https://woodem.org/user/running.html?highlight=run ). It is said "Woo is parallelized using OpenMP, and runs on 4 cores by default", is that ture? So parallelized computaiton for WOO depends on the number of cores(not the number of threads)? Here are the system information of my computers, please have a look at it. Do you think they are good enough for speeding up my simulation? If I purchase a new processer, do you have any recommendations? should I spend money on the number of "cores", or should i spend money on the number of "threads"?
(3) I added "import wooMain" , "wooMain.options.ompThreads=4" and "wooMain.options.debug=True", and try to run the simulation by "woo [-j4] inputfile.py", but I got this. Is there any mistake for this result? How can I run simulation using OpenMP to improve the run time? Should I need to change the input file a lot? Thanks!
Sorry about so many questions. Thank you very much!