MPI through mex and then MexCallMatlab
1 回表示 (過去 30 日間)
古いコメントを表示
Hi All
I have a fortran program using MPI for parallel calculations. I have created a mex file that is called from a matlab object, and I use a mexCallMatlab call to interrogate a Matlab function. My problem is that the mexCallMatlab part really slows everything down. I don't want go down the route of compiling the matlab function into C (yet), hence was wondering if I can use the parallel capabilities.
My fortran function can use MPI for parallel calculations, and now I am not sure how I can still use the parallel capability, if at all. Do I need to open a matlabpool in Matlab as well for the mexCallMatlab function part?
I have never tried to do this. Any help would be appreciated.
Etienne
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!