Attached Files to Parallel Pool, MDCS and Local Cluster, Compiled and Uncompiled

2 次查看(过去 30 天)
I am having some strange issues with workers being able to find *.m files and *.mexw64 files.
While on the local cluster, compiled and uncompiled: Some classes were not loaded, probably because they were not explicitly called (loaded preexisting classes). This was easily fixed by calling AddAttachedFiles.
While on MDCS, however, I randomly start getting errors that it cannot find functions from .m files or .mex files and to call AddAttachedFiles. However, when I call add attached files, I continue to get the same error. Restarting the parallel pool, matlab, the compiled application, and calling updateAttachedFiles doesn't seem to help. Then I will leave and the next day and it will work file...
Right now I have both the compiled version and the uncompiled version on the same computer. the uncompiled version works fine, but I'm get errors after restarting the parallel pool in the compiled version.
Do you guys know of any documentation that explains how the parallel pool finds and attaches files? and also what is going on here?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Parallel Server 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by