Search found 48 matches

by Brian Umberger
Mon Feb 05, 2024 8:12 pm
Forum: OpenSim Moco
Topic: Multicore parallel computing with Moco
Replies: 8
Views: 3260

Re: Multicore parallel computing with Moco

Hi Lars, Thanks for these comments. We had searched without success for documentation on exactly how CasADi handles the work allocation across threads, and I guess we should have gone straight to the source code. You are right that by using a typical mesh interval progression of ..., 10, 25, 50, ......
by Brian Umberger
Mon Jan 29, 2024 11:08 am
Forum: OpenSim Moco
Topic: Same code, different solutions on different computers?
Replies: 8
Views: 2247

Re: Same code, different solutions on different computers?

Hi All, Thanks for this interesting discussion. We have also recently been comparing the results obtained on different computers as we work on moving some of our projects onto our university's computer cluster. We likewise find different results on different computers. I wanted to add that in our ex...
by Brian Umberger
Mon Oct 02, 2023 9:38 am
Forum: OpenSim Moco
Topic: Multicore parallel computing with Moco
Replies: 8
Views: 3260

Re: Multicore parallel computing with Moco

Thanks, Nick!

And Ross, I don't know... that sounds like a pretty good machine to me for running several simultaneous Moco simulations, each using 4-6 cores!

Brian
by Brian Umberger
Fri Sep 29, 2023 7:42 pm
Forum: OpenSim Moco
Topic: frame rate of my solution?
Replies: 2
Views: 606

Re: frame rate of my solution?

Hi David, Are you using the Hermite-Simpson transcription scheme? If so, that results in 2n+1 grid points. See here: https://simtk.org/api_docs/opensim/api_docs/mocotheoryguide.html#mocohermitesimpsontheory "With Hermite-Simpson transcription, we have n+1 mesh points and n mesh intervals like Trapez...
by Brian Umberger
Thu Sep 28, 2023 10:20 pm
Forum: OpenSim Moco
Topic: Multicore parallel computing with Moco
Replies: 8
Views: 3260

Re: Multicore parallel computing with Moco

Hi David, I think your summary of our results is accurate. I had not seen the GPU project you linked to. We can't say for certain based on our results, but with the current framework I'm doubtful GPU computing would be fruitful. Even in the best case the speed-up, while certainly beneficial, was far...
by Brian Umberger
Wed Sep 27, 2023 11:15 am
Forum: OpenSim Moco
Topic: Multicore parallel computing with Moco
Replies: 8
Views: 3260

Multicore parallel computing with Moco

Hi All, Over the past couple of years, there have been some discussions about parallel computing in Moco in this forum. Alex Denton, a former PhD student in our group (now a postdoc at Oregon), just published a paper that investigates multicore parallel speed-up in Moco. In the paper, she addresses ...
by Brian Umberger
Sat Jun 05, 2021 2:59 pm
Forum: OpenSim Moco
Topic: Is MOCO CPU agnostic?
Replies: 16
Views: 2775

Re: Is MOCO CPU agnostic?

Hi Carlos, That is a cool rowing simulation. I will preface my reply with two caveats: 1) I do not have nearly as much experience with Python as I do with Matlab, and 2) If your laptop processor only has 2-4 cores, as is often the case, you will be limited as to what you can do with parallelization....
by Brian Umberger
Wed Jun 02, 2021 4:36 pm
Forum: OpenSim Moco
Topic: Is MOCO CPU agnostic?
Replies: 16
Views: 2775

Re: Is MOCO CPU agnostic?

Hi All, I was busy with the end of the semester and some admin duties, so I missed this interesting thread started by Pasha a few weeks ago. I can make two small additions. One of my PhD students, Alex Denton, has an abstract at the ASB meeting this summer on multicore performance in Moco using the ...
by Brian Umberger
Tue Apr 13, 2021 3:45 pm
Forum: OpenSim Moco
Topic: How to understand the terms in out.log?
Replies: 2
Views: 907

Re: How to understand the terms in out.log?

Hi Simon, This may not answer all of your questions, but the COIN-OR Foundation website has lots of relevant information about IPOPT. Here is the full list of IPOPT options: https://www.coin-or.org/Bonmin/option_pages/options_list_ipopt.html On that page if you click on the "Convergence" options lin...
by Brian Umberger
Sat Apr 10, 2021 3:13 pm
Forum: OpenSim Moco
Topic: Matlab version of example2DWalking with metabolic cost minimization
Replies: 20
Views: 5208

Re: Matlab version of example2DWalking with metabolic cost minimization

Here is a follow-up. If you would like to add a breakdown of the individual terms in the overall objective function to this Matlab code, similar to the output from earlier versions of Moco, here is one way to do it. Add the following code after solution = study.solve(). % Breakdown of terms in objec...