How to set LD_LIBRARY_PATH for local workers
이전 댓글 표시
I have the Distributed Computing Toolbox which I am using with the builtin 'local' 12 worker profile.
How can I set LD_LIBRARY_PATH for those workers?
채택된 답변
추가 답변 (1개)
Sanket Mishra
2014년 7월 10일
Use below sequence of commands to set LD_LIBRARY_PATH for 12 workers:
parpool(12);
pctRunOnAll setenv('LD_LIBRARY_PATH',getenv('PATH'));
getenv('LD_LIBRARY_PATH');
delete(gcp);
You require parallel computing toolbox to be installed on your machine. I tested this on MATLAB R2014a to be working as expected.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!