Is there a built-in function to automatically transfer the output files created by a worker to the client system as part of a job using Parallel Computing Toolbox 4.1 (R2009a)?
1 view (last 30 days)
Show older comments
I am using Parallel Computing Toolbox 4.1 (R2009a) to execute tasks on a cluster of workers. Each of the tasks generates MAT files and text files. However, these files are created locally on the workers. I would like to be able to automatically transfer these files back to the client system once the task has completed preferably as part of the FinishedFcn callback.
I would like to know if there is some functionality in Parallel Computing Toolbox to automatically transfer generated result files from the worker to a target directory on the client system. Ideally, this would behave just like job results.
Accepted Answer
MathWorks Support Team
on 31 Jul 2009
The ability to transfer files automatically from the worker to the client system is not available in the Parallel Computing Toolbox.
To work around this issue, you can try the following:
1. Use the MOVE or COPY command as part of the FinishedFcn callback.
2. Create the files at a location which is accessible to both the workers and the client.
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Parallel Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!