Running CMC with Parallel Computing Toolbox Matlab

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Sepehr Ramezani
Posts: 35
Joined: Tue Nov 05, 2019 2:02 pm

Running CMC with Parallel Computing Toolbox Matlab

Post by Sepehr Ramezani » Tue Jun 02, 2020 10:55 am

Hi everyone!
Is it possible to use the Parallel Computing Toolbox of Matlab to speed up CMC calculation?
I have a large dataset of different experiments and the time of each experiment is more than 10 seconds. I use Matlab script to run CMC and it takes a lot of time. Is it possible to use the Parallel Computing Toolbox of Matlab or other methods to distribute CMC calculation on all cores of my CPU or GPU?
Thank you.

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: Running CMC with Parallel Computing Toolbox Matlab

Post by Carmichael Ong » Tue Jun 02, 2020 2:48 pm

I haven't tried using the toolbox for this, but I imagine it could work. One quick way without writing extra code is to call cmc.exe from the command line (assuming you have a bunch of setup files ready), but open up multiple command lines and run them each at the same time. The OS will typically distribute each of these to different threads in my experience.

OpenSim can't use the GPU for calculations.

POST REPLY