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

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?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 22 Jan 2024
Modifié(e) : MathWorks Support Team le 22 Jan 2024
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.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by