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!