Where does "parsim" send my model files and attached files?
14 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2021 年 12 月 23 日
編集済み: MathWorks Support Team
2024 年 1 月 22 日
I am curious how "parsim" transfers the necessary files to the workers. Does it make a copy of each file and send it to the workers directory?
採用された回答
MathWorks Support Team
2024 年 1 月 22 日
編集済み: MathWorks Support Team
2024 年 1 月 22 日
For both local pools and clusters, "parsim" will create a temporary working folder for each worker. In local pools this is usually in the directory returned from ">>tempdir".
For local pools, dependent and attached files are added to the path of the workers but not typically copied to the worker's working directory. This is because all workers share the same file system thus meaning a copy for each worker is inefficient.
For external clusters, "parsim" will transfer the necessary files just once from the client to the remote cluster. Then it will either add the shared file location to each worker's path or create a copy of each file for each worker depending on the cluster.
View the article below for more information on how to see the workers file locations and example of where those might be on a local and external pool.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Parallel Server についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!