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.
1 件のコメント
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!