MPI through mex and then MexCallMatlab
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!