Parallel computing code: it works but not when compiled -- why? how to troubleshoot?
古いコメントを表示
I have code that submits jobs to a cluster and runs fine when launched from inside a Matlab session. The same code, when compiled, runs into problems during execution. Why would it run differently when compiled? How to troubleshoot?
What I compile using mcc is a script that calls functions I've written (in the same directory), collects their outputs, and saves it to a file. Jobs get submitted to the cluster from within the functions. The job scheduler is of type 'lsf,' not the built-in Matlab Job Scheduler (MJS)).
Compiled serial Matlab code has run fine on this cluster, but this is the first time I've tried to run compiled parallelized code. To compile I'm doing: mcc -R -nodisplay -R -nosplash -C -m myFile.m
What additional information would be relevant? Any guidance/suggestions would be much appreciated!
Thanks in advance,
2 件のコメント
Walter Roberson
2012 年 10 月 7 日
Last I knew, scripts could not be compiled (but functions can be), but it could be that that limitation has been lifted.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB Parallel Server についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!