I don't think so; they are written to OpenSim's working directory. I think you need to run from a different directory on each thread.Is there a way to control where these files are output?
Unising Matlab with OpenSim API in High Performance Computing clusters
- Thomas Uchida
- Posts: 1789
- Joined: Wed May 16, 2012 11:40 am
Re: Unising Matlab with OpenSim API in High Performance Computing clusters
- Tom Augenstein
- Posts: 38
- Joined: Thu May 03, 2018 8:19 am
Re: Unising Matlab with OpenSim API in High Performance Computing clusters
Ok, I see. I just did that and it worked. Thanks
Re: Unising Matlab with OpenSim API in High Performance Computing clusters
Hello,
I have the same problem in parallel processing with opensim API. how can i run the code from different directories in each trial?
i used the below code but i have the same issue yet.
parfor i=1:2
mkdir(['P:\...\a' int2str(i) ]);
cd (['P:\...\a' int2str(i) ]);
import org.opensim.modeling.*
osimModel = Model();
osimState = osimModel.initSystem();
% Rest of your code
end
thanks
zohreh
I have the same problem in parallel processing with opensim API. how can i run the code from different directories in each trial?
i used the below code but i have the same issue yet.
parfor i=1:2
mkdir(['P:\...\a' int2str(i) ]);
cd (['P:\...\a' int2str(i) ]);
import org.opensim.modeling.*
osimModel = Model();
osimState = osimModel.initSystem();
% Rest of your code
end
thanks
zohreh