Where does "parsim" send my model files and attached files?

14 ビュー (過去 30 日間)
MathWorks Support Team
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
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 件)

カテゴリ

Help Center および File ExchangeMATLAB Parallel Server についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by